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.

DarkBASIC Professional Discussion / large distand objects

Author
Message
powershock
22
Years of Service
User Offline
Joined: 17th Nov 2003
Location: Arizona
Posted: 17th Nov 2003 19:59
How do I keep track and display large objects form a distance? for

example: aproching the star wars Dethstar from a far away distance to entering it's hanger bay.

Does any one have a sample code I can learn from.
thank's
Philip
23
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 19th Nov 2003 13:37
We'd try to help you but you need to explain yourself a bit more clearly.

Philip

What do you mean, bears aren't supposed to wear hats and a tie? P1.3ghz / 384 megs / GeForce MX 5200 128meg / WinXP home
John Y
Synergy Editor Developer
23
Years of Service
User Offline
Joined: 4th Sep 2002
Location: UK
Posted: 19th Nov 2003 16:21 Edited at: 19th Nov 2003 16:22
Use this distance code which detects the cameras postition to an object



Then when this value is less than 10 say, then you start showing the objects you want for your bay.

Level Maker 3D: Download from www.levelmaker3d.co.uk/levelmaker3D.asp
DarkBasic Professional Editor: Download from www.levelmaker3d.co.uk/ide.asp
powershock
22
Years of Service
User Offline
Joined: 17th Nov 2003
Location: Arizona
Posted: 21st Nov 2003 03:02
I am trying to make in a sense a basic solar system simulator. I know there are a lot of simulators out there. I am just using it to understand how to display and keep track of large, moving distant objects while also moving close enough to see more details of the object or even moving into or on to the surface of the object. I will also be trying to keep track and display of much smaller objects at the same time.

Login to post a reply

Server time is: 2026-07-26 20:14:40
Your offset time is: 2026-07-26 20:14:40