This topic is now archived and is closed to further replies.


Mesh clipping

Recommended Posts

Prototype    2014
I''m relatively new to D3D and currently exploring all of its features. I''ve set up a basic 3D scene from scratch, with a skybox, a textured and lightmapped floor quad (single pass), a tire wheel and an instance of the tiger mesh, which I draw multiple times in different places using DrawSubSet. So far, so good. It works flawlessly and I can fly around with my Camera. 1) Subsequent calls to DrawSubSet seem to rapidly decrease the framerate, although the polycount is low and there are no texture or state changes. Am I doing something wrong or should I use another technique, like using a vertexbuffer and manipulate the vertices myself? 2) I notice a dramatic performance hit when the meshes go out of the viewing frustum. Seems like it takes more time not to render the meshes. Can anybody explain this behaviour? I don''t do any frustum clipping or something right now.

Share this post

Link to post
Share on other sites