Layer and instances issue

Forums: Layer and instances issue
Houdini Integrated Plugin

Moderator: juanjgon

Layer and instances issue

Postby davidyannick_1 » Sun Apr 11, 2021 2:39 pm

davidyannick_1 Sun Apr 11, 2021 2:39 pm
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 ?
Attachments
Capture d’écran 2021-04-11 163848.png
Capture d’écran 2021-04-11 163456.png
Capture d’écran 2021-04-11 162808.png
Capture d’écran 2021-04-11 162733.png
Capture d’écran 2021-04-11 162717.png
davidyannick_1
Licensed Customer
Licensed Customer
 
Posts: 164
Joined: Tue Apr 28, 2020 7:20 am
Location: France

Re: Layer and instances issue

Postby davidyannick_1 » Mon Apr 12, 2021 6:06 pm

davidyannick_1 Mon Apr 12, 2021 6:06 pm
nobody has an idea ?
davidyannick_1
Licensed Customer
Licensed Customer
 
Posts: 164
Joined: Tue Apr 28, 2020 7:20 am
Location: France

Re: Layer and instances issue

Postby juanjgon » Mon Apr 12, 2021 6:26 pm

juanjgon Mon Apr 12, 2021 6:26 pm
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
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: Layer and instances issue

Postby davidyannick_1 » Mon Apr 12, 2021 6:28 pm

davidyannick_1 Mon Apr 12, 2021 6:28 pm
juanjgon 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

My project is quite heavy but here it is thanks for your help, because at this time I can not render properly

https://www.dropbox.com/t/PaPlPZiKqg3lPJDY
davidyannick_1
Licensed Customer
Licensed Customer
 
Posts: 164
Joined: Tue Apr 28, 2020 7:20 am
Location: France

Re: Layer and instances issue

Postby davidyannick_1 » Mon Apr 12, 2021 6:42 pm

davidyannick_1 Mon Apr 12, 2021 6:42 pm
I've tried with a simple scene but shaders is not read, no colors, just the instances

https://www.dropbox.com/t/YlNPoA6WTyZiUBUh
davidyannick_1
Licensed Customer
Licensed Customer
 
Posts: 164
Joined: Tue Apr 28, 2020 7:20 am
Location: France

Re: Layer and instances issue

Postby juanjgon » Mon Apr 12, 2021 9:35 pm

juanjgon Mon Apr 12, 2021 9:35 pm
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

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.

Thanks,
-Juanjo
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: Layer and instances issue

Postby davidyannick_1 » Tue Apr 13, 2021 6:08 am

davidyannick_1 Tue Apr 13, 2021 6:08 am
juanjgon wrote:
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

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.

Thanks,
-Juanjo


Thanks but my id attribute is not read ...
Attachments
Capture d’écran 2021-04-13 080504.png
davidyannick_1
Licensed Customer
Licensed Customer
 
Posts: 164
Joined: Tue Apr 28, 2020 7:20 am
Location: France

Re: Layer and instances issue

Postby juanjgon » Tue Apr 13, 2021 8:27 am

juanjgon Tue Apr 13, 2021 8:27 am
Hmm, but this ID can't be set from any attribute. It comes from the "Object Layer ID" parameter only.

Thanks,
-Juanjo
Attachments
2021-04-13 10_26_56.jpg
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: Layer and instances issue

Postby davidyannick_1 » Tue Apr 13, 2021 8:46 am

davidyannick_1 Tue Apr 13, 2021 8:46 am
juanjgon wrote:Hmm, but this ID can't be set from any attribute. It comes from the "Object Layer ID" parameter only.

Thanks,
-Juanjo


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/yeaqmi

Thanks for your help
davidyannick_1
Licensed Customer
Licensed Customer
 
Posts: 164
Joined: Tue Apr 28, 2020 7:20 am
Location: France

Re: Layer and instances issue

Postby juanjgon » Wed Apr 14, 2021 5:32 pm

juanjgon Wed Apr 14, 2021 5:32 pm
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
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain
Next

Return to Houdini


Who is online

Users browsing this forum: No registered users and 8 guests

Fri Apr 19, 2024 12:21 pm [ UTC ]