Topic: texturing a cube (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=31584" title="Pages that link to Topic: texturing a cube (Page 1 of 1)" rel="nofollow" >Topic: texturing a cube <span class="small">(Page 1 of 1)</span>\

 
racerX
Nervous Wreck (II) Inmate

From: Portland Oregon
Insane since: Jun 2006

posted posted 01-10-2010 21:34

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?)

coach
Nervous Wreck (II) Inmate

From:
Insane since: May 2011

posted posted 05-31-2011 11:03
Edit TP: spam removed


Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu