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.

Newcomers DBPro Corner / Screes half black and half green

Author
Message
Ambitious Guy
16
Years of Service
User Offline
Joined: 1st Aug 2008
Location: Florida, USA
Posted: 9th Jan 2009 16:47 Edited at: 9th Jan 2009 16:51
I compiled my code and I get a big tile of green and all of the other screen is black. Here is my code.


The Geek of our time
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 9th Jan 2009 19:42
I haven't looked at the code in detail, but my guess is you are very close to or inside an object.

Dabbler
17
Years of Service
User Offline
Joined: 3rd Mar 2007
Location: Minnesota
Posted: 10th Jan 2009 02:13
I looked at your code earlier, but I have been out all day and this is my first chance to respond.

First: set display mode wipes out direct x stuff, so, do that before you load your models and images.

Second: I don't see the need to declare camera 1, camera 0 is the default camera and it should be fine here.

I recomend that you move this:



up, before you load your models and images.

and here:



remove the make camera command (also the sync rate 60), and change the camera number in the follow to 0.

Give it a try, and I hope it helps


Whatever...
Not_Maindric
17
Years of Service
User Offline
Joined: 10th Jul 2007
Location: Omaha, NE
Posted: 10th Jan 2009 02:37
Also, shouldn't you put slashes in your directories?

Login to post a reply

Server time is: 2024-11-25 12:15:19
Your offset time is: 2024-11-25 12:15:19