shadowst17 Posted June 21, 2019 Share Posted June 21, 2019 Hi Guys, i'm trying to optimise my viewport by removing any environment geo outside the cameras frustum. My current method has been to create the cameras cone of view and have it take all the points, promote them to prims with maximum value set. This works well in most cases but with geometry that has a low poly count already where there's not a single point from that primitive visible in the camera but spans the entire camera width I need a method that detects the primitives rather than the point.a Any suggestions would be greatly appreciated. Quote Link to comment Share on other sites More sharing options...
Whatsinaname Posted June 21, 2019 Share Posted June 21, 2019 You can use the Volume SOP > From Camera to create a volume out of your camera view frustrum and then do a quick check if something is inside the volume (e.g. create group from Volume and delete everything inside that group). Quote Link to comment Share on other sites More sharing options...
shadowst17 Posted June 21, 2019 Author Share Posted June 21, 2019 3 hours ago, Whatsinaname said: You can use the Volume SOP > From Camera to create a volume out of your camera view frustrum and then do a quick check if something is inside the volume (e.g. create group from Volume and delete everything inside that group). Wouldn't that still have the same issue as i can only group by volume by points which wouldn't be visible inside the volume and is why I needs it to look for the primitive? Quote Link to comment Share on other sites More sharing options...
Whatsinaname Posted June 21, 2019 Share Posted June 21, 2019 You just need a more advanced intersection test, checking if any particular primitive or edge is intersecting the volume. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.