gustav Posted November 20, 2009 Share Posted November 20, 2009 (edited) Hi. I want to create a procedural cloud inside a volume. My idea is to use a function something like this: if( (voxelPosition + noise(voxelPosition)) < 0.5 ) density = 1; else density = 0; I figure I want create a Volume SOP that a connect to a Volume VOP, but I can't get it to work. Is this the right way of doing it? Thanks! Edited November 20, 2009 by gustav Quote Link to comment Share on other sites More sharing options...
Peter Quint Posted November 21, 2009 Share Posted November 21, 2009 Take a look at an isosurface node (with volume generation enabled - it generates surfaces by default). The variables $X, $Y, $Z are your voxel position. Hi. I want to create a procedural cloud inside a volume. My idea is to use a function something like this: if( (voxelPosition + noise(voxelPosition)) < 0.5 ) density = 1; else density = 0; I figure I want create a Volume SOP that a connect to a Volume VOP, but I can't get it to work. Is this the right way of doing it? Thanks! Quote Link to comment Share on other sites More sharing options...
gustav Posted November 21, 2009 Author Share Posted November 21, 2009 (edited) Thanks Peter, works great! I also found your video tutorials on volumes on vimeo, exelent resource on houdini. Thanks again. Take a look at an isosurface node (with volume generation enabled - it generates surfaces by default). The variables $X, $Y, $Z are your voxel position. Edited November 21, 2009 by gustav 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.