<div dir="ltr">Thanks for the quick answer!<div>Yes i understood the reason for the check, the message in <span style="font-size:12.8px">vtkDebugMacro is clear, but what i would like to know is the reason for the extensions failing in that case; probably something missing in </span><span style="font-size:12.8px">vtkWin32OpenGLRenderWindow::</span><span style="font-size:12.8px">CreateOffScreenDC but i don't know what.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">As for the anti-aliasing, it is not working, probably also because of </span><span style="font-size:12.8px">CreateOffScreenDC...</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-30 15:54 GMT+01:00 David Lonie <span dir="ltr"><<a href="mailto:david.lonie@kitware.com" target="_blank">david.lonie@kitware.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class=""><div class="gmail_extra"><div class="gmail_quote">On Mon, Nov 30, 2015 at 9:44 AM, Xabi Riobe <span dir="ltr"><<a href="mailto:xabivtk@gmail.com" target="_blank">xabivtk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thanks for any information about that.</div><span><font color="#888888"><div><br></div><div>Xabi</div></font></span></div>
</blockquote></div><br></div></span><div class="gmail_extra">I'm not sure why the OpenGL2 version was removed, and it's possible that there are some bits after that check that should still be executed, so feel free to modify this as needed.</div><div class="gmail_extra"><br></div><div class="gmail_extra">The reason for the check is that the FBO-based offscreen rendering implementation provided by vtkOpenGLRenderWindow does not support multisampling, and trying to render offscreen with multisampling will not anti-alias the result without that check. </div><div class="gmail_extra"><br></div><div class="gmail_extra">So when MSAA is requested, the generic FBO method should fail so that the platform-specific render windows can use their platform-specific offscreen implementations (which do support MSAA).</div><div class="gmail_extra"><br></div><div class="gmail_extra">Hope this helps,</div><div class="gmail_extra">Dave</div></div>
</blockquote></div><br></div>