BLaBZ Posted April 20, 2012 Posted April 20, 2012 Is it possible to make OpenGL commands within BlitzMAX? Like if I wanted to Implement a custom particle system? Thanks Quote = OpenGL
Josh Posted April 20, 2012 Posted April 20, 2012 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) Quote Let's build cool stuff and have fun.
BLaBZ Posted April 21, 2012 Author Posted April 21, 2012 Ok I probably should of clarified, while using Leadwerks? Quote = OpenGL
BLaBZ Posted April 21, 2012 Author Posted April 21, 2012 Disregard that last comment josh, me being dumb Quote = OpenGL
Joh Posted July 2, 2012 Posted July 2, 2012 So basically we should just use our opengl command in this callback? Quote Intel Corei7-6700, NVIDIA GeForce GTX 980, 32GB DDR4, W-10.
Naughty Alien Posted July 2, 2012 Posted July 2, 2012 ..yes, you can use OGL while LE running..my HUD/GUI library does it.. Quote
Joh Posted July 2, 2012 Posted July 2, 2012 Nice.. Didn't know about this callback. In past i used another way to render with opengl. Quote Intel Corei7-6700, NVIDIA GeForce GTX 980, 32GB DDR4, W-10.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.