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 / Camera to object(s) distance

Author
Message
Frans
16
Years of Service
User Offline
Joined: 12th Sep 2008
Location: Netherlands
Posted: 14th Nov 2008 09:56
Hi,

I am trying to realize a gravity based solar system simulation.
Ran into a problem concerning maximal camera-object distance.
Beyond relativaly short distances the objects are not visible anymore.

Do I have to scale down the real distances to smaller ones for the 3d world units or so?

Greetings.
BlobVanDam
16
Years of Service
User Offline
Joined: 26th Jul 2008
Location: one of Cybertrons moons
Posted: 14th Nov 2008 11:25
You can use the "set camera range" command to increase the draw distance so you can see further away objects without them disappearing.
You may also need to scale down your units, but without knowing the size of your objects, don't know for sure. But if you're making a scale solar system, I'd think the individual objects would be pretty small compared to the distances between them.
Frans
16
Years of Service
User Offline
Joined: 12th Sep 2008
Location: Netherlands
Posted: 14th Nov 2008 11:38
I use SET CAMERA RANGE already, doesn't help in this matter though.
I've been reading somewhere in the help system about a maximimum of 5000 units.
But since I 'upgrated' to the current DBP-version, cannot find it anymore.

Well Blob, thanks anyway.
Maybe somebody else has got an idea.
Virtual Nomad
Moderator
18
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 14th Nov 2008 12:49 Edited at: 14th Nov 2008 12:51
i recently upgraded to 7.0 and can confirm the max camera range is well beyond 5000.0; i just checked it @ 1.5 MILLION and can still see my sphere with a diameter of 500.

pay attention to the Near Value when setting the range.

in the 1.5 million test above...

this works :


this does not :


don't ask me why 'cause i don't know

if that doesn't help, are you doing any light work? if so, set your object to ignore them to check that your camera range is ok.

ie,

SET OBJECT LIGHT ObNum,0

otherwise, we'll need more info on what you're doing in your app. to be of much help.

Virtual Nomad
AMD XP 1800+ (~1.6 Ghz) / 1.5 GB RAM
ATI Radeon 8700LE 128 MB / Windows XP
Frans
16
Years of Service
User Offline
Joined: 12th Sep 2008
Location: Netherlands
Posted: 14th Nov 2008 19:23
Shamefull I had to realize to have used integer- in stead of floating parameters for SET CAMERA RANGE.

Apologies.

Login to post a reply

Server time is: 2024-11-24 16:30:36
Your offset time is: 2024-11-24 16:30:36