POV-Ray : Newsgroups : povray.newusers : Media?? Server Time
24 Nov 2024 20:43:42 EST (-0500)
  Media?? (Message 1 to 5 of 5)  
From: OpalPlanet
Subject: Media??
Date: 26 Jun 2007 15:00:02
Message: <web.468162136db89a3c39928d3a0@news.povray.org>
Whenever I add media to a scene, all I get is a black container object.
Help!
OpalPlanet


Post a reply to this message

From: Christian Froeschlin
Subject: Re: Media??
Date: 26 Jun 2007 15:10:19
Message: <4681649b$1@news.povray.org>
OpalPlanet wrote:

> Whenever I add media to a scene, all I get is a black container object.
> Help!

The container needs to be at least partially transparent ;)

pigment {color rgbt 1}


Post a reply to this message

From: OpalPlanet
Subject: Re: Media??
Date: 26 Jun 2007 15:50:01
Message: <web.46816d27ce26776539928d3a0@news.povray.org>
Christian Froeschlin <chr### [at] chrfrde> wrote:
> OpalPlanet wrote:
>
> > Whenever I add media to a scene, all I get is a black container object.
> > Help!
>
> The container needs to be at least partially transparent ;)
>
> pigment {color rgbt 1}

It is! I'm taking this code directly from the program docs:

global_settings { assumed_gamma 1 }

 background { rgb 1 }

 camera { location <3,4,-5>*.8 look_at 0 angle 35 }

 light_source { <20,40,10>, 1 }

 box // floor
  { <-1.5,-1.01,-1.5>, <1.5,-1.2,1.5>
  pigment {
   checker rgb 0.75, rgb 0.25 scale 0.2 } }

sphere // transparent sphere containing media
{ 0,1
pigment {
 rgbt 1 }
 hollow
 interior {
  media {
   emission 1
   density {
    spherical density_map {
     [0 rgb 0]
     [0.4 rgb <1,0,0>]
     [0.8 rgb <1,1,0>]
     [1 rgb 1]
     } } } } }

Still, just a black sphere.


Post a reply to this message

From: Warp
Subject: Re: Media??
Date: 26 Jun 2007 15:54:19
Message: <46816eea@news.povray.org>
OpalPlanet <ecs### [at] msncom> wrote:
> Still, just a black sphere.

  Are you sure you are not rendering with +q5 or smaller? You have to take
that option away.

-- 
                                                          - Warp


Post a reply to this message

From: OpalPlanet
Subject: Re: Media??
Date: 26 Jun 2007 16:05:02
Message: <web.46817157ce26776539928d3a0@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
> OpalPlanet <ecs### [at] msncom> wrote:
> > Still, just a black sphere.
>
>   Are you sure you are not rendering with +q5 or smaller? You have to take
> that option away.
>
> --
>                                                           - Warp

That was it! Thx!!!
-OpPl


Post a reply to this message

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