Author Topic: Primitive Box Texure  (Read 545 times)

Offline qcrist

  • byte
  • *
  • Posts: 29
    • View Profile
Primitive Box Texure
« on: August 21, 2011, 04:19:37 am »
How are textures on boxes wrapped around the box?

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

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11747
    • View Profile
    • http://www.jpct.net
Re: Primitive Box Texure
« Reply #1 on: August 21, 2011, 10:25:03 am »
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.