Primitive Box Texure

Started by qcrist, August 21, 2011, 04:19:37 AM

Previous topic - Next topic

qcrist

How are textures on boxes wrapped around the box?

Rephrase:
How should box sides be positioned in the texture?

EgonOlsen

Objects created by the Primitives class have no texture coordinates. I'll enhance the docs to make this clear, because i had to write this in the forum over a dozen times.... ;)

If you want proper texture coordinates, load a box model or create one in code. There should be some code that does this somewhere around here.