POV-Ray : Newsgroups : povray.advanced-users : Problems with Interior/Media Server Time
2 Nov 2024 13:19:12 EDT (-0400)
  Problems with Interior/Media (Message 1 to 7 of 7)  
From: ZuluNiner
Subject: Problems with Interior/Media
Date: 8 May 1999 15:00:14
Message: <37347bae.0@news.povray.org>
Well, the subject says it all.  I'm having a hard time with the interiors of
textures.  I've tried virtually every combination, and I can't seem to get
the interior settings to make ANY changes to the object in question at all.
Does anyone know a site on the web where I can get in-depth info, scene
files, or even tutorials specifically oriented towards the interior of a
texture??

Specifically, my current project is a ruby.  A ruby mounted in the pommel of
a sword.  Problem is that it's for web graphics, and the background has to
be black to match the site.  A Ruby rendered against a black backdrop simply
doesn't show up.  (It does, but it's virtually impossible to see.)  What I'm
trying to do to correct that is put a point light in the center of the ruby,
and give it a magical radiate/glow from within kind of thing.  No matter
what I've tried with media, I haven't been able to get the light to radiate.

Any suggestions/tips/sites?????

Thanks

--
ZuluNiner
aka Calin/Runesinger
ZuluNiner at fuckyou dot co dot uk


Post a reply to this message

From: Ken
Subject: Re: Problems with Interior/Media
Date: 8 May 1999 15:58:52
Message: <37348E51.6D485CBA@pacbell.net>
ZuluNiner wrote:
> 
> Well, the subject says it all.  I'm having a hard time with the interiors of
> textures.  I've tried virtually every combination, and I can't seem to get
> the interior settings to make ANY changes to the object in question at all.
> Does anyone know a site on the web where I can get in-depth info, scene
> files, or even tutorials specifically oriented towards the interior of a
> texture??
> 
> Specifically, my current project is a ruby.  A ruby mounted in the pommel of
> a sword.  Problem is that it's for web graphics, and the background has to
> be black to match the site.  A Ruby rendered against a black backdrop simply
> doesn't show up.  (It does, but it's virtually impossible to see.)  What I'm
> trying to do to correct that is put a point light in the center of the ruby,
> and give it a magical radiate/glow from within kind of thing.  No matter
> what I've tried with media, I haven't been able to get the light to radiate.
> 
> Any suggestions/tips/sites?????
> 
> Thanks
> 
> --
> ZuluNiner
> aka Calin/Runesinger
> ZuluNiner at fuckyou dot co dot uk


   Media is not really suited to making the interior of a clear object
"glow". If anything it will cause you problems with clarity since it
is designed to be just what the name implies - a media. Media is good
for fog, smoke, special underwater cloud effects and that sort of thing.
  For what you are doing you will probably be better off just raising
the ambient value higher and let that control the visibility of the
object. Media is still a new feature and there is little to nothing
available on the subject yet. There are a lot of people struggling to
learn it and you are not alone. I have spent some time working with it
now and I can think of no advantage to trying what you are attempting
to do with it.


  Try something like this for your Ruby texture:

  object { Ruby 
   pigment { rgbf <0.65, 0, 0, 0.98 > }
     finish  { ambient .6 diffuse .1 specular .7 roughness .0001 reflection .1 }
       interior { ior 1.35 }
   }


  If you were trying to model a photo realistic gemstone you would need to
increase the ior value. In the case where you are going to be using it on
a web pabe I suggest you leave it on the low side. This will help keep it
from trying to refract everything around it and allow you more control as
to what kind of backgrounds you can use with it.
   Don't use the light in the interior of the stone unless it is a last
resort. I have done it but with varying success and don't reccommend you get
in the habit of relying on that. Also read up on the looks like feature for
attaching a light source to an object. It too is the wrong thing to do here
but it is something you should read up on anyway. I used an ambient of 0.6
above. Don't be afraid to go as high as 0.8 if need be. Much more than that
and it will start to pass it's color onto the other objects around it. Real
stones normaly do not behave this way no matter how much we want them to.
Only in hollywood do you ever really see this happen because they have more
powerful carbon arc, precision focus, spotlights to use than we do.


Cheers,

-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

From: Lewis
Subject: Re: Problems with Interior/Media
Date: 8 May 1999 16:04:54
Message: <37348AD1.41A44308@netvision.net.il>
Basically, what you should do is give the ruby texture a high ambient
value. That's all!


Post a reply to this message

From: Mike
Subject: Re: Problems with Interior/Media
Date: 8 May 1999 16:52:22
Message: <3734946F.BE00E688@aol.com>
Provided you can get media to work at all in your object (it has to have an
actual interior), a scattering media should work fine.

Try something like:

interior {
media {
scattering {0, <1, 0, 0> extinction 0}
}
}

and use a light with fade_distance and fade_power to limit the distance of the
glow.  Don't forget to use hollow.

-Mike

ZuluNiner wrote:

> Well, the subject says it all.  I'm having a hard time with the interiors of
> textures.  I've tried virtually every combination, and I can't seem to get
> the interior settings to make ANY changes to the object in question at all.
> Does anyone know a site on the web where I can get in-depth info, scene
> files, or even tutorials specifically oriented towards the interior of a
> texture??
>
> Specifically, my current project is a ruby.  A ruby mounted in the pommel of
> a sword.  Problem is that it's for web graphics, and the background has to
> be black to match the site.  A Ruby rendered against a black backdrop simply
> doesn't show up.  (It does, but it's virtually impossible to see.)  What I'm
> trying to do to correct that is put a point light in the center of the ruby,
> and give it a magical radiate/glow from within kind of thing.  No matter
> what I've tried with media, I haven't been able to get the light to radiate.
>
> Any suggestions/tips/sites?????
>
> Thanks
>
> --
> ZuluNiner
> aka Calin/Runesinger
> ZuluNiner at fuckyou dot co dot uk


Post a reply to this message

From: Anders Haglund
Subject: Re: Problems with Interior/Media
Date: 9 May 1999 20:17:00
Message: <3736176c.0@news.povray.org>
ZuluNiner <ZuluNiner*@*fuckyou.co.uk> wrote:

Haven't realy checked the other answers but remember that the object with
the media must be hollow. It should also have a pigment with transparency
set to 1 so you actualy can see the media inside the object.

/Anders


Post a reply to this message

From: Gail Shaw
Subject: Re: Problems with Interior/Media
Date: 10 May 1999 04:32:04
Message: <37368b74.0@news.povray.org>
>
>Specifically, my current project is a ruby.  A ruby mounted in the pommel
of
>a sword.  Problem is that it's for web graphics, and the background has to
>be black to match the site.  A Ruby rendered against a black backdrop
simply
>doesn't show up.  (It does, but it's virtually impossible to see.)  What
I'm
>trying to do to correct that is put a point light in the center of the
ruby,
>and give it a magical radiate/glow from within kind of thing.  No matter
>what I've tried with media, I haven't been able to get the light to
radiate.


Put a small sphere White, ambient 1 in the centre of the ruby. No need
for media, just make the ruby's filter value about 0.4.

Gail
p..s Excalibur pic on my web site has exactly this done.
*******************************************************************
* gsh### [at] monotixcoza              * ERROR: COFFEE.COM not found  *
* http://www.rucus.ru.ac.za/~gail/ * Insert cup and press any key *
*******************************************************************
   My Software never has bugs, It just develops random features
*******************************************************************


Post a reply to this message

From: Julius Klatte
Subject: Re: Problems with Interior/Media
Date: 12 May 1999 18:15:31
Message: <3739ef73.0@news.povray.org>
>No matter
>what I've tried with media, I haven't been able to get the
light to radiate.

I'm lazy when it comes to learning about media, so when I
need to get something to glow, I start my good old pov 3.0
and use a halo. Very useful sometimes and can spare you much
frustration!

Julius


Post a reply to this message

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