BLaBZ Posted September 13, 2010 Share Posted September 13, 2010 Still a bit new to the LE so just asking some questions, is it possible to use BMax's drawing commands? and use Blend Modes such as ALPHABLEND?! Quote = OpenGL Link to comment Share on other sites More sharing options...
Canardia Posted September 14, 2010 Share Posted September 14, 2010 You can use DrawLine() and SetBlend(BLEND_ALPHA). Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
BLaBZ Posted October 4, 2010 Author Share Posted October 4, 2010 This has been a bit frustrating, I'm trying to use BlitzMAX's brl.max2d drawing commands but unfortunately it interferes with LE gl operations, I've tried setting changing the graphics driver, I was attempting to convert the c++ leglBegin() and leglEnd() functions to Blitz when I realized that Blitz doesn't have a "GetCameraRange" function. Has anybody been able to get Blitz's Max2d module to work? Any suggestions?! Thanks! Quote = OpenGL Link to comment Share on other sites More sharing options...
Canardia Posted October 4, 2010 Share Posted October 4, 2010 If BlitzMax does't have a certain official DLL function, it is found as a undocumented OOP style call. For example the GetCameraRange() function is called in BlitzMax: camera.nearrange and camera.farrange. You should be able to do anything you need with OpenGL commands in BlitzMax, so you don't need any Max2D. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
BLaBZ Posted October 5, 2010 Author Share Posted October 5, 2010 Max2d has a nice function set, makes things a lot easier, I'd rather use that then have to take the time to learn raw OpenGL, though I'd like to sometime, Quote = OpenGL Link to comment Share on other sites More sharing options...
Josh Posted October 5, 2010 Share Posted October 5, 2010 You can't use Max2D with Leadwerks Engine. There's too much that interferes with it. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
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.