Jump to content
BLaBZ

OpenGL in BlitzMAX

Recommended Posts

Is it possible to make OpenGL commands within BlitzMAX?

 

Like if I wanted to Implement a custom particle system?

 

Thanks

Share this post


Link to post

Absolutely. That's what I do in the editor. There's a secret callback in the camera class like this:

framewerk.Main.camera.DrawCameraHook=DrawCameraHook

 

Function DrawCameraHook(camera:TCamera,stage:Int=0)

Share this post


Link to post

So basically we should just use our opengl command in this callback?

Share this post


Link to post

Nice.. Didn't know about this callback.

In past i used another way to render with opengl.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...