Create a simple plane in Lua

Forum for OctaneRender Lua scripting examples, discussion and support.
Post Reply
User avatar
bepeg4d
Octane Guru
Posts: 10323
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Hi all,
here is another lua script from me, it creates a simple plane with the desired dimensions and axis:
Schermata 2015-09-17 alle 18.11.39.jpg
bg4dCreatePlane-10.lua
(11.61 KiB) Downloaded 754 times
It is useful for faster adding a floor to the scene or for creating emitter planes.
I hope you could find it useful in some way ;)
ciao beppe
r-username
Licensed Customer
Posts: 217
Joined: Thu Nov 24, 2011 3:39 pm

thanks
i7 960 - W7x64 - 12 GB - 2x GTX 780ti
http://www.startsimple.com/ - http://www.gigavr.com/
ruthenoid
Licensed Customer
Posts: 21
Joined: Sat Apr 17, 2010 6:51 am
Location: cologne, ger

Added UVWs. I never used LUA before, so...
Attachments
bg4dCreatePlane-11.lua
(12.11 KiB) Downloaded 986 times
OS: Win7 x64, RAM: 8Gb, GPU: GTX 460 2048 Mb
User avatar
glimpse
Licensed Customer
Posts: 3740
Joined: Wed Jan 26, 2011 2:17 pm
Contact:

Thanks Guys! That's really useful & it will come handy for me!!!
User avatar
bepeg4d
Octane Guru
Posts: 10323
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

ruthenoid wrote:Added UVWs. I never used LUA before, so...
Hi ruthenoid,
great adding, I always thought that I would have to do it but I never find the time.. so big thanks for have doing it and for sharing it with us :)
ciao beppe
User avatar
Syd_86
Licensed Customer
Posts: 120
Joined: Tue Oct 01, 2013 11:38 am

Very useful!
Thanks Guys! Thanks for sharing!
I as an alternative, I had saved a plan, in the default scene.
User avatar
Syd_86
Licensed Customer
Posts: 120
Joined: Tue Oct 01, 2013 11:38 am

There is a list of all files .Lua?
Example:
Explanation of the script - Download .lua - more info
Explanation of the script - Download .lua - more info
Explanation of the script - Download .lua - more info
etc ...
Thanks!
Post Reply

Return to “Lua Scripting”