khedoros / uw-engine

Work on Underworld engine
Other
6 stars 0 forks source link

Fancy 3D model faces aren't handled. #2

Open khedoros opened 7 years ago

khedoros commented 7 years ago

Since I'm writing in raw OpenGL, I get some fun like triangulation of concave faces and faces with holes. Those seem to be marked by the object nodes 0x40 and 0x44 (although I haven't investigated the difference between the two, each seems to set face rendering flags in the original code).

I've got some ideas for an appropriate triangulation algorithm, but none that I'm sure enough of yet to actually write.