<div><div class="gmail_quote">On Thu, Feb 11, 2010 at 1:08 AM, alireza ghahari <span dir="ltr"><<a href="mailto:ghahari_ar@yahoo.com">ghahari_ar@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit"><div>Dear David</div>
<div>Hello.</div>
<div> </div>
<div>Attached, I have provided you with a *.<span>tcl</span> script developed in VTK 5.4.</div>
<div> </div>
<div>It is about an avatar face visualization. I used a polygonal file with triangle <span>strips</span></div>
<div> </div>
<div>topology to render the 3D vertices data imported from a Matlab script. I also used a look up </div>
<div> </div>
<div>table of Point Data to specific the rgba color of each faces.</div>
<div> </div>
<div>Running the script, (with data file ''natural.<span>vtk</span>'' 's root folder changed to your specified PC </div>
<div> </div>
<div>folder in TCL file 3rd line) you will see it renders, but I want to smooth the faces so that the </div>
<div> </div>
<div>sharpness of tetrahedral triangles could be less felt. I also need some effects make my </div>
<div> </div>
<div>model as realistic as it can may be a lighting model, other mapper, etc.</div>
<div> </div>
<div>Would you please provide me with some code/classes up coming this issue?</div>
<div> </div>
<div>Your attention is greatly appreciated.</div>
<div> </div>
<div>Sincerely yours,</div>
<div>VTK WWW Member</div>
<div>Alireza Ghahari</div></td></tr></tbody></table><br><br></blockquote><div> </div>Alireza,<div><br></div><div>Please keep the discussion on the mailing list so everyone can help and benefit from the discussion.</div><div>
<br></div><div>To smooth the mesh, you'll want to use a filter like this:</div><div><a href="http://www.vtk.org/Wiki/VTK/Examples/WindowedSincPolyDataFilter">http://www.vtk.org/Wiki/VTK/Examples/WindowedSincPolyDataFilter</a></div>
<div><br></div><div>I've never done anything complicated with scene lighting rendering - maybe someone else can help with this issue?</div><div><br clear="all">Thanks,<br><br></div><div>David</div></div></div>