www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: qcrist on August 21, 2011, 04:19:37 am

Title: Primitive Box Texure
Post by: qcrist 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?
Title: Re: Primitive Box Texure
Post by: EgonOlsen 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.