Not logged in, Join Here! or Log In Below:  
News Articles Search    

 Home / 3D Theory & Graphics / Can Anyone can help me with Correct display 3D point in 2D Account Manager

September 25, 2013, 02:53 PM

I've search for formulas, or something to correct draw 3D point in 2D coorinates.
This is what i got:
But if move cam in sides it change form too bad:

ive used formula:
X' = ((X - Xc) * (F/Z)) + Xc
Y' = ((Y - Yc) * (F/Z)) + Yc

I don't need to draw textres or shadows, just to display correct "wireframe" cube in 3D,
Can anyone dive working code or someth.
cos ive read many articles about matrix and thrigonometry, but there is no code!


October 01, 2013, 10:38 AM

Yo man, them formulas are dope.
But imma gonna teach you the righte way.
It seems to me that you are not taking fov into account. But that's allrite.
Here's a tutorial for you that contains codez.

This thread contains 2 messages.

If you'd like to post a comment on this discussion thread, please log in or create an account.

Hosting by Solid Eight Studios, maker of PhotoTangler Collage Maker.