buddhi1980 / mandelbulber2

Official repository for Mandelbulber v2
GNU General Public License v3.0
910 stars 115 forks source link

Texture displacement anomaly #824

Open Graphician opened 3 years ago

Graphician commented 3 years ago
System information (version)
Detailed description

When rotating a torus on the x or y axis the displacement map texture changes every 90 degrees, starting at 45 degrees... thereby making it impossible to smoothly rotate a torus with a displacement map texture! Attached vid is 44 degrees to 47 degrees. Color texture from an image does not seem to do that.

https://user-images.githubusercontent.com/76926163/103494034-d7a8d800-4e02-11eb-9f23-941905503bfc.mp4

Steps to reproduce
Graphician commented 3 years ago

Never mind! I set the texture mapping type to cylindrical... not quite what I wanted, but close enough and it doesn't change! :-p

buddhi1980 commented 3 years ago

You probably used cube mapping for displacement map. This type of mapping still doesn't work properly with displacement maps. You can use it for any other texture channel. I hope to find better algorithm for cube mapping which will allow to use displacement maps.

Graphician commented 3 years ago

HI…

Thanks for getting back to me… I friggin’ love Mandelbulber!! I ended up using cylindrical mapping and here’s the results!

https://youtu.be/Gu0sUdVTHa4 https://youtu.be/Gu0sUdVTHa4

Thanks again,

Allen Cosgrove

From: Krzysztof Marczak Sent: Sunday, January 10, 2021 4:03 AM To: buddhi1980/mandelbulber2 mandelbulber2@noreply.github.com Cc: Graphician allen@hillsidefarm.biz; Author author@noreply.github.com Subject: Re: [buddhi1980/mandelbulber2] Texture displacement anomaly (#824)

You probably used cube mapping for displacement map. This type of mapping still doesn't work properly with displacement maps. You can use it for any other texture channel. I hope to find better algorithm for cube mapping which will allow to use displacement maps.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/buddhi1980/mandelbulber2/issues/824#issuecomment-757441870 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ASK4ZU5ZYLLODNP2IYJYVPDSZFUL3ANCNFSM4VSK6I5Q .