Geometry Multisampling in Render In Image patch Radar

toneburst's picture

I've just submitted a radar feature-request for multisampling antialiasing in a Render In Image patch. Dunno if this is realistic, but it seems like a glaring omission at present, given the Preview window in QC 4 now supports multisampling.

Bug ID# 7433899

a|x

vade's picture
Re: Geometry Multisampling in Render In Image patch Radar

Render in Image Multisample AA requires GL Extensions that not all 10.6 supported machines GPU have. Not sure how they expect it to fallback or display that it cant be done, but you need to support EXT_FRAMEBUFFER_MULTISAMPLE and EXT_FRAMEBUFFER_BLIT, which you can see what cards do/don't support it here, and looks like there are enough machines out there that don't, that they may not do it :(

http://developer.apple.com/graphicsimaging/opengl/capabilities/

I'd love QC to have this too, as I have had to add some code manually to get similar results.

cwright's picture
Re: Geometry Multisampling in Render In Image patch Radar

I'm going to say "unrealistic" on this one, for a couple reasons.

First, multisamping in the viewer isn't actually supported -- it's a hidden preference for a reason. (It's there, but it's not advertised, and if it doesn't work you can't complain and expect apple to care).

Second, like vade said above, it's not universally supported yet. I have a feeling this is why they've omitted geometry shaders as well (which is a much more useful feature, in my opinion).

gtoledo3's picture
Re: Geometry Multisampling in Render In Image patch Radar

There are already Render In Image settings that don't work universally - the manual "format" setting / bit depth stuff that made the SSAO example stuff take a giant crap/panic on my old white macbook- so that's not necessarily a great reason NOT to have that option built into the Render In Image.

Now, as far as it being unrealistic that it will ever happen, I tend to concur. Still, it's a real heartbreaker to put something in a Render In Image in SL to add some blur or something, and get the "jaggies". Ugh.

toneburst's picture
Re: Geometry Multisampling in Render In Image patch Radar

Ah.. OK. Should have dropped you a line here before writing the Feature Request, I guess. I had forgotten that Viewer multisampling was a hidden option.

I still think it would be nice, though...

a|x

franz's picture
Re: Geometry Multisampling in Render In Image patch Radar

hey vade, to your knowledge, is it possible to subclass a QCview to get MSAA ? I've followed your trick for a QC renderer - which i don't use -, but it was unclear if it could be applied to QCView.

cwright's picture
Re: Geometry Multisampling in Render In Image patch Radar

(apologies at not being vade)

Subclassing QCView isn't what you'd be interested in to enable MSAA on a QCView; AA is a GL context setting, and QCViews don't (directly) deal with GL contexts.

However, there's (theoretically) a pretty simple undocumented call to enable this -- I'll do some research/testing on this, and post what I find.

franz's picture
Re: Geometry Multisampling in Render In Image patch Radar

i'll be forever gratefull to you if you get that info.