creating an object from FloatBuffer

Started by raft, December 27, 2009, 06:58:28 PM

Previous topic - Next topic

raft

yeah, they seem valid.
min: 0.005225
max: 0.996512

raft

i've discovered something strange: i flipped the texture vertically with an image editor. i expected the result will be same as (u, 1-v) but it isnt. it's also different from (1-u, v)  ???

raft

solved ;D i posted to Ardor3d forums and one said he can generate my screenshot using upper left part of texture (0.5*u, 0.5*v)
and that reminded me calling recreateTextureCoords(). i really forgot these things  :o

here is how it looks now, in SW renderer, without any lights:


r a f t

raft

it may help accepting null uv array in new constructor.