NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxHeightFieldTessFlag Struct Reference

NVIDIA PhysX SDK 3.4 API

PxHeightFieldTessFlag Struct Reference
[Geomutils]

Determines the tessellation of height field cells. More...

#include <PxHeightFieldFlag.h>

List of all members.


Public Types

enum  Enum { e0TH_VERTEX_SHARED = (1 << 0) }

Detailed Description

Determines the tessellation of height field cells.

See also:
PxHeightFieldDesc.format PxHeightFieldDesc.samples

Member Enumeration Documentation

Enumerator:
e0TH_VERTEX_SHARED  This flag determines which way each quad cell is subdivided.

The flag lowered indicates subdivision like this: (the 0th vertex is referenced by only one triangle)

heightfieldTriMat2.PNG

		+--+--+--+---> column
		| /| /| /|
		|/ |/ |/ |
		+--+--+--+
		| /| /| /|
		|/ |/ |/ |
		+--+--+--+
		|
		|
		V row
		

The flag raised indicates subdivision like this: (the 0th vertex is shared by two triangles)

heightfieldTriMat1.PNG

		+--+--+--+---> column
		|\ |\ |\ |
		| \| \| \|
		+--+--+--+
		|\ |\ |\ |
		| \| \| \|
		+--+--+--+
		|
		|
		V row
		

See also:
PxHeightFieldDesc.format PxHeightFieldDesc.samples


The documentation for this struct was generated from the following file:



Copyright © 2008-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com