Instancing with multiple base objects.

Forums: Instancing with multiple base objects.
Houdini Integrated Plugin

Moderator: juanjgon

Instancing with multiple base objects.

Postby FahadA92 » Fri Dec 09, 2016 2:03 am

FahadA92 Fri Dec 09, 2016 2:03 am
Hello,

I'm trying to instance multiple objects on a template. I followed this tutorial to create instancenum attrib randomly to choose between the objects. It works file with mantra but in houdini I get an error (shown in the screenshots below) https://vimeo.com/52551778

Capture.PNG


02.PNG


03.PNG


04.PNG


05.PNG
Windows 8.1, GTX 970 EVGA SC, i7 4790k, 32GB RAM
FahadA92
Licensed Customer
Licensed Customer
 
Posts: 82
Joined: Sun Jun 29, 2014 6:29 pm

Re: Instancing with multiple base objects.

Postby pasto » Fri Dec 09, 2016 8:21 am

pasto Fri Dec 09, 2016 8:21 am
Hello,

Not sure but don't you need any backtick on your string in order to evaluate it ?
pasto
Licensed Customer
Licensed Customer
 
Posts: 57
Joined: Wed Apr 30, 2014 8:07 am

Re: Instancing with multiple base objects.

Postby juanjgon » Fri Dec 09, 2016 9:08 am

juanjgon Fri Dec 09, 2016 9:08 am
The main problem can be that you have the OBJ nodes to be instanced disabled. Currently, the plugin can't instance objects that are disabled. If you need to hide the base objects, you can use the "Hide Object in Render" parameter available in the Octane OBJ spare parameters.

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

Re: Instancing with multiple base objects.

Postby pasto » Fri Dec 09, 2016 11:26 am

pasto Fri Dec 09, 2016 11:26 am
Just for info, I had this type of error when pointing the string to the SOP level instead of the obj itself but that's not what you did obviously.
pasto
Licensed Customer
Licensed Customer
 
Posts: 57
Joined: Wed Apr 30, 2014 8:07 am

Re: Instancing with multiple base objects.

Postby juanjgon » Fri Dec 09, 2016 11:34 am

juanjgon Fri Dec 09, 2016 11:34 am
pasto wrote:Just for info, I had this type of error when pointing the string to the SOP level instead of the obj itself but that's not what you did obviously.

Yes, instancing only works at OBJ level, so pointing to a SOP node is not supported.

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

Return to Houdini


Who is online

Users browsing this forum: No registered users and 12 guests

Sat Apr 20, 2024 12:44 am [ UTC ]