Polygon height

Blitz3D Forums/Blitz3D Programming/Polygon height

Neo Genesis10(Posted 2004) [#1]
Does anyone have a reasonably fast method of finding out what the height of a particular polygon is in a model regardless of the models rotation? By height I mean its equivalent Y coordinate if it were a model in its own right either global or relative. I want a routine which can check the height of particular polygons in a model and move them in a particular direction. The speed of which depends very much on the height of the polygons themselves.


Odds On(Posted 2004) [#2]
The best way would probably be to loop through all the vertices and use TFormPoint to get the global position of each vertex. Then you would just have to store which one was the highest.