How to import a mode from vrml_files and display it?

Tim Hutton T.Hutton at
Fri Dec 17 05:40:51 EST 1999

At 14:59 17/12/99 +0800, you wrote:
>   Hi all,    VTK have the function of vtkVRMLExporter,but  no
>vtkVRMLImporter. Now,I want to import a vrml file and display it in
>VC++6.0.Can  you tell me how to import a mode from vrml_files and display 
>it?   Thanks a lot!   csyang 

There are a couple of options I know of:

Tom Citriniti's vtkVRMLImporter ( can read in
VRML2 files (no textures). May need minor updates for the vtk version
you're using.

Stef Desmet's vtkIVImporter
( can read in VRML1

(Thanks guys)

What do you mean by a 'mode'? For my purposes I found the easiest was to
write a really simple vtkVRMLReader to suck out a polygonal mesh from a
VRML file. If you want more then you'll need one of the above.



Tim Hutton, Research Assistant            Email: T.Hutton at
MINORI Project           
Dental and Medical Informatics                   Tel: [+44] (0171) 915 2344
Eastman Dental Institute, UCL                    Fax: [+44] (0171) 915 2303
256 Gray's Inn Road, London WC1X 8LD, UK
This email represents the views of the sender alone and must not be
construed as representing the views of the Eastman Dental Institute. It may
contain confidential information and may be protected by law as a legally
privileged document and copyright work. Its content should not be disclosed
and it should not be given or copied to anyone other than the person(s)
named or referenced above. If you have received this email in error, please
contact the sender.

This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.

More information about the vtkusers mailing list