Page 1 of 1

Draw isometric cube

Posted: Sun Feb 19, 2017 8:04 pm
by steVeRoll
Hi everyone! After playing Ortho Robot (which, by the way, was made with löve :3 ) I wanted to start drawing isometric cubes with variable rotation, but I have no knowledge that can help. Do you have any resources that are related, or a function that can convert variable cube rotation to 2d points on screen? Thank You!

Re: Draw isometric cube

Posted: Sun Feb 19, 2017 9:35 pm
by raidho36
The way you do it is by transforming positions of all vertices of a cube by some function, usually being a pre-computed transform matrix. You're basically looking for projection matrix library - try CPML, it most definitely has what you're looking for.