[vtk-developers] Texture Mapping of 2D Texture in vtkVolumeTextureMapper3D
pttomosoft at gmail.com
pttomosoft at gmail.com
Wed Sep 25 17:13:48 EDT 2013
Hi.
I am using TextureMapper renderer for Volume Rendering.
vtkVolumeTextureMapper3D has a 2D Texture that contains ColorLookUp data as
follows :
glTexImage2D( GL_TEXTURE_2D, 0, GL_RGBA8, 256, 256, 0, GL_RGBA,
GL_UNSIGNED_BYTE, this->ColorLookup );
Can someone please explain to me how is this texture applied in the process
of Volume rendering?
I understand Texture Mapping involves pasting of a texture (eg. Image) on a
primitive (eg. blank rectangle). Assuming that GL_TEXTURE_2D is the texture,
what then is the primitive?
Thanks.
--
View this message in context: http://vtk.1045678.n5.nabble.com/Texture-Mapping-of-2D-Texture-in-vtkVolumeTextureMapper3D-tp5723656.html
Sent from the VTK - Dev mailing list archive at Nabble.com.
More information about the vtk-developers
mailing list