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.

AppGameKit Classic Chat / 3d coordinates to screen coordinates

Author
Message
pamercomov
FPSC Reloaded TGC Backer
9
Years of Service
User Offline
Joined: 2nd Jan 2015
Location: palma de mallorca
Posted: 10th Feb 2015 07:56 Edited at: 10th Feb 2015 08:01
hello again.
as I can convert 3D coordinates screen coordinates ??
I have a 3d environment with moving objects and want to use the command
DrawLine (x, y, x2, y2, red, green, blue)
what happens is that if I use the 3D positions of objects are created lines off screen .... as I convert those positions?

is there any command that I have found for that? or I have to do the function?
thx

edit:: sorry, because I found it.
as I can delete the post?

using AppGameKit V2 tier 1
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 10th Feb 2015 10:48
If you found the solution, rather than delete your post, why not share your findings with the community? It could be useful for other people experiencing the same problem.

V2 T1 (Mostly)
Uzmadesign

Login to post a reply

Server time is: 2024-05-25 09:41:44
Your offset time is: 2024-05-25 09:41:44