Goku [Orange GI]
0 / 2472
|Devion Slipping Away||
spyxter wrote :Zeth wrote :Maybe this 2.5K 'maximum impact' means its the most polys we'll be able to see at a moment?
Zeth wrote :Maybe this 2.5K 'maximum impact' means its the most polys we'll be able to see at a moment?
|Alex ZEQ2 Effects Programmer||
Well, the easiest way to cut down the amount of triangles drawn at a time that I can think of is to simply remove single-sided polygons who's normals are facing away from the camera from the rendering queue. Graphics renders aren't intelligent, so if you just throw a straight scene full of meshes at one it'll try to render every single polygon, whether it's hidden from view or not, leaving it up to the coders to filter out what shouldn't be rendered from the scene, the simplest being frustrum culling and visibility testing on objects. Typically, even if only a small part of an object is visible the whole mesh gets rendered as full per-polygon visibility testing is quite an expensive task, however I'd expect a polygon normal test to give quite a reasonable perforance trade off for the potential cut in polygons.