-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pulling logs from Goxel on Mac #309
Comments
well that's simply not possible, you will need to modify the source code if the functionality doesn't exist already |
If I understand correctly you would like to be able to call Goxel from
command line with a file input and output the positions and color of the
voxels?
This is something that would be easy with a scripting support. Alas this
task is still pending and I am too busy at the moment with other things.
It’s really something I would like to do at some point though.
On Mon, Feb 20, 2023 at 1:38 AM Ela Siwy ***@***.***> wrote:
Closed #309 <#309> as
completed.
—
Reply to this email directly, view it on GitHub
<#309 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA2JH74SDI6JGCG4MRGYYDWYJK7PANCNFSM6AAAAAAVAVHLLQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
Sent from my iPad.
|
Thank you @guillaumechereau your understanding is correct. |
I started two branches a long time ago to test both scripting with lua and javascript. I think the code was too messy and I gave up at the time. The idea would be to expose all the core structures of goxel somehow (image_t, layer_t, mesh_t, etc.) into classes accessible from the scripts. |
@guillaumechereau you can try LuaJIT for that, just include the definitions and you can access the structs very easily. i recently added Lua for rendering my gui code but dropped the idea, but you can get a idea of how it works: https://github.com/pegvin/csprite/tree/luajit/data/scripts |
initialization of lua vm and everything is same because LuaJIT was made to be a drop-in replacement of Lua, but with LuaJIT you can use FFI extension and stuff to call C functions. |
I am starting to work on the scripting support for goxel again. @malpiatko I am trying to understand what you want to do exactly. If I understand correctly you would like for goxel to continuously output the voxels positions and color to stdout? |
I just love what you did. It's so cool!
I am trying to use Goxel as a UI for 3D path painting project. I am a bit rusty on C and how it generally works on Mac.
I was wondering if it's possible to just get the voxel positions logged to stdout (live) without me having to figure out how to install from source code. Otherwise any tips on installing from source code on Mac?
The text was updated successfully, but these errors were encountered: