aghourab Posted July 16, 2011 Share Posted July 16, 2011 Hello Peeps, And sorry for the topic barrage. Just wondering how do I access the Geometry attributes in a Gas Field Vops. There isn't an obvious path for the point cloud, seems confusing in dops. Thanks! AG Quote Link to comment Share on other sites More sharing options...
bhaveshpandey Posted July 16, 2011 Share Posted July 16, 2011 (edited) Gas Field Vops work on fields and not on geometry. If you need them to work on geometry you need to convert the attributes to fields and then use a Gas Field vop. Its pretty straight forward..you need to create a parameter with similar signature for any field you want to work on..for instance: for a vector field called vorticity, you might need to create a vector parameter with the same name (i.e. if you are using autobind by name..) and then use a gas field to particle dop to get those values to the geometry. check the sesi help card.. cheers. Edited July 16, 2011 by bhaveshpandey Quote Link to comment Share on other sites More sharing options...
aghourab Posted July 16, 2011 Author Share Posted July 16, 2011 (edited) Gas Field Vops work on fields and not on geometry. If you need them to work on geometry you need to convert the attributes to fields and then use a Gas Field vop. Its pretty straight forward..you need to create a parameter with similar signature for any field you want to work on..for instance: for a vector field called vorticity, you might need to create a vector parameter with the same name (i.e. if you are using autobind by name..) and then use a gas field to particle dop to get those values to the geometry. check the sesi help card.. cheers. Thanks Bhavesh. I was wondering about accessing geometry data as oppossed to manipulating it. Was under the impression that could be done, but I haven't managed to make it work. Instead, how about accessing within a vopsop data generated within dops. I.e. temperature, then copying it onto points? Im trying to use a volume sample from file, but while i can read local sdf's i cant get it to read data from dops. Any ideas? op:/obj/dopnet:smoke/temperature is the reference im feeding the volume sample from file Edited July 16, 2011 by aghourab Quote Link to comment Share on other sites More sharing options...
bhaveshpandey Posted July 17, 2011 Share Posted July 17, 2011 I usually use a dopimport to get the fields in the local context (SOPs or POPs anywhere I need it) and then link to them by using the opinput/path expressions which are good to keep all the referencing relative. Quote Link to comment Share on other sites More sharing options...
aghourab Posted July 18, 2011 Author Share Posted July 18, 2011 I usually use a dopimport to get the fields in the local context (SOPs or POPs anywhere I need it) and then link to them by using the opinput/path expressions which are good to keep all the referencing relative. Thanks again! Did notice that if you put a sopnet inside the pop network, then attempt to reference a dopimport from there it fails. Instead placing the sopnet one level higher works (above the context of the particle network). 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.