3D Examples?
Monkey Forums/Monkey Programming/3D Examples?
| ||
Has anyone created any other examples of how to use the new 3D OpenGL functionality in Monkey they would like to share in the Code forum? I'm curious how to texture a polygon or create a model in Blender (or other) and load it up in Monkey - and add a texture to it. If not, can someone nudge me in the right direction on what to read or how to learn how to do this :) |
| ||
I haven't touched GL in a long time, but back in the day http://nehe.gamedev.net/ was a good place to start learning. I see they still have legacy lessons on the right side which are probably closer to ES 1.1 that Monkey uses. You might want to breeze over the early lessons for fundamentals and then move to the vertex buffer (VBO) tutorials. |
| ||
You can try my monkeyGL "textured cube" example from here. You will need to make modifications since the opengl interface Mark wrote is probably a bit different. Also, I'm using my FloatPtr class, where Mark's implementation is a Databuffer class, which looks like you need to add your own array-to-buffer implementation. (although I just peeked at his code looks like there's an array to buffer that he hasn't implemented yet...) |
| ||
I was thinking about trying to port a few of these NeHe examples for BlitzMax: http://www.blitzbasic.com/Community/posts.php?topic=41689#468105 L8r, |