POV-Ray : Newsgroups : povray.binaries.images : Media Trouble Server Time
2 Oct 2024 10:21:46 EDT (-0400)
  Media Trouble (Message 1 to 4 of 4)  
From: banty
Subject: Media Trouble
Date: 29 Apr 2000 10:36:42
Message: <390AF473.559D7F18@rapidnet.com>
I have been working on a project using P.O.V.-Ray 3.1's media
functions to simulate a space environment. The most obvious way to do
this is to use media independanty, but I can't get anything more that
random dots of color, sparsely placed around the screen. If, however, I
use media internally, I get somewhat better results, but the major part
of the picture is engulfed in a white blob which, though it is
interesting, leaves little space for anything else in the scene.

Do you have any suggestions on how I might shrink the "Star" at the
center of my image so that it appears as though viewed from a great
distance, or can you direct me to a more in depth tutorial on the
subject of Media in objects and athmosphere?



ban### [at] rapidnetcom


Post a reply to this message


Attachments:
Download 'solar.jpg' (122 KB)

Preview of image 'solar.jpg'
solar.jpg


 

From: Moon47
Subject: Re: Media Trouble
Date: 29 Apr 2000 12:44:42
Message: <3909C2A5.5CC2999A@earthlink.net>
A beautiful image indeed, i would love to see the code...

(1) Try scaling the density alone...
(2) Try scaling the container flat to give space in the foreground...
(3) Move the camera...?

I love media... =)

banty wrote:

> I have been working on a project using P.O.V.-Ray 3.1's media
> functions to simulate a space environment. The most obvious way to do
> this is to use media independanty, but I can't get anything more that
> random dots of color, sparsely placed around the screen. If, however, I
> use media internally, I get somewhat better results, but the major part
> of the picture is engulfed in a white blob which, though it is
> interesting, leaves little space for anything else in the scene.
>
> Do you have any suggestions on how I might shrink the "Star" at the
> center of my image so that it appears as though viewed from a great
> distance, or can you direct me to a more in depth tutorial on the
> subject of Media in objects and athmosphere?
>
>
>
> ban### [at] rapidnetcom
>
>   ------------------------------------------------------------------------
>  [Image]


Post a reply to this message

From: Bob Hughes
Subject: Re: Media Trouble
Date: 29 Apr 2000 13:54:21
Message: <390b21cd@news.povray.org>
Using a spherical 'density_map' you would just say:
[0.5 rgb 0]
[0.75 rgb 1]
for example to get a outer half of a sphere clear then reach full density
at 3/4 the way in.
Also could use predefined densities in place of the 'rgb' so that
there are differing types for outer and inner.
Just create however many density {density_map}} statements
you need.

Bob


Post a reply to this message

From: Chris Huff
Subject: Re: Media Trouble
Date: 29 Apr 2000 15:48:24
Message: <chrishuff_99-429444.14512829042000@news.povray.org>
In article <390AF473.559D7F18@rapidnet.com>, ban### [at] rapidnetcom wrote:

> I have been working on a project using P.O.V.-Ray 3.1's media
> functions to simulate a space environment.

Well, I will just ignore the fact that space is largely a vacuum then...


> The most obvious way to do this is to use media independanty, but I 
> can't get anything more that random dots of color, sparsely placed 
> around the screen. If, however, I use media internally, I get 
> somewhat better results, but the major part of the picture is 
> engulfed in a white blob which, though it is interesting, leaves 
> little space for anything else in the scene.

Are you talking about media without and with a container object?
It is always a good idea to put media in a container object of some 
kind, it avoids a lot of problems.


> Do you have any suggestions on how I might shrink the "Star" at the
> center of my image so that it appears as though viewed from a great
> distance, or can you direct me to a more in depth tutorial on the
> subject of Media in objects and athmosphere?

Try increasing the samples a bit(to get rid of some of the grainyness) 
and decrease the density of the media by a large amount. The density is 
controlled by the color of the media, if the color is too bright, things 
get washed out. You may also want to try different scattering models, I 
would suggest type 2 or 3.
It is hard to give any more help without access to the source for the 
scene, could you post it to povray.text.scene-files?

-- 
Christopher James Huff - Personal e-mail: chr### [at] yahoocom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://chrishuff.dhs.org/
TAG Web page: http://tag.povray.org/


Post a reply to this message

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