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 / .x problem

Author
Message
alex911
20
Years of Service
User Offline
Joined: 11th Nov 2004
Location: down the tube , to the left
Posted: 26th Feb 2005 23:06
hi i am a newb as for coding , i read some tutorials (like the pong game tut and so on) . i was trying to load a .x format in dbro (from cartography shop), but if run the exe all i see is blue
P.S. if it is any help i found the code by the tut from car shop by "Loading maps in DBpro"

thank you in advance

*put stupid comment here*
RiiDii
19
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Inatincan
Posted: 27th Feb 2005 05:06
The object's default position is 0,0,0, which is the camera's default position. According to that code, you would be 'inside' the object looking out, which means you won't see the object (unless you Set Object Cull 1,0). Try using Position Object 1,0,-20,100 (or try other numbers).
Also, you could add this to your Do/Loop to move the camera around and ensure you can (eventually) see your object:



Left/Right Key=Turn Camera Left/Right
Up/Down Key=Pitch Camera Down/Up
Mouse Move= Move Camera Up/Down & Left/Right
Left Click + Mouse Move = Zoom In/Out & Left/Right

"Droids don't rip your arms off when they lose." -H. Solo

REALITY II
alex911
20
Years of Service
User Offline
Joined: 11th Nov 2004
Location: down the tube , to the left
Posted: 27th Feb 2005 22:31
i tried to see it ,but all i see is plain blue
i want to load a map if it may be any help

*put stupid comment here*

Login to post a reply

Server time is: 2024-11-27 23:48:05
Your offset time is: 2024-11-27 23:48:05