Hi,
I would like to do a bit of OpenGL in Pharo, but it does not seem to work at the moment. Tried NBOpenGL with a spur image (50560): _ fails at installation from configuration browser (need to click again on installing to get all classes) _ demo "GLTTRenderingDemo new openInWorld" fails at NBGLContextDriver with error "No suitable implementation found for initializing OpenGL context for your platform" (running on a Mac) Tried with a pre-spur image (50496): _ same weirdness at installation _ demo fails at NBGLCurveRenderer with "MessageNotUnderstood: receiver of on: is nil" Is there a working demo available out there? I have worked a lot with OpenGL ES 2.0 and could definitely provide work on the topic. Cheers, Thibault |
yeap NBOpenGL relied on NativeBoost and our new FFI is UFFI so that means that NBOpenGL does no longer work and there are no plans to make it work at least for now. The problem is that Nativeboost was doing machine code stuff that were difficult to maintain and so it does low level stuff with NBOpenGL. UFFI however is very similar to Nativeboost, so porting OpenGL to it is certainly much easier than rewriting the whole wrapper. Obviously OpenGL being huge wont be a walk in the park , however the good news is that NBOpenGL was automating the process with auto generating wrappers. On Fri, Mar 11, 2016 at 2:23 PM Thibault Raffaillac <[hidden email]> wrote: Hi, |
In reply to this post by Thibault Raffaillac
Hi Thibault,
This is great you are trying to revive the open gl binding. This is very important. Unfortunately we do not have the man power and the knowledge to do it ourselves. So your help is highly welcome! Execute the following: Gofer new smalltalkhubUser: 'ronsaldo' project: 'Woden'; package: 'ConfigurationOfWoden'; load. (Smalltalk at: #ConfigurationOfWoden) loadBleedingEdge. And look at the class RWRoassal3dExample. It contains many examples. Here is one: v := RWView new. v add: RWCone element. v camera position: (WDVector3 newX: 0.0 y: 0.0 z: 3.0). v @ RWMouseKeyControl. v Let us know how it goes! Cheers, Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
|
In reply to this post by Thibault Raffaillac
Check bloc under Moose in the CI
there is a little class with the binding. Stef Le 11/3/16 13:22, Thibault Raffaillac a écrit : > Hi, > > I would like to do a bit of OpenGL in Pharo, but it does not seem to work at the moment. > > Tried NBOpenGL with a spur image (50560): > _ fails at installation from configuration browser (need to click again on installing to get all classes) > _ demo "GLTTRenderingDemo new openInWorld" fails at NBGLContextDriver with error "No suitable implementation found for initializing OpenGL context for your platform" (running on a Mac) > > Tried with a pre-spur image (50496): > _ same weirdness at installation > _ demo fails at NBGLCurveRenderer with "MessageNotUnderstood: receiver of on: is nil" > > Is there a working demo available out there? I have worked a lot with OpenGL ES 2.0 and could definitely provide work on the topic. > > Cheers, > Thibault > > |
Free forum by Nabble | Edit this page |