I'm trying to render instances of car in a layer, so I've create an id attribute for instance colors, I've checked packed geo ... and on the IPR only 1 layer is visible All-1 and the render file (layer 2) is black ???
If I unpack the cars and uncheck of course packed geo I have in IPR my 2 layers ... ???
Are layers not compatible with nodes containing packed geo ?
Layer and instances issue
Moderator: juanjgon
- davidyannick_1
- Posts: 166
- Joined: Tue Apr 28, 2020 7:20 am
- Location: France
- Contact:
- davidyannick_1
- Posts: 166
- Joined: Tue Apr 28, 2020 7:20 am
- Location: France
- Contact:
nobody has an idea ?
I'm not sure if the layerID feature is compatible with the packed geo instancing. I'll take a look at it, but meanwhile probably the only workaround is to use a conventional instancer using the "instance" point attribute pointing to the master objects. If you want to share the scene I could take a look at it here.
Thanks,
-Juanjo
Thanks,
-Juanjo
- davidyannick_1
- Posts: 166
- Joined: Tue Apr 28, 2020 7:20 am
- Location: France
- Contact:
My project is quite heavy but here it is thanks for your help, because at this time I can not render properlyjuanjgon wrote:I'm not sure if the layerID feature is compatible with the packed geo instancing. I'll take a look at it, but meanwhile probably the only workaround is to use a conventional instancer using the "instance" point attribute pointing to the master objects. If you want to share the scene I could take a look at it here.
Thanks,
-Juanjo
https://www.dropbox.com/t/PaPlPZiKqg3lPJDY
- davidyannick_1
- Posts: 166
- Joined: Tue Apr 28, 2020 7:20 am
- Location: France
- Contact:
I've tried with a simple scene but shaders is not read, no colors, just the instances
https://www.dropbox.com/t/YlNPoA6WTyZiUBUh
https://www.dropbox.com/t/YlNPoA6WTyZiUBUh
At least in this case the problem is that the layer must be set in the master objects, not in the instancer. I mean, you need to set the layer in the sphere and in the toy.davidyannick_1 wrote:I've tried with a simple scene but shaders is not read, no colors, just the instances
https://www.dropbox.com/t/YlNPoA6WTyZiUBUh
Thanks,
-Juanjo
- davidyannick_1
- Posts: 166
- Joined: Tue Apr 28, 2020 7:20 am
- Location: France
- Contact:
Thanks but my id attribute is not read ...juanjgon wrote:At least in this case the problem is that the layer must be set in the master objects, not in the instancer. I mean, you need to set the layer in the sphere and in the toy.davidyannick_1 wrote:I've tried with a simple scene but shaders is not read, no colors, just the instances
https://www.dropbox.com/t/YlNPoA6WTyZiUBUh
Thanks,
-Juanjo
- davidyannick_1
- Posts: 166
- Joined: Tue Apr 28, 2020 7:20 am
- Location: France
- Contact:
I create an id attribute to affect colors in shaders, it works fine without the instance method, maybe it will be more clear with this video because my english is not so good :/ : https://streamable.com/yeaqmijuanjgon wrote:Hmm, but this ID can't be set from any attribute. It comes from the "Object Layer ID" parameter only.
Thanks,
-Juanjo
Thanks for your help
Sorry, I'm still trying to figure out what could be the problem. Probably something related to the packed geo instancing. As a workaround, have you tried to create a setup using a conventional instancer adding the "instance" point attribute pointing to the master object?
Thanks,
-Juanjo
Thanks,
-Juanjo