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 / Begginer Problem

Author
Message
Hepy
20
Years of Service
User Offline
Joined: 16th Apr 2004
Location: United Kingdom
Posted: 16th Apr 2004 15:47
Hi, im new, im using DBC. Please may i have some advise on how to load a GEOSCAPE 3D file into my game? thanks for your time, hepy

Hepy
GameKit
21
Years of Service
User Offline
Joined: 6th Mar 2003
Location: USA, Staring Blankly at a Computer
Posted: 16th Apr 2004 17:32 Edited at: 16th Apr 2004 17:36
First, put the file you want to use in your program in the folder...
"C:\Program Files\DarkBasic Software\Dark Basic\My Projects\[Your Project's Name]"...(I might have mispelled something)

Then, Type in the following code before your main loop...
Load Object "[File Name With Extension]",[Object Number]

Like if your Object was named CoolCar.3ds and you wanted the obect to be object one then your code would say...

Load Object "CoolCar.3ds",1

...Well...I hope I helped...

[Edit]
You might have to export the 3D Model as a File Type that DarkBasic Classic can handle, .x or .3ds ect...

Thou shalt not thwart the way of the dragon. For thou tasteth like chicken.

Login to post a reply

Server time is: 2024-09-22 05:52:47
Your offset time is: 2024-09-22 05:52:47