Page 1 of 2
Instanced geo on 500K particles - ipr wont load
Posted: Mon May 16, 2022 5:00 am
by OuterGamut
I'm having some hangups with octane instancing - the ipr basically stalls out when trying to preview the instanced geo.
There is about 540k+ points with orient, pscale and v on them. The geo has about 500 faces. @instancepath is setup to point at a null in the same obj sop.
I have not been able to get an image to load up on a 3090. Any advice or best practices to make this work?
The instance node previews some of the instanced geo then fades into bboxes so the path seems to be working.
Re: Instanced geo on 500K particles - ipr wont load
Posted: Mon May 16, 2022 8:37 am
by blobbybarack
In the same geo Sop ?
As far as i know you should target instances at object level in order to load your object into memory.
Both points and loaded object must be set with blue flag on but your can use "Hide Object in Render" in Octane Tab to hide your instance source.
Re: Instanced geo on 500K particles - ipr wont load
Posted: Mon May 16, 2022 8:44 am
by blobbybarack
Oh and i have no idea if @instancepath works....i'm always using @instance and working like a charm.
Re: Instanced geo on 500K particles - ipr wont load
Posted: Mon May 16, 2022 9:06 am
by blobbybarack
test scene in the link bellow with 500000 instances.
https://www.dropbox.com/s/3neu56sz12jw8 ... w.hip?dl=1
Oh and i add some kind of Instance Color workflow to it....maybe you will have to redirect a path to your setup....
In matnet1>octane_vopnet1 set the Texture_Instance_Color1 image path to the correct path something like C:/Program Files/Octane_2021.1.4.0_Houdini_18.5.759_Win64/tex/rgb4k_map.ppm to get the correct color.
Re: Instanced geo on 500K particles - ipr wont load
Posted: Mon May 16, 2022 4:58 pm
by OuterGamut
Thanks!
I am trying it out though my first go of changing the instances to /obj/ level resulted in the same stalled IPR. Digging into your test file now.
Re: Instanced geo on 500K particles - ipr wont load
Posted: Mon May 16, 2022 5:10 pm
by OuterGamut
Well, pretty easy to see why mine was not working. I was using the Instance sop at the end of it all on top of the instance path created in vex. That instance sop def breaks octane.
Re: Instanced geo on 500K particles - ipr wont load
Posted: Wed May 18, 2022 7:35 pm
by OuterGamut
Well I got this rendering but the final render has some wild jittering on all the instances - I have a flip of the whole thing looking just fine so it seems this is happening at render with the instancing. Is this a known issue? How can I fix it - The scene is set to full reload every frame.
Re: Instanced geo on 500K particles - ipr wont load
Posted: Wed May 18, 2022 7:36 pm
by OuterGamut
Re: Instanced geo on 500K particles - ipr wont load
Posted: Wed May 18, 2022 8:59 pm
by juanjgon
Can you share the scene to take a look at it here?
Thanks,
-Juanjo
Re: Instanced geo on 500K particles - ipr wont load
Posted: Thu May 19, 2022 12:55 pm
by blobbybarack
just a guess....do you have a constant flip point count....like do you simulate with reseeding off ?
If no you should sort your point count according to the id attribute to get consistent result using instance .
Oh and correct me if i m wrong but flip do not export all the needed attributes to get correct orientation (as they are initially made for remeshing)...nothing you can t tackle or fake but i would investigate this in a first place...take a look to the standard instances attributes ....things like Up(VECTOR),N(VECTOR),rot(QUATERNION),orient(QUATERNION).
And what is your second Gif preview ? packed primitive using copy sop ?