Discuss Scratch

ospreyb
Scratcher
1 post

3D layering

I need help, I am making a 3D engine, but the layering messed up the rendering read the instruction on the project, here is the link
https://scratch.mit.edu/projects/1362349969/
dem_bot
Scratcher
1000+ posts

3D layering

You have a rather strange distance formula. |dx| + |dy| + |dz| you can try the real distance formula (dx2 dy2 dz2) or use the z coord from after you do the transformations with the camera

Powered by DjangoBB