<div dir="ltr">Try turning on mipmaps for your texture before you render them. Support for them was added a while back. That should help some.<div><br></div><div><div> //@{</div><div> /**</div><div> * Turn on/off use of mipmaps when rendering.</div><div> */</div><div> vtkGetMacro(Mipmap, bool);</div><div> vtkSetMacro(Mipmap, bool);</div><div> vtkBooleanMacro(Mipmap, bool);</div><div> //@}</div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 25, 2017 at 2:08 AM, Berti Krüger <span dir="ltr"><<a href="mailto:berti_krueger@hotmail.com" target="_blank">berti_krueger@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Everyone!<br>
<br>
I'm currently making a visualization program where I've got a<br>
groundplane with a fine detailed checkerboard-like texture on it. The<br>
whole scene can be zoomed in and out. Since the resolution of the<br>
VTK-render window and the texture differ quite a bit, i get a lot of<br>
aliasing.<br>
<br>
In plain opengl i would use mipmaps and/or anisotropic filtering to get<br>
rid of it but unfortunately i haven't found anything in the vtk-texture<br>
class to archive this.<br>
<br>
For whole screen antialiasing i am already using the fxaa<br>
filter which works really nice and helps also a little bit with<br>
texture-aliasing but is of course not a replacement for<br>
resolution dependend texture-filtering.<br>
<br>
So my question is, how to reduce aliasing in VTK with fine-detailed<br>
textures?<br>
<br>
<br>
Thank you very much in advance,<br>
<br>
Berti<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Ken Martin PhD<div>Distinguished Engineer<br><span style="font-size:12.8px">Kitware Inc.</span><br></div><div>28 Corporate Drive<br>Clifton Park NY 12065<br><div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message.
Thank you.</span></div></div></div></div></div>
</div>