OOP and BasicGL
BlitzMax Forums/OpenGL Module/OOP and BasicGL
| ||
Hello, I have been looking at the BasicGL library that looks very promising. However the samples provided donīt use OOP. I tried to setup a scene with a simple textured plane using an object (Type....End Type). But without success..... Anyone kind enough to show me how to do that with BasicGL and Object Oriented Programming? Thanks. |
| ||
I doubt anyone knows enough about BasicGL to show you because of the lack of documentation. Maybe the authors can provide examples? |
| ||
Thanks Tom for your reply. Yeah... I bought Blitzmax because of the OOP stuff. I donīt want to go back to pure procedural programming. Now, if anyone or the authors themselves can show me how to use this cool 3D module without having to renounce to the object oriented programming paradigm, I will register! |
| ||
i'm no expert on this... but if you are planning on using any external lib with 'max... and it is based on OOP, you are going to have to 'unwrap' or expose the underlying methods anyway... ... so using BasicGL as i see it, saves you that step. simply gather the functions you need into a 'Max Type and put together the associated methods... and make a 'max module out of it. better illustrated here --> http://www.blitzbasic.com/Community/posts.php?topic=45176 good luck --Mike |
| ||
Thank you, it looks indeed very interesting. Need to spend some thoughts... |