Hi Max,

the only way to get the picture better would be to (manually) create geometry with many more vertices to which you can attach relevant texture coords. Other option would be shader lookup table to go from input image to output image coords.

jp

Max wrote:
Hi all,

 I've a question about the interpolation (I guess) computed to set the texture 
coordinates given each vertex's one (is that sentence correct?).

 It seems the interpolation (or whatever) is done considering the polygon as a 
triangle fan.
 As my coordinates don't perfectly match, the result is quite ugly.

Here's some screenshots, I highlighted the supposed triangles:

[Image: http://img5.hostingpics.net/pics/164071Deformation1_traits.png ]
[Image: http://img5.hostingpics.net/pics/634509Deformation2_traits.png ]
[Image: http://img5.hostingpics.net/pics/605645Deformation3_traits.png ]

 Isn't there a way to compute the coordinates considering the whole polygon 
(probably using the barycenter) ?
 Is there an option to activate it?

 Thanks for all (at least for reading),

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=9609#9609





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support.

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to