monomind Posted December 19, 2017 Share Posted December 19, 2017 Is it possible to get zdepth within the point vop directly? I currently calculate the distance from each point to the provided camera, but this seems to be very slow. When rendering openGL, for instance, I can render out a zdepth in no time, so I blieve the information is already there, just not sure how to reach it through VOP Quote Link to comment Share on other sites More sharing options...
Guest tar Posted December 19, 2017 Share Posted December 19, 2017 8 minutes ago, monomind said: When rendering openGL, for instance, I can render out a zdepth in no time, so I blieve the information is already there, just not sure how to reach it through VOP that Zbuffer is a low res 12bit(?) z buffer calculated on the GPU. Nothing to do with a VOP. Quote Link to comment Share on other sites More sharing options...
monomind Posted December 19, 2017 Author Share Posted December 19, 2017 That would be sufficient for me, if, somehow it's possible to get that information (per point) into VOP Distance calculation per point is too costy to do per-frame, with too many points --- very slow.. Any ideas that would speed this process up would also benefit me highly! Quote Link to comment Share on other sites More sharing options...
Guest tar Posted December 19, 2017 Share Posted December 19, 2017 Haven't heard you can pull back GL info into Houdini. It's a one way street afaik. Quote Link to comment Share on other sites More sharing options...
monomind Posted December 19, 2017 Author Share Posted December 19, 2017 Doesn't have to be exactly that - Any way to get an "active camera to point distance" info would be sufficient Quote Link to comment Share on other sites More sharing options...
f1480187 Posted December 20, 2017 Share Posted December 20, 2017 It took 10 seconds to compute distance between @P and some vector for 1 000 000 000 of points in Point Wrangle. Did you try to close viewport and geometry spreadsheet? They can be very slow. Quote Link to comment Share on other sites More sharing options...
monomind Posted December 22, 2017 Author Share Posted December 22, 2017 10 seconds is ca comparably long time to have (almost) real time preview of what's going on. I need to see what's going on through the camera that's going to be rendered, otherwise, what's the point of all this? 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.