kgoossens Posted October 7, 2009 Share Posted October 7, 2009 Hi everybody, Is it possible to have parameters of isooffset being controlled using attributes? For example I would like to have $TY controlling the offset parameter. In most cases if I cannot access such a parameter directly I use a foreach, but in this case since the geometry is completely rebuild I wouldn't know how to solve it. Cheers Quote Link to comment Share on other sites More sharing options...
SpencerL Posted October 7, 2009 Share Posted October 7, 2009 Hi everybody, Is it possible to have parameters of isooffset being controlled using attributes? For example I would like to have $TY controlling the offset parameter. In most cases if I cannot access such a parameter directly I use a foreach, but in this case since the geometry is completely rebuild I wouldn't know how to solve it. Cheers Havent tested it, but I dont think you can use a per-point variable such as $TY to control a non-per-point parameter. You probably could use point() to access the Y value of a single point so it would be something like this point("../myNode", 0, "P", 1) Quote Link to comment Share on other sites More sharing options...
kgoossens Posted October 7, 2009 Author Share Posted October 7, 2009 Havent tested it, but I dont think you can use a per-point variable such as $TY to control a non-per-point parameter. You probably could use point() to access the Y value of a single point so it would be something like this point("../myNode", 0, "P", 1) Hi Spencer, Thanks for the reply but it is not exactly what I mean. I had already tried to create values an attributeCreate node. But I'm unable to access the data in the isoOffset. If I would to read out an attrib value for 1 point it is still a global offset setting. What I would like to do have local parameter changes. Quote Link to comment Share on other sites More sharing options...
Cheesestraws Posted October 8, 2009 Share Posted October 8, 2009 (edited) I doubt this is the best way, but it seems to work. Forgive the messy scene. It might not be quite what you want though. Ack this file has so many problems, but I will leave it here nonetheless. offset.hipnc Edited October 8, 2009 by Cheesestraws Quote Link to comment Share on other sites More sharing options...
kgoossens Posted October 10, 2009 Author Share Posted October 10, 2009 I doubt this is the best way, but it seems to work. Forgive the messy scene. It might not be quite what you want though. Ack this file has so many problems, but I will leave it here nonetheless. Hi Cheesestraws, Thanks a lot for the hipfile. But it is not exactly what I had in mind. I forgot to tell that I'm using the isoOffset as an isoSurface. It is for creating landscapes with overhanging cliffs and caves.Finally I would like to have an erosion like effect on it. The offset gives good results but it is on the total of the surface. The solution you have provided does this with a volume, but I'm unable to create a smooth isosurface from it. The results I have are very blocky. Can this be solved? Cheers! Quote Link to comment Share on other sites More sharing options...
Cheesestraws Posted October 10, 2009 Share Posted October 10, 2009 Yeah that blockiness annoyed me too. I used another volume vop that took a number of samples within a given radius around each voxel and averaged them, which helped to some extent. 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.