zzangxx Posted March 13, 2011 Share Posted March 13, 2011 (edited) Hello, I am trying to get the SDF (signed distance field) from a collision object. I found the class GU_SDF and GU_SDFParms. These classes are related to the isooffset node. However, I cannot find the way to set up(GU_SDFParms) and compute the SDF from an input node (for example sphere node). Thanks in advance and I am looking forward to your response. collision = inputGeo(2, context); if (collision) { myCollision_SDF = new GU_SDF myCollision_SDF->build(collision, SDF_parms); } When I do like this, SDF_parms don't have current prameters data. Edited March 16, 2011 by zzangxx 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.