View Josiah's post (Mode7 I don't und...) for this comment.

SmileBASIC Community

TN21

Spoilers · 03/03/2016 11:05 PMPlayed

The equation I use for 3D projection is X2D=X/Z*ZOOM:Y2D=Y/Z*ZOOM Using algebra, assuming a constant Y you can easily derive the equations Z=Y/Y2D*ZOOM:X=Z*X2D/ZOOM Which should get you 3D coordinates from 2D coordinates and a constant Y value. Using this you can easily use the X and Z coordinates as X and Y coordinates and place pixels accurately on the screen for the mode 7 effect.

Advertisement

You are about to report a post with content which violates the Miiverse Code of Conduct. This report will be sent to Nintendo's Miiverse administrators and not to the creator of the post.

Violation Type:

Edit Comment

Select an action: