Used packedprim for efficient Layout Design... But how?

   1638   4   1
User Avatar
Member
255 posts
Joined: Sept. 2012
Offline
Dear reader

Im building a massive env for a film, and I have to find efficient ways of working in short time.
I found using packed geo for layout design to be a simple but great option to quickly try different env concept design with artistic control. Is there a way to scale the packed geo? (the points)

cheers

________________________________________________________________
Vincent Thomas   (VFX and Art since 1998)
Senior Env and Lighting  artist & Houdini generalist & Creative Concepts
 http://fr.linkedin.com/in/vincentthomas [fr.linkedin.com]

*Available Mid January 2021
Edited by vinyvince - Dec. 15, 2020 05:09:53
Vincent Thomas   (VFX and Art since 1998)
Senior Env and Lighting  artist & Houdini generalist & Creative Concepts
http://fr.linkedin.com/in/vincentthomas [fr.linkedin.com]
User Avatar
Member
620 posts
Joined: Nov. 2013
Offline
Edit sop and copy sop.
Or edit in Lops.
User Avatar
Staff
31 posts
Joined: June 2018
Offline
If memory serves you can pack objects that are already packed. For example you can use a copy to points to instance some packed windows and doors to their appropriate locations on a building. Then you can pack the entire building including the windows and doors you just instanced. The only downside is the opengl display will only do one level of unpacking.
Edited by lucap1 - Dec. 14, 2020 22:19:23
User Avatar
Member
255 posts
Joined: Sept. 2012
Offline
Thanks, I remember now you could also scale packedprim using VEX


vector scale = fit01(rand(@ptnum), ch("min"), ch("max"));

matrix3 transform = primintrinsic(0, "transform", @primnum);

matrix scalem = maketransform(0, 0, {0,0,0}, {0,0,0}, scale, @P);

transform *= matrix3(scalem);
setprimintrinsic(0, "transform", @primnum, transform);
Vincent Thomas   (VFX and Art since 1998)
Senior Env and Lighting  artist & Houdini generalist & Creative Concepts
http://fr.linkedin.com/in/vincentthomas [fr.linkedin.com]
User Avatar
Member
255 posts
Joined: Sept. 2012
Offline
there was a bug yesterday why the edit sop refuse to scale my packed prim, have to relaunch Houdini, no need to go by Vex primintrinsic!
Vincent Thomas   (VFX and Art since 1998)
Senior Env and Lighting  artist & Houdini generalist & Creative Concepts
http://fr.linkedin.com/in/vincentthomas [fr.linkedin.com]
  • Quick Links