0

Loading large mesh or many model3d

Anonymous 5 years ago 0
This discussion was imported from CodePlex

behnam263 wrote at 2014-06-29 06:08:

HI
is there any thing like field of view for camera?
i mean loading meshes if camera look into them like "unity4"
and other meshes do not render when they are not in front of
camera? it is a big issue for controlling ram and cpu usage.

objo wrote at 2014-07-02 13:13:

Yes, see http://msdn.microsoft.com/en-us/library/system.windows.media.media3d.perspectivecamera.fieldofview(v=vs.110).aspx
Sorry, occlusion culling is not implemented in this library. I am not sure if this will work with the WPF 3D model, changing the visual model may be expensive!