Texture map "flickering"
Ron Inbar
rinbar at netvision.net.il
Sat Dec 4 15:56:17 EST 1999
I believe your problem can be solved using mipmaps, but those are not yet
supported by vtk, to the best of my knowledge (correct me if I'm wrong,
anyone). The flickering occurs because when several texels get mapped into
a single pixel, just one (w/o interpolation) or four (with interpolation) of
them are used to color the pixel. When the textured object moves even
slightly, you different texels get mapped to the same pixel, resulting in
flickering. Mipmaps are smaller versions of the texture obtained by
repeatedly replacing every four adjacent texels by their average. During
rendering, the rendering engine decides which mipmap to use depending on the
minification ratio. Good 3D hardware supports this operation.
So let me take this opportunity to request the developers of vtk to add
support for mipmaps.
Thanks in advance,
Ron
----- Original Message -----
From: Audrius Stundzia <adv_biologic at hotmail.com>
To: <vtkusers at gsao.med.ge.com>
Sent: Wednesday, December 01, 1999 02:57
Subject: Q: Texture map "flickering"
> Dear fellow vtker's,
>
> I generate an orthogonal coordinate grid system as a 2D texture
> map (it's overlayed on top of another texture map image).
>
> I find that as I zoom in and out (especially as the image gets
> small) the horizontal and vertical grid line of the coordinate
> grid appear and disappear ("flicker"). The InterpolateOn()
> of vtkTexture reduces this flicker somewhat.
>
> I also have the swap buffers turned on (not that this seems to make
> any difference)
>
> Why is this flickering occuring? Is this anything else I can due to reduce
> this unsightly effect?
>
> I'm running on a Ultra-60 with a Creator 3D graphics card.
>
> Any insight would be most appreciated. Thanks.
>
> Regards,
>
> Audrius
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>
>
> --------------------------------------------------------------------------
---
> This is the private VTK discussion list. Please keep messages on-topic.
> Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
> To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
> <majordomo at gsao.med.ge.com>. For help, send message body containing
> "info vtkusers" to the same address. Live long and prosper.
> --------------------------------------------------------------------------
---
>
>
-----------------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>. For help, send message body containing
"info vtkusers" to the same address. Live long and prosper.
-----------------------------------------------------------------------------
More information about the vtkusers
mailing list