Re: [osg-users] Lookup texture coordinate issue

2014-05-17 Thread Paul Pocock
It's sorted.My tex coordinate generation was wrong.. :P On 17/05/14 09:50, Paul Pocock wrote: Hi, I have a 4x4 float texture containing positions ranging from 0 ..10. I have a lookup float texture a 64x64x64 packed as a 2D texture 64x4096 containing some vectors in each texel. the 64x64x64

[osg-users] Lookup texture coordinate issue

2014-05-16 Thread Paul Pocock
Hi, I have a 4x4 float texture containing positions ranging from 0 ..10. I have a lookup float texture a 64x64x64 packed as a 2D texture 64x4096 containing some vectors in each texel. the 64x64x64 is packed into a 64x4096 2d image: data[y * height + z+0] = value; data[y * height + z+1] =