chistof 0 Posted May 8, 2016 Hi everyone, I apologize if this has already been asked but i couldn't find an answer for this precise case. I have points with a bunch of attributes and I'm using an Instance Node to render them. Each instances is set by an instancefile attribute. I want to use the id attributes to export aovs from the shader but I can't find a way to have the instances inheriting the points attributes. You can see in the example file what I wish to do with the instance display node unpacked. I saw post about the function instancepoint() applied to the object to instance but I guess that in my case I cannot use this with instancefile since files are written ahead. Maybe should I find an other way to instance my geometries which are currently in files debris.0001-0050.bgeo.sc using the attributes pieceNbToInstance to somehow filter the piece to import but ideally I'd like to use the easiest way if possible so I don't write unneeded stuff in the IFds. Any ideas ? Thanks ! Chris instancefileWithAovsUsingAttributes.v1.hipnc Share this post Link to post Share on other sites
anim 1,262 Posted May 9, 2016 here are 2 methods 1. using Instance and material override 2. using packed disk primitives and render state in shader instancefileWithAovsUsingAttributes.fix.hipnc 2 Share this post Link to post Share on other sites
chistof 0 Posted May 10, 2016 My hero ! Thanks Tomas ! I don't use much material node generally, easy solution and great result Thanks as well for the packed primitives solution ! Share this post Link to post Share on other sites