Hello
I've updated these examples to compile on the new FB 0.13b compiler.
Pretty much the same as the ones I Posted previously, which, I had compiled on FB 0.12. Little optimizing, maybe.
Base Code Example. Reuse over and over again to open up your OpenGL Windows :
http://www.gameroom.com/glu/FbGlWin32f.html
Spotlight example. Shine a bright beam on a multiquad textured surface:
http://www.gameroom.com/glu/FbGlWin32Spotlightb.html
3d Golden Cube example. Includes Textures, Lighting, Fog :
http://www.gameroom.com/glu/FbGlWin32GoldCubeb.html
Just copy and paste into your FB editor and save and compile.
Have fun!
Glu
Free BASIC OGL Win32 Examples Updated for FB Compiler 0.13b
Free Basic OpenGl Win32 Examples
Hmmm.... did a little variation of the 3D Golden Cube. Different cube and floor textures.
Rotates differently, also.
enjoy
Glu
http://www.gameroom.com/glu/WGLBlueCube.html
Rotates differently, also.
enjoy
Glu
http://www.gameroom.com/glu/WGLBlueCube.html
Tweaked them all again and added one more example
Okay, tweaked them all "again" and added one more example.
Pretty much same as before. Just tweakings.
For example, Fullscreen should work much faster for all examples in WinXP. Changed that ShowMaximized to ShowNormal for the iCmdShow Variable. It really improved the performance in XP.
Open Up All your GL Windows with this BASE Code:
http://www.gameroom.com/glu/FbGlWin32f.html
Cast a Bright Beam on a floor with this spotlight example:
http://www.gameroom.com/glu/FbGlWin32Spotlightb.html
A Golden 3D Spining Cube with Lighting and Fog and Floor:
http://www.gameroom.com/glu/FbGlWin32GoldCubeb.html
A Blue 3D Cube with Lighting and Fog and Floor:
http://www.gameroom.com/glu/WGLBlueCube.html
Same 3D Blue Cube as Above but this one demonstrates simple
movement in 3d space with a light faithfully following it around, as it
prances about the 3D Scene:
http://www.gameroom.com/glu/WGL_BlueCube2.html
Hav sum Fun!
Glu
Pretty much same as before. Just tweakings.
For example, Fullscreen should work much faster for all examples in WinXP. Changed that ShowMaximized to ShowNormal for the iCmdShow Variable. It really improved the performance in XP.
Open Up All your GL Windows with this BASE Code:
http://www.gameroom.com/glu/FbGlWin32f.html
Cast a Bright Beam on a floor with this spotlight example:
http://www.gameroom.com/glu/FbGlWin32Spotlightb.html
A Golden 3D Spining Cube with Lighting and Fog and Floor:
http://www.gameroom.com/glu/FbGlWin32GoldCubeb.html
A Blue 3D Cube with Lighting and Fog and Floor:
http://www.gameroom.com/glu/WGLBlueCube.html
Same 3D Blue Cube as Above but this one demonstrates simple
movement in 3d space with a light faithfully following it around, as it
prances about the 3D Scene:
http://www.gameroom.com/glu/WGL_BlueCube2.html
Hav sum Fun!
Glu
FB Win32 OpenGL Examples
Hi again
Anybody that tried these with WinXP can give me some feedback would be appreciated.
1000 Thanks in advance!
Glu
Anybody that tried these with WinXP can give me some feedback would be appreciated.
1000 Thanks in advance!
Glu
Those are nice looking demos.
They work fine in XP, but it's alot of code just to open up a gl window that only works with Windows. Did you know that gfxlib has built in ogl initialization now? It's much easier that way... unless you just enjoy doing it the long way, which there is nothing wrong with.
Later!!!
They work fine in XP, but it's alot of code just to open up a gl window that only works with Windows. Did you know that gfxlib has built in ogl initialization now? It's much easier that way... unless you just enjoy doing it the long way, which there is nothing wrong with.
Later!!!
Fb Gl Win32 Examples
Kronck
Thanks!
Well, I tested them again in WinXp and I,m gettintg some weird notifications. Something like :
Ordinal number 63864 missing from User32.dll
So, not too sure about win Xp and these demos or on one or two of the gfglx, examples I tried, just yet.
Well, I would have set something up similar for Linux, except I've never worked with that OS.... Just as an alternative.
Some people, just like in C/C++, might want to do it in a similar way. Relying on their own code instead of some built in capabilities.
But, that's just me. there's nothing wrong with using what's available either. Whatever works.... works, I guess. Especially if your comfortable
with it.
Nice. I need to try some more of those examples!
and.....thanks for your feedback.
Later
Those are nice looking demos.
Thanks!
They work fine in XP
Well, I tested them again in WinXp and I,m gettintg some weird notifications. Something like :
Ordinal number 63864 missing from User32.dll
So, not too sure about win Xp and these demos or on one or two of the gfglx, examples I tried, just yet.
just to open up a gl window that only works with Windows
Well, I would have set something up similar for Linux, except I've never worked with that OS.... Just as an alternative.
Some people, just like in C/C++, might want to do it in a similar way. Relying on their own code instead of some built in capabilities.
But, that's just me. there's nothing wrong with using what's available either. Whatever works.... works, I guess. Especially if your comfortable
with it.
gfxlib has built in ogl initialization
Nice. I need to try some more of those examples!
and.....thanks for your feedback.
Later
FB isuues with XP
Anybody else have any issues with any of the openGL API?s in WinXP ?
Hmmm. Weird.
Glu
Hmmm. Weird.
Glu
Fb Win 32 OGL Examples
Okay, I went back to that Win XP Rig and found out that it has Data Execution Prevention Software and a compatible chip to run it.... What that Service Pack 2 (SP@) is coming out with for Win 2oo3 Server and Win XP.
What an "annoying" #!@#!!? thing it is. It tried to shut down MS Notepad because i was using it to code with! Can you beleive that!
Changing DEP from essential Windows processes to all programs "except those I select" even truned out worse.
This is serious and has all kinds of implications for the computing industry, users, programmers ect.
It can be truned off "permanently" from the root drive where boot.ini is at ...if not read only, that is.
Yep, that's what I heard. The setting should be set to =AllwaysOff But, I have'nt tried it, so don't try it yourself, if you have that SP2.
Anyways, it's not my machine, so I wont do it.
So, until later, Later then.
Glu
What an "annoying" #!@#!!? thing it is. It tried to shut down MS Notepad because i was using it to code with! Can you beleive that!
Changing DEP from essential Windows processes to all programs "except those I select" even truned out worse.
This is serious and has all kinds of implications for the computing industry, users, programmers ect.
It can be truned off "permanently" from the root drive where boot.ini is at ...if not read only, that is.
Yep, that's what I heard. The setting should be set to =AllwaysOff But, I have'nt tried it, so don't try it yourself, if you have that SP2.
Anyways, it's not my machine, so I wont do it.
So, until later, Later then.
Glu