POV-Ray : Newsgroups : povray.binaries.images : Up close and personal to beautiful celestial body - help Server Time
14 Nov 2024 06:15:29 EST (-0500)
  Up close and personal to beautiful celestial body - help (Message 1 to 5 of 5)  
From: EagleSun
Subject: Up close and personal to beautiful celestial body - help
Date: 23 Dec 2006 23:00:00
Message: <web.458dfa4a5cd272f8f8a1c7170@news.povray.org>
A project I'm working on requires me to get up close to the rings of
Saturn.... but they look like this... is there any way around this besides
setting Anti-Alias to 0.0 AND using AM2 ?  Using those 2 increases
rendering time x 50 which is a project-killer.


Post a reply to this message


Attachments:
Download 'sat-rings.png' (225 KB)

Preview of image 'sat-rings.png'
sat-rings.png


 

From: "Jérôme M. Berger"
Subject: Re: Up close and personal to beautiful celestial body - help
Date: 24 Dec 2006 04:04:49
Message: <458e42b1$1@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

EagleSun wrote:
> A project I'm working on requires me to get up close to the rings of
> Saturn.... but they look like this... is there any way around this besides
> setting Anti-Alias to 0.0 AND using AM2 ?  Using those 2 increases
> rendering time x 50 which is a project-killer.
> 
	Render at higher resolution and downscale with a decent paint program.

		Jerome
- --
+------------------------- Jerome M. BERGER ---------------------+
|    mailto:jeb### [at] freefr      | ICQ:    238062172            |
|    http://jeberger.free.fr/     | Jabber: jeb### [at] jabberfr   |
+---------------------------------+------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFjkKxd0kWM4JG3k8RAjuXAJ4y51hmehjdbB6t5ifqOTjQJF3jQQCfX1KL
UxYLEKUN4RTk1Uc3SUAb5JQ=
=YsuV
-----END PGP SIGNATURE-----


Post a reply to this message

From: EagleSun
Subject: Re: Up close and personal to beautiful celestial body - help
Date: 24 Dec 2006 10:47:12
Message: <458ea100@news.povray.org>

news:458e42b1$1@news.povray.org...
>
> EagleSun wrote:
>> A project I'm working on requires me to get up close to the rings of
>> Saturn.... but they look like this... is there any way around this 
>> besides
>> setting Anti-Alias to 0.0 AND using AM2 ?  Using those 2 increases
>> rendering time x 50 which is a project-killer.
>>
> Render at higher resolution and downscale with a decent paint program.
>
> Jerome

I've experimented with that.. rendering one at 1920x1080 then downscaling to 
640x360.. I've also tried Gaussian average on 3x3 before and after 
downscaling.... it's too much of a loss, and doesn't fully repair the rings.

Here's an A0.0 AM2 sample.


Post a reply to this message


Attachments:
Download 'a0am2.png' (499 KB)

Preview of image 'a0am2.png'
a0am2.png


 

From: "Jérôme M. Berger"
Subject: Re: Up close and personal to beautiful celestial body - help
Date: 24 Dec 2006 10:54:33
Message: <458ea2b9$1@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

EagleSun wrote:

> news:458e42b1$1@news.povray.org...
>> EagleSun wrote:
>>> A project I'm working on requires me to get up close to the rings of
>>> Saturn.... but they look like this... is there any way around this 
>>> besides
>>> setting Anti-Alias to 0.0 AND using AM2 ?  Using those 2 increases
>>> rendering time x 50 which is a project-killer.
>>>
>> Render at higher resolution and downscale with a decent paint program.
>>
>> Jerome
> 
> I've experimented with that.. rendering one at 1920x1080 then downscaling to 
> 640x360.. I've also tried Gaussian average on 3x3 before and after 
> downscaling.... it's too much of a loss, and doesn't fully repair the rings.
> 
	Don't do it after rescaling, that won't fix anything and you will
lose some sharpness. If you want to apply such a filter, do it
before downscaling.

	What software and settings did you use for downscaling?

		Jerome
- --
+------------------------- Jerome M. BERGER ---------------------+
|    mailto:jeb### [at] freefr      | ICQ:    238062172            |
|    http://jeberger.free.fr/     | Jabber: jeb### [at] jabberfr   |
+---------------------------------+------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFjqK3d0kWM4JG3k8RArMPAJ9ECaaKuE21H7uimatL/hBvwo0ZlgCaA0l9
jM9CNox13Q1cLdGCyfQU9xo=
=0XBD
-----END PGP SIGNATURE-----


Post a reply to this message

From: EagleSun
Subject: Re: Up close and personal to beautiful celestial body - help
Date: 24 Dec 2006 11:40:48
Message: <458ead90@news.povray.org>

news:458ea2b9$1@news.povray.org...
>> I've experimented with that.. rendering one at 1920x1080 then downscaling 
>> to
>> 640x360.. I've also tried Gaussian average on 3x3 before and after
>> downscaling.... it's too much of a loss, and doesn't fully repair the 
>> rings.
>>
> Don't do it after rescaling, that won't fix anything and you will
> lose some sharpness. If you want to apply such a filter, do it
> before downscaling.

Yeah... what I meant is .. first I tried averaging -before- downscaling... 
and then on another copy, I tried averaging -after- downscaling.  Although 
the -before- method made better results, it still was not enough.

>
> What software and settings did you use for downscaling?
>

Software is XnView.. Settings is the simple Bilinear method... it's the 
simplest, most straight-forward, and doesn't produce the strange wavy jpegy 
edge effects that most algorithms do.  The algorithm I would prefer is... 
interpolation when increasing the size and average when decreasing size... 
but I'm still developing it in my graphics projects.

Is there anything I can do in POV-Ray?

Here's a section of code I use... so you can see I use the "disc" object and 
use the "onion" function in the object.  Is there a function I can use in 
this object that will smooth out the rough rings?

#include _ringimage
 #local ABdiff=_outer-_inner;
 #local Xring=_outer/_nscale;
 #local Malpha=_nscale*_inner/_outer;
 #local Step=ABdiff*_nscale/(_divisions*_outer);
 #local i=1;
 #while (i<=_divisions)
  object {
   disc
   {

    <0, 0, 0> y, Malpha+(i)*Step, Malpha+(i-1)*Step
    pigment
    {
     onion
     colour_map
     {
      Planet_RingMap(i)
     }
    }
    finish
    {
     ambient 0
     brilliance 1
     albedo(_ringalbedo)
    }
    scale Xring*unitscale
   }
   hollow on
   double_illuminate
  }
  #local i=i+1;
 #end


Post a reply to this message

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