How to mix two displacement maps?

Forums: How to mix two displacement maps?
Houdini Integrated Plugin

Moderator: juanjgon

Re: How to mix two displacement maps?

Postby galleon27 » Tue Jul 05, 2022 10:10 am

galleon27 Tue Jul 05, 2022 10:10 am
Looked at your file. There are a few things you need to know. Displacement maps are data maps so the color space should be set to Non-color Data. Since they are data maps, you should avoid using jpegs since jpegs are 8bit. For best results, always use 32bit images for displacements. Mid-level for all quixel displacement maps should be set to 0.5.

For some reason, using attributes for mixing doesn't work. Maybe it's a bug or some limitation. Maybe Juanjo could check that out.
Using procedurals to mix works fine.
Attachments
Mix_Displacements.zip
(5.78 MiB) Downloaded 77 times
Win 10 64bit // GTX 4090 + GTX 3090 // 5900x // 64GB // SideFX Houdini // C4D
User avatar
galleon27
Licensed Customer
Licensed Customer
 
Posts: 240
Joined: Wed Jul 15, 2015 11:55 am
Location: Serbia

Re: How to mix two displacement maps?

Postby Admin_KeenSWH » Tue Jul 05, 2022 11:35 am

Admin_KeenSWH Tue Jul 05, 2022 11:35 am
galleon27 wrote:Looked at your file. There are a few things you need to know. Displacement maps are data maps so the color space should be set to Non-color Data. Since they are data maps, you should avoid using jpegs since jpegs are 8bit. For best results, always use 32bit images for displacements. Mid-level for all quixel displacement maps should be set to 0.5.

For some reason, using attributes for mixing doesn't work. Maybe it's a bug or some limitation. Maybe Juanjo could check that out.
Using procedurals to mix works fine.


Thanks for your reply,

Yes of course I did try EXR 32bit versions of those maps too - same problem - they just don't mix at all.

Note that even if I disable the displacement texture that should be in the black area - the first displacement texture is still displacing the surface but in some weird way:
Attachments
Screenshot 2022-07-05 133521.png
MY CONFIG:
OS: Win 10
Video Card: 2070 RTX
VRam: 8Gb
Geforce Driver: 516.69
OctaneRender Standalone 2021.1.4
OctaneRender Houdini plugin version 2021.1.5.0 (May 18 2022)
Houdini FX Version 19.0.622
Admin_KeenSWH
Licensed Customer
Licensed Customer
 
Posts: 14
Joined: Mon Mar 29, 2021 11:23 am

Re: How to mix two displacement maps?

Postby Admin_KeenSWH » Tue Jul 05, 2022 6:55 pm

Admin_KeenSWH Tue Jul 05, 2022 6:55 pm
I really need help with this guys, I know in Arnold it is possible to mix two displacement maps but I don't want to switch to Arnold only because of this tiny feature really.

If this feature is not existing in Octane yet - would it be possible to include it into a wishlist you guys might have?
MY CONFIG:
OS: Win 10
Video Card: 2070 RTX
VRam: 8Gb
Geforce Driver: 516.69
OctaneRender Standalone 2021.1.4
OctaneRender Houdini plugin version 2021.1.5.0 (May 18 2022)
Houdini FX Version 19.0.622
Admin_KeenSWH
Licensed Customer
Licensed Customer
 
Posts: 14
Joined: Mon Mar 29, 2021 11:23 am

Re: How to mix two displacement maps?

Postby juanjgon » Wed Jul 06, 2022 8:23 am

juanjgon Wed Jul 06, 2022 8:23 am
galleon27 wrote:For some reason, using attributes for mixing doesn't work. Maybe it's a bug or some limitation. Maybe Juanjo could check that out.
Using procedurals to mix works fine.

This is a known core limitation.

-Juanjo
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: How to mix two displacement maps?

Postby Admin_KeenSWH » Wed Jul 06, 2022 12:48 pm

Admin_KeenSWH Wed Jul 06, 2022 12:48 pm
juanjgon wrote:This is a known core limitation.
-Juanjo


galleon27 wrote:For some reason, using attributes for mixing doesn't work. Maybe it's a bug or some limitation. Maybe Juanjo could check that out.
Using procedurals to mix works fine.


Thanks for your feedback guys, I appreciate it. So the way I understood currently mixing two displacement maps by attribute value is not possible - no problem. But mixing by some procedural noise - does work.

Could you suggest some workaround to this? For example in C4D there is a workaround - to feed both textures (mixed by attribute) to a Baking Texture Node first, bake both mixed textures into one, and then feed that baked result into Displacement Node. I tried that in Houdini but it didn't work either unfortunately. So I was thinking maybe there is some other Houdini-specific workaround for this? Is it possible to convert attribute float values to some grayscale map and feed it as a mix?
MY CONFIG:
OS: Win 10
Video Card: 2070 RTX
VRam: 8Gb
Geforce Driver: 516.69
OctaneRender Standalone 2021.1.4
OctaneRender Houdini plugin version 2021.1.5.0 (May 18 2022)
Houdini FX Version 19.0.622
Admin_KeenSWH
Licensed Customer
Licensed Customer
 
Posts: 14
Joined: Mon Mar 29, 2021 11:23 am

Re: How to mix two displacement maps?

Postby galleon27 » Wed Jul 06, 2022 3:42 pm

galleon27 Wed Jul 06, 2022 3:42 pm
Admin_KeenSWH wrote:
juanjgon wrote:This is a known core limitation.
-Juanjo


galleon27 wrote:For some reason, using attributes for mixing doesn't work. Maybe it's a bug or some limitation. Maybe Juanjo could check that out.
Using procedurals to mix works fine.


Thanks for your feedback guys, I appreciate it. So the way I understood currently mixing two displacement maps by attribute value is not possible - no problem. But mixing by some procedural noise - does work.

Could you suggest some workaround to this? For example in C4D there is a workaround - to feed both textures (mixed by attribute) to a Baking Texture Node first, bake both mixed textures into one, and then feed that baked result into Displacement Node. I tried that in Houdini but it didn't work either unfortunately. So I was thinking maybe there is some other Houdini-specific workaround for this? Is it possible to convert attribute float values to some grayscale map and feed it as a mix?


Here you go. I've attached the file.
You can just import attributes into COPs and use that as a texture.

Cheers.
Attachments
Mix_Displacements.zip
(5.79 MiB) Downloaded 86 times
Win 10 64bit // GTX 4090 + GTX 3090 // 5900x // 64GB // SideFX Houdini // C4D
User avatar
galleon27
Licensed Customer
Licensed Customer
 
Posts: 240
Joined: Wed Jul 15, 2015 11:55 am
Location: Serbia

Re: How to mix two displacement maps?

Postby Admin_KeenSWH » Wed Jul 06, 2022 4:51 pm

Admin_KeenSWH Wed Jul 06, 2022 4:51 pm
galleon27 wrote:Here you go. I've attached the file.
You can just import attributes into COPs and use that as a texture.
Cheers.


Oh wow, that's definitely a solution! Thanks a lot!
MY CONFIG:
OS: Win 10
Video Card: 2070 RTX
VRam: 8Gb
Geforce Driver: 516.69
OctaneRender Standalone 2021.1.4
OctaneRender Houdini plugin version 2021.1.5.0 (May 18 2022)
Houdini FX Version 19.0.622
Admin_KeenSWH
Licensed Customer
Licensed Customer
 
Posts: 14
Joined: Mon Mar 29, 2021 11:23 am
Previous

Return to Houdini


Who is online

Users browsing this forum: No registered users and 11 guests

Tue Apr 16, 2024 11:07 pm [ UTC ]