Reversed textures
Posted: Sun Jan 24, 2010 12:00 pm
Is there any hope of getting Oolite to show a texture as-is? it's annoying having to do everything in reverse.
For information and discussion about Oolite.
https://bb.oolite.space/
you should be able to show a texture "as is".., it is more than likely your model file exporter is not negating the vertex data correct...Killer Wolf wrote:Is there any hope of getting Oolite to show a texture as-is? it's annoying having to do everything in reverse.
Code: Select all
# negate x value for vertex to allow correct texturing...
x = -float(tokens[1])
y = float(tokens[2])
z = float(tokens[3])
Er, no. Actually it’s a result of Oolite’s coordinate system not matching that of OBJ files (or most other 3D file formats). Without proper correction, the entire model is mirrored, not the textures as such.Frame wrote:Reverse textures is a "feature" of OpenGL texture-ring, since it reads the texture from bottom left, instead of top right as you are used to in a paint program.