I have encountered a new problem.
Generating and binding vertex arrays seems to be broken with core-profile. The 
problem is that in core-profile it needs to use gl3.h and not gl.h (I had the 
same problem with GLFW in C++) which I assume is the source of the problem.

Any ideas how to fix that?

On 12.10.2012, at 23:50, Joe Groff <arc...@gmail.com> wrote:

> On Fri, Oct 12, 2012 at 2:32 PM, PGGB <grizzlysc...@gmail.com> wrote:
>> I've made big progress! I googled for the invalid-pixel-format-attributes 
>> error on a whim and I ended up on some Java forum. Apparently the 
>> core-profile flags clash with the windowed flag. Removing that I can create 
>> now a window where
>> 
>>        [ gl-version . ] into-window
>> 
>> reports 3.2 and all the other usual GL functions work as well. I am very 
>> happy about this!
> 
> Excellent! Good to know you can set up a standalone window in core
> profile and have it work in the Factor UI. When you're ready to move
> up from messing with null-world in the listener, you can subclass
> world and implement these generics to control the window's behavior:
> 
> ```
> TUPLE: null-world < world ;
> M: null-world begin-world drop ;
> M: null-world end-world drop ;
> M: null-world draw-world* drop ;
> M: null-world resize-world drop ;
> ```
> 
> There's also a `game-world` base class that provides some integration
> with Factor's various game libraries, like the game loop, raw
> keyboard/mouse/gamepad input, and audio engine. The "terrain" demo
> uses this directly with raw OpenGL; there are additional demos in
> "gpu.demos.*" that use game-world with a higher-level thick binding
> library over OpenGL.
> 
> -Joe
> 
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to