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.