[vtkusers] Trouble with Volume and a Plane

jon n elwo73 at hotmail.com
Fri Mar 15 13:04:12 EST 2002


i'm using VTK 4.0. i was just experimenting with making a small test case 
and weirdly the plane stays, its just that as soon as you interact with the 
render the plane changes to flat grey instead of the texture I had on it.


>From: "Lisa S. Avila" <lisa.avila at kitware.com>
>To: "jon n" <elwo73 at hotmail.com>, <vtkusers at public.kitware.com>
>Subject: Re: [vtkusers] Trouble with Volume and a Plane
>Date: Thu, 14 Mar 2002 21:13:32 -0500
>
>Hello Jon,
>
>I don't think you mention what version of VTK you are using. A while ago
>(maybe in 3.2?) there was a bug where texture mapping (in OpenGL) would be
>disabled by some of the volume mappers, which would mess up the rendering 
>of
>texture mapped polygons. This bug has been fixed in VTK 4.0. Are you 
>certain
>the plane is not being rendered, or is it just being rendered in black?
>Finally, can you demonstrate this problem in a simple tcl script relying
>only on data available in VTKData / on the VTK CDROM?
>
>Thanks,
>
>Lisa
>
>----- Original Message -----
>From: "jon n" <elwo73 at hotmail.com>
>To: <vtkusers at public.kitware.com>
>Sent: Thursday, March 14, 2002 7:21 PM
>Subject: Re: [vtkusers] Trouble with Volume and a Plane
>
>
> > actually, when I first display the actor using SetVisibilityOn() it 
>shows
>up
> > fine. but as soon as I move the center of the plane, even if I move it 
>to
> > where it originally was set, it disappears.
> >
> > i've compared what I get from printing out the actor after it shows up 
>and
> > after it disappears and the results are strange. right after it shows up
>it
> > lists the lookup table as none and property as none, even though the
>texture
> > of the plane has a lookup table associated with it. after it disappears 
>it
> > gets a lookup table and property. here is a comparison of what these
> > sections:
> >
> > ...
> >     Lookup Table: (none)
> > ...
> >   Property: (none)
> >
> > and after it disappears:
> >
> >     Lookup Table:
> >       Debug: Off
> >       Modified Time: 1607
> >       Reference Count: 1
> >       Registered Events: (none)
> >       Alpha: 1
> >       TableRange: (0, 1)
> >       Scale: Linear
> >       HueRange: (0, 0.66667)
> >       SaturationRange: (1, 1)
> >       ValueRange: (1, 1)
> >       AlphaRange: (1, 1)
> >       NumberOfTableValues: 256
> >       NumberOfColors: 256
> >       Ramp: SCurve
> >       InsertTime: 0
> >       BuildTime: 0
> > ...
> >   Property:
> >     Debug: Off
> >     Modified Time: 1591
> >     Reference Count: 1
> >     Registered Events: (none)
> >     Ambient: 0
> >     Ambient Color: (1, 1, 1)
> >     Diffuse: 1
> >     Diffuse Color: (1, 1, 1)
> >     Edge Color: (1, 1, 1)
> >     Edge Visibility: Off
> >     Interpolation: VTK_GOURAUD
> >     Opacity: 1
> >     Representation: VTK_SURFACE
> >     Specular: 0
> >     Specular Color: (1, 1, 1)
> >     Specular Power: 1
> >     Backface Culling: Off
> >     Frontface Culling: Off
> >     Point size: 1
> >     Line width: 1
> >     Line stipple pattern: 65535
> >     Line stipple repeat factor: 1
> >
> > >From: "jon n" <elwo73 at hotmail.com>
> > >To: vtkusers at public.kitware.com
> > >Subject: [vtkusers] Trouble with Volume and a Plane
> > >Date: Thu, 14 Mar 2002 15:14:21 -0800
> > >
> > >hi,
> > >
> > >I have a render window which gets switched between a Volume render and 
>an
> > >isocontour Actor. If I have the isocontour Actor showing and then show
>this
> > >other plane actor, it works fine. But if I have the Volume showing and
>then
> > >show the plane, the plane flashes on and then disappears and even if I
> > >switch to viewing the isocontour the plane still will not show. The 
>plane
> > >is
> > >at z=-0.1 to prevent it from interfering with the Volume and 
>isocontour.
>is
> > >there something strange about planes and volumes being together?
> > >
> > >thanks
> > >
> > >
> > >_________________________________________________________________
> > >Get your FREE download of MSN Explorer at
>http://explorer.msn.com/intl.asp.
> > >
> > >_______________________________________________
> > >This is the private VTK discussion list.
> > >Please keep messages on-topic. Check the FAQ at:
> > ><http://public.kitware.com/cgi-bin/vtkfaq>
> > >Follow this link to subscribe/unsubscribe:
> > >http://public.kitware.com/mailman/listinfo/vtkusers
> >
> >
> >
> >
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at
>http://explorer.msn.com/intl.asp.
> >
> > _______________________________________________
> > This is the private VTK discussion list.
> > Please keep messages on-topic. Check the FAQ at:
><http://public.kitware.com/cgi-bin/vtkfaq>
> > Follow this link to subscribe/unsubscribe:
> > http://public.kitware.com/mailman/listinfo/vtkusers
> >
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers




_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com




More information about the vtkusers mailing list