Hi,
I have a Data3DTexture (that contains a volume) .And would like to render it, at a specific depth ‘w’, so in 2D.
My idea is to do it with “uvw” mapping, with ‘w’ usually the same at all mapped points, as following:
BufferGeometry.setAttribute(‘uvw’, new THREE.Float32BufferAttribute([ x1, y1, w, x2, y2 ,w, x ], 3 ) )
Is that right the way to do ?
I am not sure that the 3D “uvw” mapping exists for Data2DTexture.
Thank you for any idea !