Heightfield import file from COPS?

   1851   7   2
User Avatar
Member
273 posts
Joined: 9月 2012
Offline
Trying to do a Heightfielf stamp "deformer" (on curve with other controls), and whiel i was trying to avoid a slow road, my 2d approach looks is perturbed at last checkpoint as i can't find a way to make the houdini heightfield file read my COP input...

Has someone ever succeeded in that?
Obviously i use the "Op:" like this "op:/obj/Path_Deform/texture/OUT"

cheers, ahppy new year to all of you!
Edited by vinyvince - 2023年1月6日 05:44:18
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
273 posts
Joined: 9月 2012
Offline
I found a way by bypassing the COP and uvsample with VEX which is faster, but im still interested to know in case someone has an answer

Vincent*
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
8743 posts
Joined: 7月 2007
Offline
vinyvince
i can't find a way to make the houdini heightfield file read my COP input...
set Source to COP
then just use path tho your cop node in the COP Network parm
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
273 posts
Joined: 9月 2012
Offline
Oh god, it was so super easy, thanks Tomas, sorry i totally missed that menu!

Thanks and all my best wishes for 2023 to you Tomas!
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
273 posts
Joined: 9月 2012
Offline
It's interesting to note that when VEX uvsample without Cop i get the left result, but with other volume method and xyzdist') (with COP) , the right one, which is sharper but this border artefact. Both heightfields have the same voxel numbers, and same "input"...

Edit: Yeah, no i found out after. Sidefx primitive volume could force different behavior for border interpolation...
Edited by vinyvince - 2024年9月10日 11:42:53

Attachments:
Capture.PNG (2.5 MB)

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
8743 posts
Joined: 7月 2007
Offline
it's hard to tell whats causing the difference without seeing the file as I don't know what 2 techniques you are comparing
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
1 posts
Joined: 8月 2024
Offline
I'm having a similar issue where I'm trying to use a COP output to the height field file. This is the setup I currently have but I keep getting the error: "Invalid source ./terrain_layer1/foreach_end2.
(Error: Failure to cook template geometry.)"

Any idea what I'm doing wrong?

Attachments:
Screen Shot 2024-09-09 at 4.33.42 PM.png (406.6 KB)

User Avatar
Member
273 posts
Joined: 9月 2012
Offline
I usually don't use workflow like this, but i just tried and it is working for me .

You might want to clamp the mask before now. Concerning the error , difficult to tell without seeing your cop, is it the old cop network or the new one?

Even if the resolution of the 2 heighfields does not match, it should be ok..

Attachments:
SOP_copy.cpio (170.8 KB)

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