PDA

View Full Version : New OpenGL demo posted



BwB
09-17-2000, 03:54 AM
I just posted the first demo release of the 3d engine I've been working on, any feedback is greatly appreciated.
You can find it here: http://www.geocities.com/kyberteknik

Bob
09-17-2000, 06:54 AM
Would like to complain about the size of the world, could have been slightly larger with some more scenery. http://www.opengl.org/discussion_boards/ubb/biggrin.gif

Joke aside. Works nice, look s nice. Nothing to say.

Win2k, 2x733 MHz (useless to say, since it was only using one processor http://www.opengl.org/discussion_boards/ubb/smile.gif ) and a good ol' TnT (I really like those cards, they are awesome, it's the programmers that don't know how to use the card to it's true potential. GeForce-like cards are just too fast for todays consumer-level computers)

BwB
09-17-2000, 11:39 AM
Just out of curiosity, Bob, did you get the scrolling clouds (both layers?) I had a problem with a Riva 128 a while back and I havent been able to test it again on a TnT. I should have put a really good description http://www.opengl.org/discussion_boards/ubb/smile.gif There is supposed to be 2 layers of scrolling clouds and a big star in the sky as well as a purple gradient coming up from behind the mountains.

DFrey
09-17-2000, 11:47 AM
Ok, I tried it out on my TNT using the 5.22 drivers since the newer ones are slower for me. I noticed a few quirks.
1. The model's shadow did not appear until I raised the viewpoint up a bit from the starting position. Any lower and z fighting hid it partially or altogether.
2. While the fog was on, the shadow was bright red, regardless of distance viewpoint was from model.
3. Was the model supposed to be walking in slow motion? It was smooth and real slow.
4. Bringing down the unfinished console background dropped the FPS to a paltry 2 FPS. http://www.opengl.org/discussion_boards/ubb/tongue.gif (Otherwise it topped out at 30 FPS)
5. I was able to get rain to go up and down at the same time!

Amp
09-17-2000, 08:50 PM
Nice

BwB
09-17-2000, 11:47 PM
Well, DFrey, spounds like it works perfectly (except for the shadows http://www.opengl.org/discussion_boards/ubb/smile.gif. Yes, the model was animated in a heavy space suit to look like she was walking in an antigravity situation. The console is unfinished (and hence is why I didnt mention it kudos for finding it though http://www.opengl.org/discussion_boards/ubb/smile.gif And yeah, the snow and rain can go up and down http://www.opengl.org/discussion_boards/ubb/smile.gif I didnt add the code to fix this because it just wasnt important to me. About the fog, does anyone know why thats happening? I use the polygon offset (and I check if the extension is available and use that if 1.1 isnt supported) to get rid of the Z fighting, it works on my card explicitly it seems (and the shadows are black on my card too). I use the function from ShadowyLeapinLizards demo to produce my shadow matrix, why would that cause the shadows to be fogged entirely? The non-homogenous transformation? I guess I could turn off the fog while rendering the shadows... I'm quite happy its running on other computers though, and for the speed, I starting to work on view frustum culling to help that out. Any other suggestions?

Bob
09-18-2000, 07:18 AM
Cound't see any strange thing with the sky. Could see the clouds flowing, and the starts behind the clouds. So I assume everything is OK on that part http://www.opengl.org/discussion_boards/ubb/biggrin.gif

09-18-2000, 12:22 PM
I haven't been able to make it work, i get a strange error message.

GLError #1282 in P:\Zeus\Engine\zFont.cpp(72)[invalid operation]

and then a failed assertion in line 72 of same file that says Expression(0).

Maybe it's because I run Win2K? Also i don't have a drive P: so it kind of baffles me to have an error like that http://www.opengl.org/discussion_boards/ubb/smile.gif.

BwB
09-18-2000, 02:39 PM
Originally posted by DarkAngel:
I haven't been able to make it work, i get a strange error message.

GLError #1282 in P:\Zeus\Engine\zFont.cpp(72)[invalid operation]

and then a failed assertion in line 72 of same file that says Expression(0).

Maybe it's because I run Win2K? Also i don't have a drive P: so it kind of baffles me to have an error like that http://www.opengl.org/discussion_boards/ubb/smile.gif.


What kind of hardware do you have? I know that the demo works with Win2K, I've tried it. The reference to drive P: is completely a debugging reference. If you noticed you dont have a zFont.cpp file either.. it's only relevent to my computer.. Line (72) is the the line that calls glBegin() within a glNewList(). I'm not sure why that would be crashing. Aren't compiled display lists available in all GL versions? And do the forbidden commands apply within glBegin/glEnd when compiling a display list?
I bet thats what the problem is can anyone confirm? I'll take out the glGetError call and upload a new version late tonight (unless someone can tell me this isnt the problem of course http://www.opengl.org/discussion_boards/ubb/smile.gif