Toledor Posted November 16, 2017 Share Posted November 16, 2017 Hi there. I have a small issue going on. I have a source emitting boxes as packed rbds. The boxes have different sizes according to the pscale value and that attribute is stored in the packed prims in the assemble sop. When I use a dopimport to read back the points and copy boxes on them, pscale value is gone, it looks like the dopnet didn't store it. Usually this is not an issue because the static geometry is transformed with the transform pieces sop. But here there's this issue with the pscale attribute. I attach a very simple setup that shows the problem in action. Thanks a lot! packedPscale.hipnc Quote Link to comment Share on other sites More sharing options...
Jesper Rahlff Posted November 16, 2017 Share Posted November 16, 2017 (edited) On your Dopimport node set the import style to "Fetch Geometry from DOP network" instead of "create points to represent objects". That way you don't need to copy the boxes back onto the points. Edited November 16, 2017 by Jesper Rahlff clarification Quote Link to comment Share on other sites More sharing options...
Toledor Posted November 16, 2017 Author Share Posted November 16, 2017 Hi Jesper. Thanks for your reply. Yes, I know that solution. The thing is that my setup is a bit more complex than the example file I sent. I need the points fetched from the dop import to inherit pscale and other important attributes created in sop and then use those points to copy geo on each one. Quote Link to comment Share on other sites More sharing options...
Jesper Rahlff Posted November 16, 2017 Share Posted November 16, 2017 well since they come out as packed why don't you just use an add sop with "delete geo but keep points". that way you have the points with the attributes and you can then copy your geo? Quote Link to comment Share on other sites More sharing options...
Toledor Posted November 16, 2017 Author Share Posted November 16, 2017 Humm, that works! Thanks Jesper. I don't know why the dopnet spits out all the attribs and the dop import in point mode only a few... I'll try to find out. Thanks! Quote Link to comment Share on other sites More sharing options...
Jesper Rahlff Posted November 16, 2017 Share Posted November 16, 2017 according to the help file, setting the import style "create points to represent" it only keeps the important attributes such as position, rotation, etc. So I would assume it removes all other. because if you look at the attributes your dopnet exports it does have pscale. so the problem lies with your dopimport. Quote Link to comment Share on other sites More sharing options...
Toledor Posted November 16, 2017 Author Share Posted November 16, 2017 Yes, it's the dop import. It would be nice to be able to specify which attributes are kept and which ones are removed. Thanks! Quote Link to comment Share on other sites More sharing options...
Jesper Rahlff Posted November 16, 2017 Share Posted November 16, 2017 well, you could set the import style to "fetch packed geometry from dop network" and then set display as "centroid", that leaves you with the points containing all the attributes. Because the copytopoints main input (input 0 ) is your geo you want to copy then it does not move the packed geo data from your sim through the stream. however if you are passing on this scene to someone, the add node after you fetched the geo is easier to understand. 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.