POV-Ray : Newsgroups : povray.general : Feature idea: Superpixel Antialiasing Server Time
4 Aug 2024 02:20:49 EDT (-0400)
  Feature idea: Superpixel Antialiasing (Message 4 to 13 of 13)  
<<< Previous 3 Messages Goto Initial 10 Messages
From: ABX
Subject: Re: Feature idea: Superpixel Antialiasing
Date: 22 Sep 2003 09:55:02
Message: <1bvtmvonhn1o16vjkqrmcm3c0nbvuhtfii@4ax.com>
On Mon, 22 Sep 2003 15:44:59 +0200, "Rune" <run### [at] runevisioncom> wrote:
> Sort of, yes. The problems with the current mosaic preview are that it
> is not adaptive, and that the mosaic samples are wasted in the end,
> since the final pass goes all from scratch.

What about rendering with lower image dimensions and double click in WinPOV on
title bar of render window ? Then you have antialiased boxes in enlarged
window ;-)

> Furthermore, mosaic previews
> are of no use when you want to make a test *animation* render.

Hmm, In this case I would render with lower resolution and order mpeg encoder
to rescale frames to desired dimensions to not waste space on drive for larger
images. At leas TMPG has rescaling of frames. Of course this could be always
done in mpeg player with rescaling window. Or perhaps I did not understood
your problem...

> the superpixel antialiasing render is
> meant to finish rendering, and it only uses samples where there actually
> *are* details

How do you imagine to "know" in renderer that pigment used on sky has less or
more details from applied turbilence ?

ABX


Post a reply to this message

From: Tim Nikias v2 0
Subject: Re: Feature idea: Superpixel Antialiasing
Date: 22 Sep 2003 10:30:24
Message: <3f6f0780$1@news.povray.org>
> How do you imagine to "know" in renderer that pigment used on sky has less
or
> more details from applied turbilence ?

The same way antialiasing works. Shoot at the
four edges and find a great difference in color.

I for one first thought that someone was explaining
mosaic preview, then I saw that it was Rune who
wrote, then I read on.

I find the idea rather attractive, and I'd guess that
anyone able to look at the source-code and understand
antialiasing could tweak that to do the super-pixeling
Rune has proposed, though I'm not expert and could
be wrong there.

I always liked Mosaic-Previews, but Rune's idea
is even better. After all, you do several passes with
POV-Ray until you've set up camera, lighting etc,
during that time one could easily adjust the superpixeling
to the needs of that render, and later on, save time
by just copy-paste.

If there's someone out there capable of doing that in
a clean and efficient way, we might go rebel against
the POV-Team and have them introduce it into the
official version very quickly! ;-)
I rather like using the Official Version, and have only
used MegaPOV once to experiment a little with
isosurfaces and photons, when I knew that POV 3.5
would get them, just as background why I'd go rebel... :-)

Regards,
Tim

-- 
Tim Nikias v2.0
Homepage: http://www.digitaltwilight.de/no_lights
Email: no_lights (@) digitaltwilight.de

> > Sort of, yes. The problems with the current mosaic preview are that it
> > is not adaptive, and that the mosaic samples are wasted in the end,
> > since the final pass goes all from scratch.
>
> What about rendering with lower image dimensions and double click in
WinPOV on
> title bar of render window ? Then you have antialiased boxes in enlarged
> window ;-)
>
> > Furthermore, mosaic previews
> > are of no use when you want to make a test *animation* render.
>
> Hmm, In this case I would render with lower resolution and order mpeg
encoder
> to rescale frames to desired dimensions to not waste space on drive for
larger
> images. At leas TMPG has rescaling of frames. Of course this could be
always
> done in mpeg player with rescaling window. Or perhaps I did not understood
> your problem...
>
> > the superpixel antialiasing render is
> > meant to finish rendering, and it only uses samples where there actually
> > *are* details
>
> How do you imagine to "know" in renderer that pigment used on sky has less
or
> more details from applied turbilence ?
>
> ABX


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.520 / Virus Database: 318 - Release Date: 18.09.2003


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Feature idea: Superpixel Antialiasing
Date: 22 Sep 2003 11:16:01
Message: <3f6f1231$1@news.povray.org>
In article <3f6f0780$1@news.povray.org> , "Tim Nikias v2.0" <no_lights (@)
digitaltwilight.de> wrote:

> The same way antialiasing works. Shoot at the
> four edges and find a great difference in color.

No, this won't work.  Also you don't notice most of the time, anti-aliasing
does nothing when it comes to finding small details.  All it does is smooth
out sharply separated details that were already "known" (visible).  On
occasion this will find other small details while looking for the clear
separation of the already known details, but this is not more than a
side-effect of the anti-aliasing process.

However, his does not imply the desired effect - rendering a scene with
increasing detail, isn't possible.  It is just more difficult to obtain.
Using other information, like the vista buffer information, can be used to
track at least all the boundable objects.  However, using this information
isn't as simple as an anti-alising-like algorithm.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Rune
Subject: Re: Feature idea: Superpixel Antialiasing
Date: 22 Sep 2003 12:36:32
Message: <3f6f2510$1@news.povray.org>
Thorsten Froehlich wrote:
> No, this won't work.  Also you don't notice
> most of the time, anti-aliasing does nothing
> when it comes to finding small details.  All
> it does is smooth out sharply separated
> details that were already "known" (visible).

I already mentioned that details smaller than the specified superpixel
size would not be detected. Isn't that what you're talking about? If you
choose to render with 8x8 superpixels, then a 6 pixels wide sphere
easily could get lost. However, the border of a 100 pixels wide sphere
would be completely sharp - wouldn't it?

So certainly, the feature would not work well for some scenes with very
small details, but for many scenes I think it would work brilliantly,
especially if you keep the superpixels reasonable small, like 4x4 or 2x2
(which would still give a huge speed-up).

Rune
--
3D images and anims, include files, tutorials and more:
rune|vision:  http://runevision.com **updated Jul 25**
POV-Ray Ring: http://webring.povray.co.uk


Post a reply to this message

From: Ricky Reusser
Subject: Re: Feature idea: Superpixel Antialiasing
Date: 22 Sep 2003 14:17:26
Message: <3f6f3cb6@news.povray.org>
> What do you think?

You've got my support!  I remember using StrataVision 3D back in the day and
it had support for this.  When I first started using POV-Ray, I was
surprised how much longer it took to render a simple scene with a flat
background.  Superpixel antialiasing is visibly blocky, but interpolated
and done with a low threshold would be seamless enough for most renders. 
95% of the renders I do are only tests anyway and once you run it through a
codec like divx, it's only going to make it (more) blocky.  But I'm just
rambling.  Makes sense to me.

 - Ricky


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Feature idea: Superpixel Antialiasing
Date: 22 Sep 2003 15:26:59
Message: <3f6f4d03@news.povray.org>
In article <3f6f3cb6@news.povray.org> , Ricky Reusser 
<ple### [at] emailcom>  wrote:

> once you run it through a
> codec like divx, it's only going to make it (more) blocky.

You should note one tiny little bit of information that is good to know, and
applies to all lossy image and image sequence compression algorithms: The
"better" the source material, the better the compression result.

"better" in this context means that anti-aliased image sequences will
compress better, as will blurred ones when you are using DCT-based codecs.
All common codecs that achieve good compression (from JPEG to DV to
MEPG-1,2,4, and all derived ones like divx) are DCT-based.  Even H.264 (aka
MPEG-4 Part 10 or MEPG-4 AVC) uses a DCT-like transformation.  The trick is
that a smooth image results in more effective quantisation and hence better
compression.

If you get "blocky" results, this means your compression settings are simply
to high and too many coefficients are lost during the quantisation process.
In particular when compressing not anti-aliased computer-generated
animations you get compression quality problems ... as do you when feeding
the compressor a noisy captured video sequence.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Remco de Korte
Subject: Re: Feature idea: Superpixel Antialiasing
Date: 22 Sep 2003 17:54:26
Message: <3F6F6F22.70BF20E@onwijs.com>
ABX wrote:
> 

If it's just for a preview rendering of an animation rendering at a
small size is my tactic too. Then I preview the frame sequence at the
desired size if necessary (I use Bumper for that (*spam alert*) which
has some other handy options) . 

Remco


Post a reply to this message

From: Wolfgang Wieser
Subject: Re: Feature idea: Superpixel Antialiasing
Date: 17 Oct 2003 15:20:23
Message: <3f9040f7@news.povray.org>
Rune wrote:

> It just occurred to me how nice it would be to have the ability for
> antialiasing to start at a level above pixel-level. That is, at a
> superpixel level.
> 
I had a similar idea and implemented it some time back. 
Results and a patch here: 
http://www.cip.physik.uni-muenchen.de/~wwieser/render/povray/ipt-patch/

I plan to implement some progressive refinement for the mosaic 
preview when I find the time and the will...
...or is anybody else working on that?

Wolfgang


Post a reply to this message

From: nospam
Subject: Re: Feature idea: Superpixel Antialiasing
Date: 18 Oct 2003 21:58:36
Message: <3f91eef0.3896727@localhost>
On Fri, 17 Oct 2003 21:19:59 +0200, Wolfgang Wieser <wwi### [at] gmxde>
wrote:

>Rune wrote:
>
>> It just occurred to me how nice it would be to have the ability for
>> antialiasing to start at a level above pixel-level. That is, at a
>> superpixel level.
>> 
>I had a similar idea and implemented it some time back. 
>Results and a patch here: 
>http://www.cip.physik.uni-muenchen.de/~wwieser/render/povray/ipt-patch/
>
>I plan to implement some progressive refinement for the mosaic 
>preview when I find the time and the will...
>...or is anybody else working on that?
>
>Wolfgang
>

Do you mean like the Mosaic Preview function in porvay?


Post a reply to this message

From: Wolfgang Wieser
Subject: Re: Feature idea: Superpixel Antialiasing
Date: 19 Oct 2003 06:08:34
Message: <3f9262a1@news.povray.org>
nospam wrote:
>>I plan to implement some progressive refinement for the mosaic
>>preview when I find the time and the will...
>>...or is anybody else working on that?
>>
> Do you mean like the Mosaic Preview function in porvay?
>
Well, I was not clear here: I mean mosaic-like preview with 
progressive refinement. The refinement should be steered in 
a way that the "interesting parts" appear first. Hence, it 
would work somehow like AA: the algorithm starts with 
9 rendered pixels then decides which of the resulting rectangles 
to subdivide first, etc. In the end, the complete image is rendered 
but you should be able to see the interesting parts earlier. 

Wolfgang


Post a reply to this message

<<< Previous 3 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.