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 / Object Screen x() / y() when offscreen

Author
Message
Andy Igoe
23
Years of Service
User Offline
Joined: 6th Oct 2002
Location: United Kingdom
Posted: 5th Jun 2003 18:35
For a current project I need to draw a 2D line between two 3D objects but the problem I have is when the object goes offscreen, does anyone know how I would assertain the co-ordinates to draw the line at when this happens?

It is possible for both of my objects to go offscreen but the line to intersect the viewpoint.
Pneumatic Dryll
http://www.users.globalnet.co.uk/~thane/char01.jpg[/img]
Andy Igoe
23
Years of Service
User Offline
Joined: 6th Oct 2002
Location: United Kingdom
Posted: 5th Jun 2003 19:06
LOL - ignore me, my object culling routine was re-assigning the objects when they where offscreen, object screen x()/y() works

Pneumatic Dryll

Login to post a reply

Server time is: 2026-07-12 00:07:39
Your offset time is: 2026-07-12 00:07:39