Sign in to follow this  
fstill

OpenGL Can I use Unity/OpenGL w Openlase, opensource linux graphics engine based off openGL that drives lasers?

Recommended Posts

Hi, this might be a strange question. But there are these collections of programs for using a sound card to communicate with a laser projector, (which are powered mirrors with a laser,) called OpenLase. And in OpenLase there is a framework called "libol" which is the graphics engine. Appranatly it is 'similar' and based off OpenGL, even if simpler, it is still a dynamic graphics engine.

If I made something in unity, would it be possible for me to export it to some kind of code format, and then modify the openGL part of that code to fit in libol in some way? Could I write a game that in the end, used libol in the OpenLase collection of applications as the display engine, thus running the game through the laser projector?

The laser projector is limited to how much it can draw at a time, but for lines, an amount of simple shapes, it would be fine.

But if anyone is curious or could help me out, I have no idea how this would go. This is the github/ files for libol:
https://github.com/kamalmostafa/openlase/tree/kamal-master/libol

and the github/ files for a simple example using libol that rotates two spinning 3d cubes. The first is the python version, then the c version.

https://github.com/kamalmostafa/openlase/blob/kamal-master/examples/simple.py
https://github.com/kamalmostafa/openlase/blob/kamal-master/examples/simple.c

If anyone is curious about openlase, here is the blog post by its creator.
https://marcansoft.com/blog/2010/11/openlase-open-realtime-laser-graphics/

p.s. it might also be worth noting somebody has ported openlase to OSX

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this