[vtkusers] VRML generated from vtk does not show up properly on IE

Zhengyu Zhang zzhang3 at uiuc.edu
Wed Dec 11 10:36:48 EST 2002


Thanks for the info, it helps. I happen to use the vtkActorToPF for a term 
project now, this one is in NCSA though. There are a few limitations for 
this one, but it seems they all can be circumvented, so it is ok. Is your 
vtkActorToPF open code?

Zhengyu

At 08:37 AM 12/11/2002 -0600, Chris Scharver wrote:
>At 10:36 PM -0600 on 12/10/2002, Zhengyu Zhang wrote:
>
> >I tried and it gives the same thing. I wonder if there is something
> >missing when the VRML file is generated from vtk.
> >
> >btw, the glview loads file very slowly. I am using XP Pro.
> >Is this normal?
>
>The initial vtkIVWriter included with VTK makes several assumptions about 
>the geometry exported from VTK. I've made a number of modifications for my 
>own code, but I haven't tried to integrate it. I've bassically reworked 
>the vtkActorToPF code (which converts VTK geometry to Performer) to 
>vtkActorToIV to convert in-core VTK geometry to Inventor for use with 
>either TGS Inventor in a CAVE or with Coin3d.
>
>In particular, a more specific ShapeHints node is required to indicate 
>whether the generated surface is a closed volume or a surface. The 
>ordering must be specified as well, otherwise Inventor/VRML makes 
>assumptions which conflict with VTK.
>
>The initial slowdown is probably just the creation of normals for the 
>shape. If they're not provided, the viewer is likely generating them 
>automatically, so that takes some time. As you already discovered, using a 
>vtkPolyDataNormals filter will alleviate this problem.
>
>Chris
>--
>Chris Scharver
>Electronic Visualization Laboratory
>The University of Illinois at Chicago
>Ph: 312-996-3002   FAX: 312-413-7585
><http://www.evl.uic.edu/scharver/>




More information about the vtkusers mailing list