Results 1 to 7 of 7

Thread: Openb3d for Freepascal

  1. #1

    Openb3d for Freepascal

    Hi, I just ported the wrapper from FreeBASIC to Freepascal. You can download it here: http://openb3d.retrogamecoding.org/openb3dpas.zip
    What's Openb3d? It is a library that allows easy access to 3d features of OpenGL, and quick game development and can be found on sf.net: http://sourceforge.net/projects/minib3d/ (here you can download the Windows DLL or the source to compile on Linux).
    The interesting part is that the library is (almost) API compatible to Blitz3D.
    Unfortunately Freepascal has no "native" graphical system like Freebasic, so you'll need to use SDL or GLUT or anything else which can open a OpenGL window (maybe TOpenGLControl works, too). I just tested SDL and (Free)GLUT so far.

    openb3d.jpg
    Last edited by Cybermonkey; 04-06-2013 at 02:15 PM.
    Best regards,
    Cybermonkey

  2. #2
    nice, I'm looking for some library for handling 3d files. can it load models?

  3. #3
    Yes, so far as I know models in .3ds, .x and .b3d format. You can have a look at the tutorial here: http://jnoodle.com/Blitz3D/ (except 2d drawing and sound)
    Best regards,
    Cybermonkey

  4. #4
    Unfortunately Freepascal has now "native" graphical system like Freebasic, so you'll need to use SDL or GLUT or anything else which can open a OpenGL window (maybe TOpenGLControl works, too). I just tested SDL and (Free)GLUT so far.
    I didn't know they removed Graph unit...

  5. #5
    Of course one needs an OpenGL context which the unit Graph can't deliever ...
    Best regards,
    Cybermonkey

  6. #6
    Is it possible to port it to Delphi ?

  7. #7
    Quote Originally Posted by panoramic View Post
    Is it possible to port it to Delphi ?
    That might be possible but since I've got no Delphi installation someone else might want to do that.
    Best regards,
    Cybermonkey

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •