Random Texture Transforms over Instances

Forum for OctaneRender Lua scripting examples, discussion and support.
User avatar
abstrax
OctaneRender Team
Posts: 5508
Joined: Tue May 18, 2010 11:01 am
Location: Auckland, New Zealand

One more thing: I hope to sneak in an additional non-interpolation mode to the gradient texture node, which would also help with this problem: http://render.otoy.com/forum/viewtopic.php?f=9&t=41451
In theory there is no difference between theory and practice. In practice there is. - Yogi Berra
User avatar
smicha
Licensed Customer
Posts: 3151
Joined: Wed Sep 21, 2011 4:13 pm
Location: Warsaw, Poland

Great. Thank you for your time and effort. This is all I need (except of more speed at PMC :))
3090, Titan, Quadro, Xeon Scalable Supermicro, 768GB RAM; Sketchup Pro, Classical Architecture.
Custom alloy powder coated laser cut cases, Autodesk metal-sheet 3D modelling.
build-log http://render.otoy.com/forum/viewtopic.php?f=9&t=42540
User avatar
smicha
Licensed Customer
Posts: 3151
Joined: Wed Sep 21, 2011 4:13 pm
Location: Warsaw, Poland

abstrax wrote:One more thing: I hope to sneak in an additional non-interpolation mode to the gradient texture node, which would also help with this problem: http://render.otoy.com/forum/viewtopic.php?f=9&t=41451
To solve the problem it is just enough to create plain colored textures/images and use the LUA script :geek:
3090, Titan, Quadro, Xeon Scalable Supermicro, 768GB RAM; Sketchup Pro, Classical Architecture.
Custom alloy powder coated laser cut cases, Autodesk metal-sheet 3D modelling.
build-log http://render.otoy.com/forum/viewtopic.php?f=9&t=42540
User avatar
abstrax
OctaneRender Team
Posts: 5508
Joined: Tue May 18, 2010 11:01 am
Location: Auckland, New Zealand

smicha wrote:
abstrax wrote:One more thing: I hope to sneak in an additional non-interpolation mode to the gradient texture node, which would also help with this problem: http://render.otoy.com/forum/viewtopic.php?f=9&t=41451
To solve the problem it is just enough to create plain colored textures/images and use the LUA script :geek:
You can just use a gradient texture node directly with some colors, but how I understand it, he wants to have only 2 colours (no interpolation), which you can't do right now. Providing a non-interpolation mode (basically a step function), you could achieve this though. It would also be useful in your case where you may not want interpolation between two consecutive textures.
In theory there is no difference between theory and practice. In practice there is. - Yogi Berra
User avatar
smicha
Licensed Customer
Posts: 3151
Joined: Wed Sep 21, 2011 4:13 pm
Location: Warsaw, Poland

Will you add the step function option to the code? (just asking, it is not urgent now)
3090, Titan, Quadro, Xeon Scalable Supermicro, 768GB RAM; Sketchup Pro, Classical Architecture.
Custom alloy powder coated laser cut cases, Autodesk metal-sheet 3D modelling.
build-log http://render.otoy.com/forum/viewtopic.php?f=9&t=42540
User avatar
abstrax
OctaneRender Team
Posts: 5508
Joined: Tue May 18, 2010 11:01 am
Location: Auckland, New Zealand

smicha wrote:Will you add the step function option to the code? (just asking, it is not urgent now)
It needs to be added to the gradient texture node of Octane. I think it would be useful and not too hard to implement - when we get to it.
In theory there is no difference between theory and practice. In practice there is. - Yogi Berra
User avatar
smicha
Licensed Customer
Posts: 3151
Joined: Wed Sep 21, 2011 4:13 pm
Location: Warsaw, Poland

Marcus,

One more question/wish:
random flip vertical, flip horizontal - are these possible? I think it is all about negative scaling, isn't it?
3090, Titan, Quadro, Xeon Scalable Supermicro, 768GB RAM; Sketchup Pro, Classical Architecture.
Custom alloy powder coated laser cut cases, Autodesk metal-sheet 3D modelling.
build-log http://render.otoy.com/forum/viewtopic.php?f=9&t=42540
User avatar
abstrax
OctaneRender Team
Posts: 5508
Joined: Tue May 18, 2010 11:01 am
Location: Auckland, New Zealand

smicha wrote:Marcus,

One more question/wish:
random flip vertical, flip horizontal - are these possible?
Yup, should be possible via a negative UV scale.
In theory there is no difference between theory and practice. In practice there is. - Yogi Berra
User avatar
smicha
Licensed Customer
Posts: 3151
Joined: Wed Sep 21, 2011 4:13 pm
Location: Warsaw, Poland

Marcus,

Could you please add the new feature to the script - selecting material files instead of a folder?
3090, Titan, Quadro, Xeon Scalable Supermicro, 768GB RAM; Sketchup Pro, Classical Architecture.
Custom alloy powder coated laser cut cases, Autodesk metal-sheet 3D modelling.
build-log http://render.otoy.com/forum/viewtopic.php?f=9&t=42540
User avatar
smicha
Licensed Customer
Posts: 3151
Joined: Wed Sep 21, 2011 4:13 pm
Location: Warsaw, Poland

smicha wrote:Marcus,

Could you please add the new feature to the script - selecting material files instead of a folder?

Any help with this ?
3090, Titan, Quadro, Xeon Scalable Supermicro, 768GB RAM; Sketchup Pro, Classical Architecture.
Custom alloy powder coated laser cut cases, Autodesk metal-sheet 3D modelling.
build-log http://render.otoy.com/forum/viewtopic.php?f=9&t=42540
Post Reply

Return to “Lua Scripting”