UDP Luasocket

Forum for OctaneRender Lua scripting examples, discussion and support.
Post Reply
parsa021021
Licensed Customer
Posts: 12
Joined: Mon Feb 02, 2015 10:13 am

Does anyone know anything about UDP Luasocket? Is it even possible in OctaneRender?
I don't know anything about Lua scripting. Only python!
User avatar
Goldorak
OctaneRender Team
Posts: 2321
Joined: Sun Apr 22, 2012 8:09 pm
Contact:

Any native API call, including sockets, is possible using FFI in global scripts.
User avatar
haze
OctaneRender Team
Posts: 1003
Joined: Sun Feb 08, 2015 8:57 pm

I haven't given it a try, but maybe lunatic-python might be useful - do most of your work in Python rather than Lua
User avatar
abstrax
OctaneRender Team
Posts: 5506
Joined: Tue May 18, 2010 11:01 am
Location: Auckland, New Zealand

In theory there is no difference between theory and practice. In practice there is. - Yogi Berra
parsa021021
Licensed Customer
Posts: 12
Joined: Mon Feb 02, 2015 10:13 am

mist wrote:I haven't given it a try, but maybe lunatic-python might be useful - do most of your work in Python rather than Lua
Lunatic Python seems quite interesting but I'm assuming Octane only reads Lua file so what I should be looking for is integration of Python inside Lua via Lunatic Python which requires understanding of Lua scripting in the first place. I don't know anything about it.
Is there going to be a Python interpreter inside Ocatance 3 in future? That would be epic!
parsa021021
Licensed Customer
Posts: 12
Joined: Mon Feb 02, 2015 10:13 am

abstrax wrote:See viewtopic.php?f=73&t=46644
I'm a architecture student and trying to bring in point coordinates but hopefully some mesh surfaces from Rhino3D's Grasshopper to Octane Render via UDP so they become lively interactive inside Octane. But Lua seems alien to me. This also could be really exciting for OctaneVR in future...........
I wish Octane would support Python. I don't have time to learn Lua!
User avatar
Goldorak
OctaneRender Team
Posts: 2321
Joined: Sun Apr 22, 2012 8:09 pm
Contact:

parsa021021 wrote:
abstrax wrote:See viewtopic.php?f=73&t=46644
I'm a architecture student and trying to bring in point coordinates but hopefully some mesh surfaces from Rhino3D's Grasshopper to Octane Render via UDP so they become lively interactive inside Octane. But Lua seems alien to me. This also could be really exciting for OctaneVR in future...........
I wish Octane would support Python. I don't have time to learn Lua!
Lua FFI library can be used to load ANY C library into lua, just like Python or JS Ctypes, and this could even be a C interface to Python itself.
parsa021021
Licensed Customer
Posts: 12
Joined: Mon Feb 02, 2015 10:13 am

Goldorak wrote:
parsa021021 wrote:
abstrax wrote:See viewtopic.php?f=73&t=46644
I'm a architecture student and trying to bring in point coordinates but hopefully some mesh surfaces from Rhino3D's Grasshopper to Octane Render via UDP so they become lively interactive inside Octane. But Lua seems alien to me. This also could be really exciting for OctaneVR in future...........
I wish Octane would support Python. I don't have time to learn Lua!
Lua FFI library can be used to load ANY C library into lua, just like Python or JS Ctypes, and this could even be a C interface to Python itself.
Well it's pretty cool but it still requires knowing Lua to do this which I don't have any idea. I think there is no way I can start scripting for Octane by just knowing Python. I wish there was a way around that. :( I don't understand why Otoy wouldn't support Python. Most of the visual artists are using Python in modelling packages. That would be huge for Octane!
Post Reply

Return to “Lua Scripting”