Quadric Draw Styles
BlitzMax Forums/OpenGL Module/Quadric Draw Styles
| ||
I maybe missing something out with this example test with the preset shapes, and would love to know what's up with it. Can anyone see why this code wont render the sphere with the QuadricDrawStyle command? Thanks, Thumbz |
| ||
Maybe a bug! |
| ||
The first thing I've found is GLU_SMOOTH and GLU_LINE aren't actually defined anywhere!!! Which means they are zreo. Try putting Strict at the top of your programs to see any variables/functions that are not given any value etc. Looking into now for ya.............. Colonel NRG Studio |
| ||
Cheers Col! :) I added Strict and it told me that the identifier GLU_LINE was not found. Maybe I've got it inputted wrong??? gluQuadricDrawStyle (quadratic, GLU_LINE ) Thanks for checking it out! |
| ||
I've found some values :) GLU_POINT = 100010 GLU_LINE = 100011 GLU_FILL = 100012 GLU_SILHOUETTE = 100013 Works for me :) |
| ||
Also you'll need these GLU_SMOOTH = 100000 GLU_FLAT = 100001 GLU_NONE = 100002 Have fun |
| ||
Thanks mate! So it this then a bug in BMAX? |
| ||
Dunno mate. Only got bmax yesterday ! Still finding me feet as to what is included and what isn't. Looks like BRL forgot to include them though eh!!!! |
| ||
I've only had it a few days too myself. A big change in the approach. Thanks for finding those values out mate! Nice one :) |
| ||
The reason why we don't have 'native' access to those parameters is because in the opengl.bmx file they are all REM'd out!!!! Don't know why?? Is there anything we can do?? Anyone???? |
| ||
It's defined in glu.h under folder GL in glew.mod |
| ||
@Extron: I checked this and it looks like glew.mod doesn't load in glu.h . It looks like it will if you have a MAC but not pc!! In the opengl.bmx file the constants are actually commented out!! I'm still getting into this so I might be wrong? This does need to be resolved though! Cheers |
| ||
It's not commented for me in opengl.bmx |
| ||
Really? I'm on PC. You? The ModuleInfo shows version 1.00 Is yours the same? I'm talking about 'mod/pub.mod/opengl.mod/opengl.bmx' Regards |
| ||
Sorry your are right (long block of rem :) ). But it's defined Global and not constante. |
| ||
Any answers on a postcard to why these Open GL extensions arent properly introduced into BMAX yet (On Win OS)? |