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.

Dark GDK / need help with sky box

Author
Message
Crazy Programmer
AGK Developer
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Lost in AGK
Posted: 7th Nov 2008 03:47


Iv been playing around with some code and when i load the sky box the models get all glitchy and the faces scatter...any help?


http://www.freewebs.com/zornoxstudios/
Learning C++ thanks DGDK
Mason
20
Years of Service
User Offline
Joined: 20th Mar 2004
Location: Arizona
Posted: 7th Nov 2008 04:52
Not sure if this will help, but Tdk man gives a lot of information about skyboxes in this thread: http://forum.thegamecreators.com/?m=forum_view&t=58335&b=10


Crazy Programmer
AGK Developer
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Lost in AGK
Posted: 7th Nov 2008 23:42
i dont think its the skybox its the camera


http://www.freewebs.com/zornoxstudios/
Learning C++ thanks DGDK
Crazy Programmer
AGK Developer
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Lost in AGK
Posted: 12th Nov 2008 02:01
no ideas what im doing wrong?


http://www.freewebs.com/zornoxstudios/
Learning C++ thanks DGDK
sydbod
16
Years of Service
User Offline
Joined: 14th Jun 2008
Location: Just look at the picture
Posted: 12th Nov 2008 06:01 Edited at: 12th Nov 2008 06:10
Can you upload a picture of the problem, so people know what you are talking about.
Your description is not very easy to understand.

Try this:

Your code:



Firstly comment out "dbBackdropOff ( );" and see if that helps.

Secondly (and most importantly) "dbSetCameraRange ( 0, 30000 );" is a near:far range of infinity and that is an impossible setting.
Try using "dbSetCameraRange ( 3, 30000 );" and even that is stretching the camera near:far ratio past its comfortable range.

Login to post a reply

Server time is: 2024-09-30 11:24:53
Your offset time is: 2024-09-30 11:24:53