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 / load object help

Author
Message
OneTouch
21
Years of Service
User Offline
Joined: 23rd Jan 2003
Location:
Posted: 29th Jan 2003 08:31
I am using this code to load a object...


Sync on
Sync rate 60
load object "skybox.x", 1

Skybox.x is in my project folder, is this correct?
When I try to load, I get an error saying it could not find skybox.x.
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 29th Jan 2003 10:12
you need a little bit more code for a good tester script

a really small basic is this




adjust the camera position to suit what model u are looking.

understand the xyz positions of the camera and your objects and it gets easier each time u have to apply 3d concepts.


Now if you havent made a project folder for your example DBP wont know the basepath and therefore not know where the skybox file is.


steps to try :

make a folder
save the model in that
save your code there also
save a project file
run it

Login to post a reply

Server time is: 2024-09-19 02:57:50
Your offset time is: 2024-09-19 02:57:50