Wrap Decal for procedural pattern?

   4507   11   0
User Avatar
Member
74 posts
Joined:
Offline
Hi all,

in shop network there is a texture node where you can wrap decal a picture.
If I want to do the same for a procedural pattern (the one provided with houdini) - how to accomplish this?

Thanks
Nico
User Avatar
Member
696 posts
Joined: March 2009
Offline
You could generate the procedural texture in COPs as an image, and use it as a texture map in your shader. Just input the path to the COP network in the file path for the texture map like this:

opimg/my_COP_texture

Just note that the “op:” command requires an absolute path.

Cheers
Toronto - ON
My Houdini playground [renderfarm.tumblr.com]
“As technology advances, the rendering time remains constant.”
User Avatar
Member
74 posts
Joined:
Offline
Thank you rafaels.

This is a way to do it :-)

It harms that it is not direct possible in vob!
User Avatar
Member
696 posts
Joined: March 2009
Offline
I'm sure it is possible, you might just have to use 2d procedural generators and play with the uvs in your object… I haven't tried anything like that yet… :-)

Cheers
Toronto - ON
My Houdini playground [renderfarm.tumblr.com]
“As technology advances, the rendering time remains constant.”
User Avatar
Member
1532 posts
Joined: July 2005
Offline
Rafael is absolutely right.

You should look at using the modulo operator (in conjunction with mults/fits/adds as needed) on your uvs - or whatever it is that you are using to seed the procedural noise with (could be world space P, could be ‘rest’).

Cheers,

G
User Avatar
Member
74 posts
Joined:
Offline
I tried the method producing the procedural pattern in COB.
I then used the “op:” method …. but it doesn't work. Maybe I do soothing wrong ….

Here is a simple test scene how I did it:

Attachments:
Decal.hipnc (295.0 KB)

User Avatar
Member
74 posts
Joined:
Offline
@keyframe: can you tell me more…. I'm too new in houdini to understand what to do!

Thanks
User Avatar
Member
74 posts
Joined:
Offline
Ok - I realized to crop the 2d pattern to the UV …. but the bounding colors of the pattern is repeated over the rest of the geometry.

How to rid of this bounding colors?

Attachments:
Decal_UV.jpg (216.0 KB)

User Avatar
Member
1532 posts
Joined: July 2005
Offline
Use those same values to create a ‘mask’ (1 inside the range, 0 outside). Use the mask to blend between the procedural noise, and whatever else you need (solid color, a different procedural noise, etc).

G
User Avatar
Member
330 posts
Joined: July 2007
Offline
nicoM
I tried the method producing the procedural pattern in COB.
I then used the “op:” method …. but it doesn't work. Maybe I do soothing wrong ….

Here is a simple test scene how I did it:

hi ,

this could be simpler than you think .

i downloaded your file and i think you better use the Copy'N'Paste ‘technology’ .

all procedural patterns are available in shops too . so , why bother with op's&Co ??

just copy-paste and you are done .



.cheers

Attachments:
copyPaste.png (13.3 KB)

except the things that cannot be seen , nothing is like it seems .
User Avatar
Member
696 posts
Joined: March 2009
Offline
zarti
nicoM
I tried the method producing the procedural pattern in COB.
I then used the “op:” method …. but it doesn't work. Maybe I do soothing wrong ….

Here is a simple test scene how I did it:

hi ,

this could be simpler than you think .

i downloaded your file and i think you better use the Copy'N'Paste ‘technology’ .

all procedural patterns are available in shops too . so , why bother with op's&Co ??

just copy-paste and you are done .



.cheers

Well, I think the only advantage of doing it in COPs is the “real time” feedback… I know there's the shader view pane and all… All these things that we forget in the rush of making something happen! ops:
Toronto - ON
My Houdini playground [renderfarm.tumblr.com]
“As technology advances, the rendering time remains constant.”
User Avatar
Member
74 posts
Joined:
Offline
Thank you keyframe …. I finally figured out how to get the mask out of the uv-values …. and now everything works fine

If someone as interest in how to get the mask out of the uv-value …. I can make a digital asset and upload it here!

Greets

Nico
  • Quick Links