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.

3 Dimensional Chat / 3d flight simulator

Author
Message
Billy
21
Years of Service
User Offline
Joined: 11th Sep 2003
Location:
Posted: 11th Sep 2003 23:04
Hi, 3d-programmers. I just tried to create a little flight-simulator.
I created a world using a matrix as a floor and textured it , then i put a sky-sphere around it. Right after that i put a bluesky-texture with clouds on that sphere and scrolled the texture in the main program loop.
Then i created an airfield with a tower and hangar on the right side,
and put it in my world. Now everything's looking pretty good. But i've got one little problem. I want to use a 3ds-model(or .x-file), like a f14 or f15 etc., with which i can fly. I tried to find some
models via internet. I found a lot of stuff in 3d-cafe.
I downloaded a few models of f14, tanks, ships, and so on, and tried to show them in my world. But then there's a very big problem!
My darkbasicpro says "Runtime Error1(Broke from nested subroutine. Cannot resume programm after cli.usage.", like i've forgotten to close a for next loop or so.
If i only change the load command: object "f14.3ds",1 into: "example.3ds",1 ,
everything's working good. So what's wrong?
Then I tried to load the f14.3ds-file with anim8or. There it looks absolutely perfect. I exported it to a 3ds-file in the same directory of my flightsimulator and tried to load it.
Then i can see the object without an error-message but without any colours and only in white.
Some other objects, that i downloaded appear with shades on it, but also in black and white.
And that's my big problem. Why are there no colours?
If i create an object with anim8or an texture it, it will appear in the darkbasicproworld like i created, with textures, colours etc.
I don't want to create a f14 or f15 model on my own, because there are so many to download.
Who can help me?

Billy

B.K.
arras
22
Years of Service
User Offline
Joined: 3rd Feb 2003
Location: Slovakia
Posted: 16th Sep 2003 11:02
Are you sure there was texture shiped with model? Some models you can download like this lack texturing...

If yes just look at export properities in anim8tor and check that it export texture too. And last be sure that texture file (bmp probably) is in the same directory like model.

You can also try to texture in DB just load aircraft texture and aply it on your object. If it cept UV coordinates it should look OK afther.
Billy
21
Years of Service
User Offline
Joined: 11th Sep 2003
Location:
Posted: 17th Sep 2003 21:11
Hi. Thank You for Your answer. The mysterious thing was, that there was no texture shipped with this 3ds-model. But it appears fully coloured in anim8or.

B.K.

Login to post a reply

Server time is: 2025-06-26 20:19:03
Your offset time is: 2025-06-26 20:19:03