Displacement wrong placement - any ideas why?

Forums: Displacement wrong placement - any ideas why?
Newtek Lightwave 3D (exporter developed by holocube, Integrated Plugin developed by juanjgon)

Moderator: juanjgon

Displacement wrong placement - any ideas why?

Postby ThomasVandenAbeele » Wed Apr 10, 2019 2:26 pm

ThomasVandenAbeele Wed Apr 10, 2019 2:26 pm
Hi!

I have a displacement behaving weirdly, and I can't seem to figure out why... The attached screenshot shows a circular mapping, with the letter N in the middle. The image is placed correctly in the diffuse channel, but the same texture hooked up to displacement is placed and scaled wrongly.

Does anyone know why it behaves this way?

Thanks!
Thomas

Wrong Displacement.PNG
ThomasVandenAbeele
Licensed Customer
Licensed Customer
 
Posts: 33
Joined: Tue Jan 11, 2011 4:31 pm

Re: Displacement wrong placement - any ideas why?

Postby promity » Wed Apr 10, 2019 2:48 pm

promity Wed Apr 10, 2019 2:48 pm
Just check if your model have UV texture coordinates.
AMD Threadripper 1950X/64gb ram/RTX 3080 Ti + RTX 2070/Samsung SSD 870 EVO 500 gb/
Lightwave 3d
User avatar
promity
Licensed Customer
Licensed Customer
 
Posts: 363
Joined: Sun Dec 19, 2010 7:59 am
Location: Russia

Re: Displacement wrong placement - any ideas why?

Postby ThomasVandenAbeele » Wed Apr 10, 2019 2:53 pm

ThomasVandenAbeele Wed Apr 10, 2019 2:53 pm
Is that the same Promity from the Kray forum? If so, hi Promity! Nice to meet you here as well ;-)

The model has UV texture coordinates - as is visible from the mapping of the texture on the diffuse channel. Or did you mean something else?
ThomasVandenAbeele
Licensed Customer
Licensed Customer
 
Posts: 33
Joined: Tue Jan 11, 2011 4:31 pm

Re: Displacement wrong placement - any ideas why?

Postby juanjgon » Wed Apr 10, 2019 10:04 pm

juanjgon Wed Apr 10, 2019 10:04 pm
Hi,

Do you have any kind of transformation in the UV map parameters in the texture sampler node? This could explain this behavior, but if you want to share the scene I could take a look at it.

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

Re: Displacement wrong placement - any ideas why?

Postby ThomasVandenAbeele » Thu Apr 11, 2019 7:58 am

ThomasVandenAbeele Thu Apr 11, 2019 7:58 am
Hi Juan,

No transformation in the UV map parameters. However, I discovered the error today: the displacement keeps using UV map 1, even though you specify UV map 2 in the texture sampler node.

This causes the wrong mapping, and the disconnect between diffuse mapping and displacement mapping: the texture sampler is set to use UV map 2, and diffuse uses this correctly, but displacement incorrectly still uses UV map 1.

Is this a known issue? Is there a workaround for this?
ThomasVandenAbeele
Licensed Customer
Licensed Customer
 
Posts: 33
Joined: Tue Jan 11, 2011 4:31 pm

Re: Displacement wrong placement - any ideas why?

Postby promity » Thu Apr 11, 2019 8:20 am

promity Thu Apr 11, 2019 8:20 am
ThomasVandenAbeele wrote:Is that the same Promity from the Kray forum? If so, hi Promity! Nice to meet you here as well ;-)


Yep, hello )
AMD Threadripper 1950X/64gb ram/RTX 3080 Ti + RTX 2070/Samsung SSD 870 EVO 500 gb/
Lightwave 3d
User avatar
promity
Licensed Customer
Licensed Customer
 
Posts: 363
Joined: Sun Dec 19, 2010 7:59 am
Location: Russia

Re: Displacement wrong placement - any ideas why?

Postby juanjgon » Thu Apr 11, 2019 10:36 am

juanjgon Thu Apr 11, 2019 10:36 am
ThomasVandenAbeele wrote:Hi Juan,

No transformation in the UV map parameters. However, I discovered the error today: the displacement keeps using UV map 1, even though you specify UV map 2 in the texture sampler node.

This causes the wrong mapping, and the disconnect between diffuse mapping and displacement mapping: the texture sampler is set to use UV map 2, and diffuse uses this correctly, but displacement incorrectly still uses UV map 1.

Is this a known issue? Is there a workaround for this?


What Octane version are you using? I think that this issue was fixed in the Octane 2018.1, or at least in the latest just released Octane 2018.1.1 ...

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

Re: Displacement wrong placement - any ideas why?

Postby ThomasVandenAbeele » Fri Apr 12, 2019 7:21 am

ThomasVandenAbeele Fri Apr 12, 2019 7:21 am
I'm still using version 3, so that explains why the bug is still in there!

But as I understand it, putting the UV for displacement in slot 1 is a perfectly good workaround, right?
ThomasVandenAbeele
Licensed Customer
Licensed Customer
 
Posts: 33
Joined: Tue Jan 11, 2011 4:31 pm

Re: Displacement wrong placement - any ideas why?

Postby juanjgon » Fri Apr 12, 2019 9:17 am

juanjgon Fri Apr 12, 2019 9:17 am
Yes, I suppose that the displacement from the first UV map should always work fine.

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

Return to Lightwave 3D


Who is online

Users browsing this forum: Google [Bot] and 5 guests

Thu Mar 28, 2024 10:09 pm [ UTC ]