I'm on 2020 1.5 / 10.20 for 3dsmax
I've been messing with the existing OSL shaders that come with max 2021. Some of the ones I want to work natively with Octane just error out. I'm trying to get a functioning Random Bitmap placer (like a decal placer that rotates and scales as it populates). I can get the 3dsmax one to work in the bitmap slot but its resolution is entirely dependent on the values you set in the RGB image since it's basically just baking it. Octane has a native OSL texture node but most things I've tried don't work with it. I commented out some code that was giving the error but I can't get RandomBitmap.osl to actually do anything I want once its open. Is there a decent library of OSL shaders out there for Octane?
OSL RandomBitmap
Forum rules
Please post only in English in this subforum. For alternate language discussion please go here http://render.otoy.com/forum/viewforum.php?f=18
Please post only in English in this subforum. For alternate language discussion please go here http://render.otoy.com/forum/viewforum.php?f=18
Hi,
for random bitmap, you can use an Octane random texture node plugged to a Octane gradient node in complex mode.
Cheers
for random bitmap, you can use an Octane random texture node plugged to a Octane gradient node in complex mode.
Cheers
:::::::::::::::::
pxlntwrk.net
pxlntwrk.net
re,
for rotation and transform plugg the texture to an UVW transform node and plugg it to the gradient next slot and redo for more randomness...
Sorry I'm not in front of screen, I will post an example , but it will after summer break.
Cheers
for rotation and transform plugg the texture to an UVW transform node and plugg it to the gradient next slot and redo for more randomness...
Sorry I'm not in front of screen, I will post an example , but it will after summer break.
Cheers
:::::::::::::::::
pxlntwrk.net
pxlntwrk.net
Hi,
sorry for the latency, I struggled to recover from vacation
Here is an example of how to randomize textures and rotation over clone scatter.


you can use the same method by adding translation and / or scale values in the values of the UVW-Transform node, and also add or remove transformation steps by changing the number of variations of the gradient.
I attach the Orbx file in case
Cheers
sorry for the latency, I struggled to recover from vacation

Here is an example of how to randomize textures and rotation over clone scatter.


you can use the same method by adding translation and / or scale values in the values of the UVW-Transform node, and also add or remove transformation steps by changing the number of variations of the gradient.
I attach the Orbx file in case
Cheers
- Attachments
-
- Random_tex_Mat_Test.orbx
- (188.39 KiB) Downloaded 104 times
:::::::::::::::::
pxlntwrk.net
pxlntwrk.net