Lumeire fulfills the specified goals: creating a world (scene) + cameras + light sources + 3d objects. Lumiere currently uses AlienOpenGL to comunicate with OpenGl, it could easily use OpenGL FFI as well as the underlying glue code to the rendering library. So resuming: 1) Lumiere abstractions over matrixes and OGL. 2) Rendering engined wrapper: AlienOpenGL (unmaintaned currently), OpenGL FFI , NativeBoost OpenGL (only windows for now, until someone compiles native boost vm for other OS). If someone needs the good abstractions of Lumiere, i could give some pointers on were to remove the AlienOpenGL dependency and "plug" the preferred engine. Fernando On Fri, Jan 21, 2011 at 1:43 AM, Alexandre Bergel <alexandre@bergel.eu> wrote:
I feel that we will take the easiest way: implement a small 3d engine. This is about 100 lines of code for something simple (what we need in fact). Ricardo and Patricio spent several days having something that run with AlienOpenGL, and the technical problems are numerous (Cog vs Standard, Linux, ...)
We will let you know.
Cheers, Alexandre
If I knew what worked, I'd be making a recommendation :) Â As it is, I can perhaps help you work through the debugging process. Â As I said, you could indeed be missing a needed library, there could be dependencies missing that make a .so unable to load, a .so could be just plain broken (I've seen that once or twice), or the vm could be looking in the wrong place and saying absolutely nothing about it. Â If you can post more about what is going wrong and how, we might be able to sort it out, hopefully w/o having to hack the vm (but no promises).
My 3D goals would generally be to create a view/world, add a light source or two and a camera, and to load a few meshes onto some type of retained mode objects and start prodding them in simple ways. Â Croquet's code for that looked like it was perfect for what I have in mind, but the 3D needs to go in the software, not the other way around. Â Scouting reports would be most welcome.
Bill
________________________________________ From: pharo-project-bounces@lists.gforge.inria.fr [pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Alexandre Bergel [alexandre@bergel.eu] Sent: Thursday, January 20, 2011 7:22 PM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] Using AlienOpenGL
Not that you are wrong, but how did you choose AlienOpenGL over CroquetGL?
We're just looking for something that works. Is there currently a solution to make 3d with Pharo 1.2 and that works with windows, linux and mac? The idea is to have a 3d version of Mondrian. No need of fancy 3d effect so far.
Cheers, Alexandre
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel  http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.