[vtkusers] Importing 3DS and VRML files.
Allan Reinhold Jensen
arj at tm-net.dk
Tue Apr 23 09:09:16 EDT 2002
Hi.
Is there any way to get the number og geometric objects from the
vtkRenderer class when importing from 3DS or VRML files? I am in the
process of making a small command line tool using C++ and VTK which can
read a 3DS or VRML file and save it into a VTK PolyData file. The tool
works fine, but if the file contains more than one object, I would like to
print out a warning to the user. I can only seem to find the total number
of objects, including lights and cameras, and furthermore, all objects
imported from the 3DS or VRML file are of type vtkOpenGLActor, which makes
it hard to determine type (light, camera etc).
Any suggestions? Feel free to mail any answer.
Best regards,
Allan Reinhold
* Allan Reinhold - mailto:arj at tm-net.dk
* Theilgaard Mortensen A/S
* Niels Hemmingsens Gade 9, 4.
* 1153 København K
* Pho/Mob: +45 33448555 / 26818969
* http://www.tm-net.dk
"We collaboratively negotiate progressive deliverables such that we may
continue to proactively revolutionize scalable content" - Dilbert, 2001
More information about the vtkusers
mailing list