Gangs Posted August 21, 2010 Share Posted August 21, 2010 I writing some volume SOP Node. GU_PrimVolume *volumeGdp = (GU_PrimVolume *)GU_PrimVolume::build(gdp); UT_VoxelArrayWriteHandleF voxelHandle = volumeGdp->getVoxelWriteHandle(); voxelHandle->size(global_grid.grid_x, global_grid.grid_y, global_grid.grid_z); ....... voxelHandle->setValue( x, y, z, phi); ....... blah blah... this code is working very well. but houdini is down when i delete volume primitive using this code. gdp->clearAndDestroy(); how can i delete volume primitive..? poly primitive is deleted very well. Quote Link to comment Share on other sites More sharing options...
Vinz9 Posted March 14, 2011 Share Posted March 14, 2011 Hi, did you find a solution ? I'm having the same problem. Vincent Quote Link to comment Share on other sites More sharing options...
Vinz9 Posted March 15, 2011 Share Posted March 15, 2011 (edited) I've attached the code posing problem. edit : found the problem with the help of the SESI mailing list (thanks Michael and Andy!). The problem lies with my Visual Studio project, it works fine using hcustom... hdkvolume.zip Edited March 15, 2011 by Vinz9 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.