Rotate transform according to black and white map

Forums: Rotate transform according to black and white map
Generic forum to discuss Octane Render, post ideas and suggest improvements.
Forum rules
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB

Rotate transform according to black and white map

Postby everdrone » Tue Dec 07, 2021 1:20 pm

everdrone Tue Dec 07, 2021 1:20 pm
Hi,

I'm trying to rotate a sine wave procedural texture according to a black and white map, where black = 0° and white = 360°.

Image

Is there a way of doing this in octane (blender) without resorting to OSL?
And if OSL is the only way, how can it be achieved? Is there a related script I can start from?

Thank you
everdrone
Licensed Customer
Licensed Customer
 
Posts: 2
Joined: Thu Aug 22, 2019 3:24 am

Re: Rotate transform according to black and white map

Postby jobigoud » Tue Dec 07, 2021 2:40 pm

jobigoud Tue Dec 07, 2021 2:40 pm
You can use a Distorted mesh UV projection on the image node (image or procedural texture).
Load the rotation map in the Rotation pin and set the Rotation range to 0..360.

rotationprojection.png


rotationmap.orbx
(59.19 KiB) Downloaded 98 times


Not too sure about the circle outline, I think it's coming from the color interpolation at the boundary.

I'm not getting exactly the same result as you, since I snapshotted your rotation map it already has a gamma applied to it that will give a different result than if it's passed as non color data.
User avatar
jobigoud
OctaneRender Team
OctaneRender Team
 
Posts: 229
Joined: Sat Aug 15, 2015 1:28 pm

Return to General Discussion


Who is online

Users browsing this forum: Bing [Bot] and 12 guests

Tue Mar 19, 2024 8:30 am [ UTC ]