POV-Ray : Newsgroups : povray.binaries.images : Rings cutting atmosphere phenomenon Server Time
7 Aug 2024 09:27:48 EDT (-0400)
  Rings cutting atmosphere phenomenon (Message 4 to 13 of 13)  
<<< Previous 3 Messages Goto Initial 10 Messages
From: EagleSun
Subject: Re: Rings cutting atmosphere phenomenon
Date: 28 May 2006 22:50:00
Message: <web.447a60b9f93ecc729756002c0@news.povray.org>
"Sven Littkowski" <sve### [at] jamaica-focuscom> wrote:
> Hello Eagle Sun,
>
> I am trying out your macros but I need to know, which which options you are
> using them for your Saturn scene. Can you publish how you call these marcos?
>
> Only then I can try to help. I first need to re-achieve your results in
> order to understand the problem.
>
> Greetings,
>
> Sven

Here's the way I call it....

Saturn(0, 5, 0, 120, 0, -23.7)
TerragenViewFrom(1.414, 326381.5, 0, 0, 0)


If you mean "Atmosphere_Option", I chose "5".  But same phenomenon is
reproduced no matter which option I choose.

The "TerragenViewFrom()" macro looks like this:

#macro TerragenViewFrom(_zoom, _fromobject, _shift_x, _shift_y, _shift_z)
 camera
 {
  direction <0, 0, _zoom>
  up y*image_height/image_width
  right x*PixelRatio
  look_at <_shift_x*unitscale, _shift_y*unitscale, _shift_z*unitscale>
  location <0, 0, -(_fromobject*unitscale)>
 }
#end


Here are comments that will provide a bit more explanation...

// Stars_Crackle(_heading, _pitch, _bank)
// Planet(_distance, _hour, _year, _heading, _pitch, _bank)
// Satellite(_sun, _distance, _hour, _year, _heading, _pitch, _bank)
// TerragenViewFrom(_zoom, _fromobject, _shift_x, _shift_y, _shift_z)


I've also tried a wide range of values for max_trace_level from 5 to 20.
The phenomenon has never gone away.  As far as I can tell.... the objects
are 1) Isosurface, 2) hollow sphere with media (3), and 4) disks.  At most
extreme liberal thought, I can't see any reason to go higher than 8.... but
what do I know, I'm a beginner.

Any planet image may be used for the map.

Let me know if you need more info...


Post a reply to this message

From: Sven Littkowski
Subject: Re: Rings cutting atmosphere phenomenon
Date: 28 May 2006 23:09:40
Message: <447a65f4$1@news.povray.org>
Thanks,

testing now...

Sven


Post a reply to this message

From: Sven Littkowski
Subject: Re: Rings cutting atmosphere phenomenon
Date: 28 May 2006 23:11:27
Message: <447a665f$1@news.povray.org>
The value "SunLight" is unknown. I still need that variable declaration, and 
others, if more should be missing.

Greetings,

Sven


Post a reply to this message

From: Sven Littkowski
Subject: Re: Rings cutting atmosphere phenomenon
Date: 28 May 2006 23:27:35
Message: <447a6a27$1@news.povray.org>
Hi again.

Some other variables also seems to be not in the right order or to be 
undeclared.

Best would be to post here the complete files, that should kill all of those 
errors.

Greetings,

Sven


Post a reply to this message

From: EagleSun
Subject: Re: Rings cutting atmosphere phenomenon
Date: 29 May 2006 01:05:01
Message: <web.447a8013f93ecc729756002c0@news.povray.org>
Tim Nikias <JUS### [at] gmxnetWARE> wrote:
> EagleSun wrote:
> > I'm working on the planets in an up-coming Star Wars movie, and I've ran
> > into a peculiar phenomenon, trying to
> >
> > render rings around a planet produces an artifact where the rings cut away
> > the atmosphere of the planet.  For the
> >
> > model, I use Saturn.
> >
> > Here is the source code that reproduces the phenomenon...
> >
> SNIP
>
> The discs have to be hollow.

WHOAH!  No wonder.... I would never have thought of it... but why?  When I
tried it, I got this.... (see image)


Post a reply to this message


Attachments:
Download 'hollow-disks.png' (201 KB)

Preview of image 'hollow-disks.png'
hollow-disks.png


 

From: Tim Nikias
Subject: Re: Rings cutting atmosphere phenomenon
Date: 29 May 2006 01:21:06
Message: <447a84c2@news.povray.org>
> WHOAH! No wonder... I would never have thought of it... but why? 
When > I tried it, I got this.... (see image)

Looks fine to me: shadow from the planet onto the rings, from the rings 
onto the planet... If there's anything wrong with that, add some 
no_shadow keywords. Or, if you're spotting some other problem through 
those various layers of objects and their media-hulls, try raising 
max_trace_level.

Regards,
Tim

-- 
aka "Tim Nikias"
Homepage: <http://www.nolights.de>


Post a reply to this message

From: EagleSun
Subject: Re: Rings cutting atmosphere phenomenon
Date: 29 May 2006 10:55:00
Message: <web.447b0af0f93ecc724de801770@news.povray.org>
Tim Nikias <JUS### [at] gmxnetWARE> wrote:
> > WHOAH! No wonder... I would never have thought of it... but why?
> When > I tried it, I got this.... (see image)
>
> Looks fine to me: shadow from the planet onto the rings, from the rings
> onto the planet... If there's anything wrong with that, add some
> no_shadow keywords. Or, if you're spotting some other problem through
> those various layers of objects and their media-hulls, try raising
> max_trace_level.
>
> Regards,
> Tim

Oh... it looks great to me too..... all I mean is... why did "hollow on"
work so well?  And why did "hollow off" cut away the atmosphere?  Just
trying to learn POV-Ray...


Post a reply to this message

From: M a r c
Subject: Re: Rings cutting atmosphere phenomenon
Date: 29 May 2006 11:16:07
Message: <447b1037@news.povray.org>

news:web.447b0af0f93ecc724de801770@news.povray.org...
> Oh... it looks great to me too..... all I mean is... why did "hollow on"
> work so well?  And why did "hollow off" cut away the atmosphere?  Just
> trying to learn POV-Ray...
>
Well as said said Tim, POV discs are like POV planes. They are both a
surface without thickness  and a half-space i.e. it cuts the whole POV
universe in 2 halves : outside and inside
"The inside of a disc is the inside of the plane that contains the disc.
Also note that it is not constrained by the radius of the disc." (doc
3.4.2.2).
in fact it seems that a disc is a plane which surrounding and hole are
transparent .
 Now the inside of an object may perform media only if it is declared as
hollow.

Why does a plane have an inside as many other POV primitives? It is useful
when you want to make a sea with an interior (fade_color, media etc..) or in
CSG to cut an object by difference or intersection.

Marc


Post a reply to this message

From: EagleSun
Subject: Re: Rings cutting atmosphere phenomenon
Date: 30 May 2006 11:05:00
Message: <web.447c5ecef93ecc72841337530@news.povray.org>
"M_a_r_c" <jac### [at] wanadoofr> wrote:

> news:web.447b0af0f93ecc724de801770@news.povray.org...
> > Oh... it looks great to me too..... all I mean is... why did "hollow on"
> > work so well?  And why did "hollow off" cut away the atmosphere?  Just
> > trying to learn POV-Ray...
> >
> Well as said said Tim, POV discs are like POV planes. They are both a
> surface without thickness  and a half-space i.e. it cuts the whole POV
> universe in 2 halves : outside and inside
> "The inside of a disc is the inside of the plane that contains the disc.
> Also note that it is not constrained by the radius of the disc." (doc
> 3.4.2.2).
> in fact it seems that a disc is a plane which surrounding and hole are
> transparent .
>  Now the inside of an object may perform media only if it is declared as
> hollow.
>
> Why does a plane have an inside as many other POV primitives? It is useful
> when you want to make a sea with an interior (fade_color, media etc..) or in
> CSG to cut an object by difference or intersection.
>
> Marc

OoOOoOoohh!!! OUTSIDE and INSIDE.... ok thanks for explaining this Marc, and
thank you Tim for providing the clue about "hollow on" for discs.

For a special treat, I'll re-render my ringed planets and post them over a
few weeks... (I'm giving myself a few weeks because I have a busy
schedule...)


Post a reply to this message

From: Tim Nikias
Subject: Re: Rings cutting atmosphere phenomenon
Date: 30 May 2006 17:47:22
Message: <447cbd6a$1@news.povray.org>
EagleSun wrote:

 > OoOOoOoohh!!! OUTSIDE and INSIDE.... ok thanks for explaining this
 > Marc, and thank you Tim for providing the clue about "hollow on" for
 > discs.

Hey, no problem. Glad to be of use. :-)

Regards,
Tim

-- 
aka "Tim Nikias"
Homepage: <http://www.nolights.de>


Post a reply to this message

<<< Previous 3 Messages Goto Initial 10 Messages

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