Thanks Vidyadhar. Does the vtkPolydata we get by doing this retain the coloring and shading information present in the original 3DS model?<br><br>Shriram<br><br> <div><span class="gmail_quote">On 9/6/07, <b class="gmail_sendername">
Vidyadhar</b> <<a href="mailto:vidyadhar@lucidindia.com">vidyadhar@lucidindia.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff">
<div><font face="Arial" size="2">Hi,</font></div>
<div><font face="Arial" size="2">Both importers have GetRenderer methods which give
access to renderer. From that you can retrieve vtkActorCollection. Traverse the
collection to retrieve each actor. From actor you can retrieve its mapper (some
polydata mapper) and from mapper get its input which will be the polydata mesh.
I have not use this with vtkVRMLImporter but with vtk3DSImporter.</font></div><span class="sg">
<div><font face="Arial" size="2">Vidyadhar</font></div></span><div><span class="e" id="q_114de02c8884f2cf_2">
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
<div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b>
<a title="shriram.uc@gmail.com" href="mailto:shriram.uc@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Shriram
Iyer</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="vtkusers@vtk.org" href="mailto:vtkusers@vtk.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
vtkusers@vtk.org</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Thursday, September 06, 2007 4:45
AM</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b> [vtkusers] Loading VRML file
into a vtkActor</div>
<div><br></div>Hi All,<br><br>I tried out the vtkVRMLImporter test. I want to
be able to load a VRML file, change its visibility, and move it around. Is
there a way to get the output of the importer into a polydatamapper and then
into an actor? I tried doing this with 3DS files too using vtk3DSImporter but
was unsuccessful. <br><br>Any help would be greatly
appreciated.<br><br>Shriram<br></blockquote></span></div></div>
</blockquote></div><br>