"raw" GL ?

This topic contains 2 replies, has 2 voices, and was last updated by  codifies 2 years, 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4806

    codifies
    Participant

    Does anyone have a simple example (need only be a single triangle using a textured shader!) of directly using GL – I’m not terribly bothered about targeting html, but would like to be able to port (to mx2) some of my 3d stuff using Linux and be reasonably sure that someone on Mac or some other OS would be able to compile and run it without too much trauma….

    #4819

    Mark Sibly
    Keymaster

    See the glwindowtest banana for an example of using raw GL ‘inside’ mojo. The other way to go is to use SDL directly, but then you’ve got to do input etc handling yourself.

    Currently, there are only GL bindings for GLES20, but longer term I’d like to do add a GLEW module that gives you access to any version of GL.

    #4846

    codifies
    Participant

    Thanks, I seem to have a workable context after “fixing” an issue that was causing it not to work on my system (see my other post re: sdl2test)

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.