I found this little script of a cube a couple of weeks ago and I decided to try to use some techniques I've seen to texture it.
http://particle.homeip.net/boxes.html
Here's my test
Probably only works in FF, but I didn't test others yet.
http://www.hardwoodfloorspdx.com/misc/javascript/canvas/test/cube/
I need some ideas about two things.
What's the best way to go about backface culling. Is it best to reference from the origin point, or to compare the points independent of the origin?
And the next step after that is going to be finding a better way to make the image look realistic.
Does anyone have any suggestions? I think I can figure out how to use image slicing to clip more triangles and get a better effect, but I have really no clue where to begin determining how many and where on the image to place them so I just need a little nudge.
I know there are several examples out there already, but I would like to try to make my own lame attempt.
WWPD
(what would p01 do?)