[vtkusers] 3D Texture Mapping
Sedat DOGAN2
d_sedat at hotmail.com
Sun May 19 17:31:52 EDT 2002
Dear friends,
I want to render my polygonal data with 3D texture mapping. I know that vtk
doesn't support 3D texture mapping. And I don't have a 3D texture mapping
hardware either. But for my studies, I should solve this problem. In order
to solve this problem I think to do the following things. Please if you
could tell me if my following thoughts solve this problem. I will do the
followings:
1- I'll compute the 3D world coordinates of my textures.For this purpose
I'll use real photograps taken with oriented cameras with photogrammetric
methods.
2- After I have computed 3D coordinates of the textures, I'll assign these
textures to the vertexes of my polygonal data according to the coordinates
one by one with a C program fuction which I'll write.(In order to quarentee
one to one correspondence between vertexes and the textures, I'll make
backward mapping. As in the resampling problems.).
3- In order to render polygonal data, I'll use the method "color with
sclars" of the polydata.
Now, I wonder that: Is the final rendered polydata seen as it was texture
mapped? I.e. how is the final polydaya seen?
I didn't try this. Because this implementation will take very long time. And
if this approach can't be succesfull, I will loose very much time. But
I'don't have much time to solve this problem. So if you can give me ideas
about my above thoughts, I'll be very happy.
Thanks in advance.
Best Regards.
Sedat Dogan.
More information about the vtkusers
mailing list