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
Post Reply
everdrone
Licensed Customer
Posts: 2
Joined: Thu Aug 22, 2019 3:24 am

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
User avatar
jobigoud
OctaneRender Team
Posts: 250
Joined: Sat Aug 15, 2015 1:28 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 114 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.
Post Reply

Return to “General Discussion”