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 / Q about hiding objects

Author
Message
Professor
20
Years of Service
User Offline
Joined: 7th Oct 2004
Location: USA
Posted: 1st Nov 2004 05:22
Hi all!

Just a few questions about hiding objects

How do i hide objects thats about 100 meters away from me?

Ok, say if i have my fog level set to 100 meters, how would i hide a
a\all objects thats farther then 100 meters?

Thanks!

Jöë Mâmä
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 1st Nov 2004 06:24 Edited at: 2nd Nov 2004 09:25
If they are all individual objects then set camera range .1, 100 will auto hide all objects over 100 units away. You can also loop through and check each objects distance to the camera and if it is 100 or more then hide object.


or similar.

Professor
20
Years of Service
User Offline
Joined: 7th Oct 2004
Location: USA
Posted: 1st Nov 2004 11:05
Thanks Lost in Thought!

Jöë Mâmä
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 1st Nov 2004 13:07
Hope it helps let us know how it goes

lickuidstylz
20
Years of Service
User Offline
Joined: 13th Aug 2004
Location: MD in USA
Posted: 2nd Nov 2004 04:46
Hmmmm I was going to ask that same question soon down the road, I better leech this solution while I can... That's a VERY useful little tool. Thanks in advance to L.I.T. and to Joe for asking.

Hack the GIBSON!!! Hahaha What a corny movie!! But it was the Shiznitobam Snip Snap Sack..What did I just say?
Ric
20
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 2nd Nov 2004 08:36
Quote: "if sqrt(checkX^2 + checkY^2 checkZ^2) > 100"


just pointing out the missing + sign which should go between the y and z terms. (Not meaning to be picky - I know it was just a typo, but incase anyone hasn't come across the equation before and didn't realise)


Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 2nd Nov 2004 09:25
Thanks lol. I edited my post above.

Login to post a reply

Server time is: 2024-11-27 15:57:22
Your offset time is: 2024-11-27 15:57:22