Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [LOCKED] [DBP] Spooky environment Test

Author
Message
CuCuMBeR
21
Years of Service
User Offline
Joined: 11th Jan 2003
Location: Turkey
Posted: 4th Feb 2008 19:19 Edited at: 5th Feb 2008 20:44
EDIT:

Okay had to delete this post because it doesnt seem to work on every graphic card.
More information on this thread:

http://forum.thegamecreators.com/?m=forum_view&t=123335&b=1

There is always one more imbecile than you counted on.
CuCuMBeR
21
Years of Service
User Offline
Joined: 11th Jan 2003
Location: Turkey
Posted: 4th Feb 2008 19:23
Picture

There is always one more imbecile than you counted on.

Attachments

Login to view attachments
Toz
16
Years of Service
User Offline
Joined: 14th Oct 2007
Location: The Netherlands
Posted: 4th Feb 2008 19:44
That looks really nice Cucumber. But when I compile your code the chapel doesn't seem to appear. Any ideas why this happens?

Don't read this, read the above.
CuCuMBeR
21
Years of Service
User Offline
Joined: 11th Jan 2003
Location: Turkey
Posted: 4th Feb 2008 20:16 Edited at: 4th Feb 2008 20:21
Hmm..Thats probably because i enabled zBias on the sky object and your graphic card doesnt support it.
Or, is your DBPro up to date? u have the latest directx?
Whats your graphic card anyway?
I dunno what else..

Try this code to find out if its the zBias thing, but then you may often see the lightnings going through the chapel and any other objects in screen, which we dont want:



There is always one more imbecile than you counted on.
JosephB
17
Years of Service
User Offline
Joined: 12th Sep 2006
Location:
Posted: 5th Feb 2008 12:23
Nice looking and provides an atmosphere that could be spooky. I had the same problem with the zbias as with zbias enabled for objects 1 and 11, object 11 did not show. When I disabled them, all objects could be shown, but as I moved away from the church, it slowly disappeared. My video card is not bad, Nvidia GeForce 7600 GT with 256 MB DDR.
CuCuMBeR
21
Years of Service
User Offline
Joined: 11th Jan 2003
Location: Turkey
Posted: 5th Feb 2008 12:53
Strange..
I have ATI RADEON XPRESS 200M and zbias works as it should.

Could you guys try this piece of code to see if your card supports zbuffer?



There is always one more imbecile than you counted on.
wh1sp3r
20
Years of Service
User Offline
Joined: 28th Sep 2003
Location: Czech republic
Posted: 5th Feb 2008 14:28
CuCuMBeR : My card support "ZBUFFER AVAILABLE()", it returns 1.
I cant see sky's and lighting


PS: Real programmers aren't afraid of math!.
CuCuMBeR
21
Years of Service
User Offline
Joined: 11th Jan 2003
Location: Turkey
Posted: 5th Feb 2008 15:16
Veeery strange.

There is always one more imbecile than you counted on.
chunks chunks
17
Years of Service
User Offline
Joined: 2nd Jan 2007
Location: ackworth uk
Posted: 5th Feb 2008 17:02 Edited at: 5th Feb 2008 17:03
mine supports zbuffer too, as like wh1sp3r cant see the sky and lightning..

ive got nvidia go 7300 although its on laptop it usually shows all everthing..


might be somthing to do with the textures cos the chapel looks fine and i get a full screen flash ..

looks cool though well done ..

thank chunks
CuCuMBeR
21
Years of Service
User Offline
Joined: 11th Jan 2003
Location: Turkey
Posted: 5th Feb 2008 20:45
deleted this code, more information on first post.

There is always one more imbecile than you counted on.
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 6th Feb 2008 04:15
Locked thread to avoid the inevitable posts asking why there's no code snippet to see in this thread...

TDK_Man

Login to post a reply

Server time is: 2024-05-17 03:48:23
Your offset time is: 2024-05-17 03:48:23