Page 1 of 2

Clarification on instancing

Posted: Mon May 04, 2020 12:17 pm
by gigglebooster
Hi. Could someone please clarify instancing with Octane and Houdini for me? Specifically when using the copy to points node? I've looked at this extensively on the forums but it's still unclear, my professor wasn't sure on this either. If you just check the "pack and instance" checkbox on the copy to points node will that function correctly with Octane? Or do I need to do the method shown in the forums where you create a new @instance attribute? When we check the "pack and instance" checkbox on the copy to points node it seems to function correctly, but I've read that it's not actually instancing. Also, if checking this box doesn't work and I need to create the @instance attribute, how would I do that using the copy to points node? The example shown in the forums doesn't use a copy node, it just creates an @instance attribute using an attribute create node that points to the object you want to copy in the string field, and then it does the instancing at render time, but I don't know how to do this using the copy nodes, doesn't seem like you can actually control this method like you could using the copy to points node.

Re: Clarification on instancing

Posted: Mon May 04, 2020 4:55 pm
by juanjgon
Hi,

The plugin doesn't support the instancing at the SOP level yet, for example from the copy SOP. For instancing you need to use the @instance point attribute, or the Instance OBJ node.

Hope it helps,
-Juanjo

Re: Clarification on instancing

Posted: Wed May 13, 2020 1:02 am
by varomix
Hi Juanjo
I've been using the copy to points with the Pack and Instance option and it seems to work fine

are you saying this aren't Instances to Octane at render time?
instances
instances
thanks

Re: Clarification on instancing

Posted: Wed May 13, 2020 9:45 am
by juanjgon
Yes, in you scene the packed primitives are fully expanded to mesh geometry. They are not instanced at all.

Thanks,
-Juanjo

Re: Clarification on instancing

Posted: Fri May 15, 2020 1:29 pm
by davidyannick_1
juanjgon wrote:Yes, in you scene the packed primitives are fully expanded to mesh geometry. They are not instanced at all.

Thanks,
-Juanjo
Support for packed primitive is planned ?

Re: Clarification on instancing

Posted: Fri May 15, 2020 2:00 pm
by juanjgon
You can instance packed primitives, but not at the SOP level yet. If you have an object built using packed primitives, you can instance it using another Instance OBJ node, or suing any other node using the "instance" point attribute pointing to the packed primitives object path.

Thanks,
-Juanjo

Re: Clarification on instancing

Posted: Thu Jun 25, 2020 11:12 am
by davidyannick_1
I work with very large scene and millions of instances, for now I have to render in redshift :/ is instancing at the SOP level implementation is planned ?

Re: Clarification on instancing

Posted: Thu Jun 25, 2020 11:19 am
by juanjgon
Yes, it is planned in the short-term. The first step, supporting the instancing from .bgeo files using the "instancefile" point attribute is ready for the next build. The next step will be the sop level packed geo instancing.

Thanks,
-Juanjo

Re: Clarification on instancing

Posted: Fri Jun 26, 2020 10:30 am
by WoutTgh
juanjgon wrote:Yes, it is planned in the short-term. The first step, supporting the instancing from .bgeo files using the "instancefile" point attribute is ready for the next build. The next step will be the sop level packed geo instancing.

Thanks,
-Juanjo
Coool, that's great :)

Re: Clarification on instancing

Posted: Wed Jul 08, 2020 10:22 am
by miko3d
Hey Juan

Do we know if Octane has a cap limit for maximum number of instance PClouds?

I Cant find any info about this from OTOY and Im having serious trouble going any higher than the 10 ish million mark.Octane/Houdini just hangs while preprocessing the scene.

The GPUs we are testing have plenty of spare Ram (Tesla 16GB Vram) and ,at around 8-9 million, we are just using around 5GB on VRAM.


Can anyone please try this "Piggygeddon" attached simple scene and report how far can you push the instance number before crashing?


As we cant export the ORBX (houdini hangs at preprocessing scene) ,I'm not sure if this Houdini or Core issue .Any information on this will be very helpful.

Thanks
Mikel.