[Pharo-project] Using AlienOpenGL

Alexandre Bergel alexandre at bergel.eu
Fri Jan 21 06:11:11 EST 2011


Thanks Fernando for offering your help. We are still at the phase to decide what techno to use.
Lumiere has indeed many good things (even though I do not agree with every design decision made in it :-)

Cheers,
Alexandre


On 21 Jan 2011, at 04:21, Fernando Olivero wrote:

> 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 at 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 at lists.gforge.inria.fr [pharo-project-bounces at lists.gforge.inria.fr] On Behalf Of Alexandre Bergel [alexandre at bergel.eu]
>>> Sent: Thursday, January 20, 2011 7:22 PM
>>> To: Pharo-project at 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
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>> 
>> 
>> 
>> 
>> 
>> 
>> 
> 

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.









More information about the Pharo-dev mailing list