Instanced geo on 500K particles - ipr wont load

Forums: Instanced geo on 500K particles - ipr wont load
Houdini Integrated Plugin

Moderator: juanjgon

Instanced geo on 500K particles - ipr wont load

Postby OuterGamut » Mon May 16, 2022 5:00 am

OuterGamut Mon May 16, 2022 5:00 am
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.
OuterGamut
Licensed Customer
Licensed Customer
 
Posts: 29
Joined: Sat Nov 05, 2016 5:38 pm

Re: Instanced geo on 500K particles - ipr wont load

Postby blobbybarack » Mon May 16, 2022 8:37 am

blobbybarack Mon May 16, 2022 8:37 am
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.
blobbybarack
Licensed Customer
Licensed Customer
 
Posts: 250
Joined: Sun Feb 03, 2013 9:11 pm
Location: Paris

Re: Instanced geo on 500K particles - ipr wont load

Postby blobbybarack » Mon May 16, 2022 8:44 am

blobbybarack Mon May 16, 2022 8:44 am
Oh and i have no idea if @instancepath works....i'm always using @instance and working like a charm.
blobbybarack
Licensed Customer
Licensed Customer
 
Posts: 250
Joined: Sun Feb 03, 2013 9:11 pm
Location: Paris

Re: Instanced geo on 500K particles - ipr wont load

Postby blobbybarack » Mon May 16, 2022 9:06 am

blobbybarack Mon May 16, 2022 9:06 am
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.
blobbybarack
Licensed Customer
Licensed Customer
 
Posts: 250
Joined: Sun Feb 03, 2013 9:11 pm
Location: Paris

Re: Instanced geo on 500K particles - ipr wont load

Postby OuterGamut » Mon May 16, 2022 4:58 pm

OuterGamut Mon May 16, 2022 4:58 pm
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.
Attachments
Screenshot_1.png
Screenshot_1.png (1.96 KiB) Viewed 1758 times
OuterGamut
Licensed Customer
Licensed Customer
 
Posts: 29
Joined: Sat Nov 05, 2016 5:38 pm

Re: Instanced geo on 500K particles - ipr wont load

Postby OuterGamut » Mon May 16, 2022 5:10 pm

OuterGamut Mon May 16, 2022 5:10 pm
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.
OuterGamut
Licensed Customer
Licensed Customer
 
Posts: 29
Joined: Sat Nov 05, 2016 5:38 pm

Re: Instanced geo on 500K particles - ipr wont load

Postby OuterGamut » Wed May 18, 2022 7:35 pm

OuterGamut Wed May 18, 2022 7:35 pm
jitters.gif


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.
OuterGamut
Licensed Customer
Licensed Customer
 
Posts: 29
Joined: Sat Nov 05, 2016 5:38 pm

Re: Instanced geo on 500K particles - ipr wont load

Postby OuterGamut » Wed May 18, 2022 7:36 pm

OuterGamut Wed May 18, 2022 7:36 pm
nojitters.gif

The flip with no jitters
OuterGamut
Licensed Customer
Licensed Customer
 
Posts: 29
Joined: Sat Nov 05, 2016 5:38 pm

Re: Instanced geo on 500K particles - ipr wont load

Postby juanjgon » Wed May 18, 2022 8:59 pm

juanjgon Wed May 18, 2022 8:59 pm
Can you share the scene to 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: Instanced geo on 500K particles - ipr wont load

Postby blobbybarack » Thu May 19, 2022 12:55 pm

blobbybarack Thu May 19, 2022 12:55 pm
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 ?
blobbybarack
Licensed Customer
Licensed Customer
 
Posts: 250
Joined: Sun Feb 03, 2013 9:11 pm
Location: Paris
Next

Return to Houdini


Who is online

Users browsing this forum: No registered users and 5 guests

Tue Mar 19, 2024 11:22 am [ UTC ]