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 / Text appearing in 3D space using "center text object screen x(obj),object screen y(obj), "String""

Author
Message
Eelko Gielis
23
Years of Service
User Offline
Joined: 30th Oct 2002
Location: Netherlands
Posted: 3rd Aug 2003 19:24
I have a problem when rotating de camera in 3D the text of my object is appearing 180 degrees from my object in screen.

I am using this for tracking planets in space, since they disappear ot of the camera range of 3000 points.

Is there any way to tel what is in front and what is behind the camera view, in DBPro.

Thanks
andrew11
23
Years of Service
User Offline
Joined: 23rd Feb 2003
Location: United States
Posted: 3rd Aug 2003 20:01
Use object in screen() before putting text.

Example:



"All programmers are playwrites and all computers are lousy actors" -Anon

Login to post a reply

Server time is: 2026-07-23 00:36:34
Your offset time is: 2026-07-23 00:36:34