Skip to main content
GameDev.net gamedev.net
🔒 Locked

New Base Code

Started by Khrob Apr 2, 2001 at 9:54 AM 23 replies 1.5k views
Original Post
Khrob
Khrob
Just a quick mesage to say - Love the new base code - very tidy. WOrks absolutely fine on Celery 450 with TNT2. Just about finished that tute too. ________________________________________________________ I used to be indecisive. Now I''m not so sure...
_________I used to be indecisive. Now I'm not so sure...
jwblair
jwblair
Base code fails to work for me. Even with all the options turned off. However, all the tutorials work fine. What is going on?



Thanks!

John William Blair
Thanks!John William Blair "The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he who, in the name of charity and good will, shepherds the weak through the valley of the darkness. For he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and f
Jenison
Jenison
The new code worked fine with me (VC++).
Good work NeHe...

8)





Jenison
''Things are more like they are now then they ever were before'' - Truman
Khrob
Khrob
jwblair - what system are you running? compiler?

_________________________________________

I used to be indecisive. Now I''m not so sure...
_________I used to be indecisive. Now I'm not so sure...
omegasyphon
omegasyphon
what new base code are u talkin about?
Nibbles
Nibbles
check NeHe''s website.

and to NeHe (if ya read this), does this mean you''re going to rewrite all of your tutorials with the new base code? just razin ya

Excellent improvment btw, I''ve had no problems under Windows 2000 Professional, P3 866, 256 MB, ATI Xpert 2000 (yes i need a better vid card).

Scott
TonyFish
TonyFish
What are the chances of the Base code going OO ? I''m not really a structs person !!

[-T-] Out
<Fish>{
Flous
Flous
It run''s fine on my Win98 Radeon setup. And I think it''s a great improvement. But how should I get it to work on Voodoo3 class hardware, keeping in mind that I don''t have one...

And pleez, no OO (my 2 cents)
InFerN0
InFerN0
Why don''t you make an OO version Tony?
InFerN0Not all who wander are lost...
RickQ
RickQ
New base code, halleluja.
TerraX
TerraX
Oooo New base code!! Where?
<--CAn''t find it
I''d love to look at this new code, but (being a newbie to EVERYTHING), I am unable to find it
TerraX
TerraX
Thanx for the link Martee, much appreciated

Ooooo, it getz rid of that annoying taskbar when running fullscreen and "always on top" is hilighted in options, nice!
Dr Nick
Dr Nick
Nehe, the new basecode fails on my Voodoo3, and tries to change the color depth from 16 bpp to 32 bpp on exit.

Take Care.

DN.
Dr Nick
Dr Nick
I realized I should be more verbose when I say it fails. Switching from fullscreen to windowed mode fails and causes an error in 3dfxogl.dll

DN.
TerraX
TerraX
I've been playing around with the new base code today, the Update function that updates yer variables according to time past is a great feature

Although, just one small problem (Not with the code, just my brain).
How'd I go about swapping the buffer?
What I mean is, with the old basecode, I just used summin like "SwapBuffers(hDC);" and it would funnily enuff, swap the buffer

But with this cool, new basecode, my little brain is havin' difficulty figuring it out
I've tried some bizarre stuff like...
SwapBuffers (g_window.hWnd);
SwapBuffers (GL_Window.HGLRC);
SwapBuffers(HGLRC);
SwapBuffers (window.hDC;

As U can probably tell, I dunno what I'm really doing
Please help a newbie out

TerraX - Newbie OpenGL lover from England.

Edited by - TerraX on April 4, 2001 5:51:30 PM
TerraX
TerraX
Damnit! I feel so stooopid!

Found out the solution, may as well post it...

SwapBuffers(g_window->hDC); // Works just fine
NeHe
NeHe
Thanks guys. I''m working hard to fix up the few remaining problems. The maximize window code is being worked on right now, and hopefully I can clear up the 16/32 bit switching problem, although on my card, the desktop is restored properly...

Would like to note that I''ve been getting alot of email from new GL enthusiasts commenting on how nice the people in the forum are!

Definitely a nice thing to hear!

So thanks again. If you stumble across any other issues, let me know


thuned
thuned
yay, finally the resolution is changed AFTER the window closes. now more crashing for me


thuned

life is unfair, take advantage of it.
UNMB2 - if the link doesn''t work, try clicking it
life is unfair, take advantage of it.UNMB2 - if the link doesn't work, try clicking it :)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.