POV-Ray : Newsgroups : povray.binaries.images : --- Server Time
20 Nov 2024 10:26:53 EST (-0500)
  --- (Message 1 to 10 of 14)  
Goto Latest 10 Messages Next 4 Messages >>>
From: Paragon
Subject: ---
Date: 28 Aug 2001 18:53:13
Message: <3b8c20d9@news.povray.org>
I've been experimenting with glass and have come across some problems.  
Here is part of a scene that I created using Moray and sPatch.  The 
texture used for both the sphere and shot glass is Glass1 from the glass 
material library that comes with Moray.  Whereas the sphere is normal 
looking, the shot glass has all those black inconsistencies.  There are 
walls covering all sides of the objects, so the black is not anything 
reflected or refracted.  When I take away the refraction of the shot 
glass, the inconsistencies disappear.  How do I get rid of those 
inconsistencies?
(By the way, the shot glass was created from a lathe in sPatch then 
exported to Moray)


Post a reply to this message


Attachments:
Download 'iso-8859-1' (2 KB)

From: Lutz-Peter Hooge
Subject: Re:
Date: 28 Aug 2001 18:57:11
Message: <MPG.15f640478f0ef62b989685@news.povray.org>
In article <3b8c20d9@news.povray.org>, use### [at] hostcom says...

> refraction of the shot glass, the inconsistencies disappear.
> How do I get rid of those inconsistencies?
Most certainly this is caused by a insufficient max_trace_level in 
global_settings.

Lutz


Post a reply to this message

From: Scott Hill
Subject: Re:
Date: 28 Aug 2001 19:17:41
Message: <3b8c2695@news.povray.org>
"Paragon" <use### [at] hostcom> wrote in message news:3b8c20d9@news.povray.org...
> I've been experimenting with glass and have come
> across some problems...
>                                          ...the shot glass has all those
> black inconsistencies.  There are walls covering all sides
> of the objects, so the black is not anything reflected or
> refracted.

    First off, HTML posts are frowned upon by most people round here (yes,
even in the binaries groups)...

    Now to answer your question - Whilst you are right the black bits aren't
reflections of anything in your scene, they are caused by reflection... try
removing the reflection from the glass material and the black bits should
disappear...
    You see, what's happening is the combination of reflection and
refraction is causing 'total internal reflection' - where the rays POV is
calculating bounce around and around inside the glass without leaving - of
course POV won't do this forever - it only calculates upto a finite amount
of reflections and if it hasn't calculated a colour within that number it
just colors the pixel black.
    Fortunately you can specify how many reflections POV calculates - I
don't know how you do it in Moray, but you can add the following to top of
your .pov file :

global_setting { max_trace_level <level> }

    where <level> is the number of reflections you wish it to calculate -
now the only problem is you may find that you never get rid of the black
bits completely and the higher the value for max_trace_level you pick the
longer POV will spend rendering these parts of the scene...
--
Scott Hill.
Software Engineer.
E-Mail        : sco### [at] innocentcom
Pandora's Box : http://www.pandora-software.com

*Everything in this message/post is purely IMHO and no-one-else's*


Post a reply to this message

From: Paragon
Subject: Re:
Date: 28 Aug 2001 21:25:44
Message: <3b8c4498@news.povray.org>
Thank you for the reply but it seems to have not done the trick.  I tried
taking away the reflection from the glass material as well as increasing the
max_trace_level but I still get the black distortions (even with very high
max_trace_levels).  I have attached the files for the scene if anybody
wishes to try their hand at it.

-Paragon

"Scott Hill" <nos### [at] nospamthanks> wrote in message
news:3b8c2695@news.povray.org...
> "Paragon" <use### [at] hostcom> wrote in message
news:3b8c20d9@news.povray.org...
> > I've been experimenting with glass and have come
> > across some problems...
> >                                          ...the shot glass has all those
> > black inconsistencies.  There are walls covering all sides
> > of the objects, so the black is not anything reflected or
> > refracted.
>
>     First off, HTML posts are frowned upon by most people round here (yes,
> even in the binaries groups)...
>
>     Now to answer your question - Whilst you are right the black bits
aren't
> reflections of anything in your scene, they are caused by reflection...
try
> removing the reflection from the glass material and the black bits should
> disappear...
>     You see, what's happening is the combination of reflection and
> refraction is causing 'total internal reflection' - where the rays POV is
> calculating bounce around and around inside the glass without leaving - of
> course POV won't do this forever - it only calculates upto a finite amount
> of reflections and if it hasn't calculated a colour within that number it
> just colors the pixel black.
>     Fortunately you can specify how many reflections POV calculates - I
> don't know how you do it in Moray, but you can add the following to top of
> your .pov file :
>
> global_setting { max_trace_level <level> }
>
>     where <level> is the number of reflections you wish it to calculate -
> now the only problem is you may find that you never get rid of the black
> bits completely and the higher the value for max_trace_level you pick the
> longer POV will spend rendering these parts of the scene...
> --
> Scott Hill.
> Software Engineer.
> E-Mail        : sco### [at] innocentcom
> Pandora's Box : http://www.pandora-software.com
>
> *Everything in this message/post is purely IMHO and no-one-else's*
>
>
>


Post a reply to this message


Attachments:
Download 'whiskey.zip' (6 KB)

From: Paragon
Subject: Re:
Date: 28 Aug 2001 21:25:48
Message: <3b8c449c@news.povray.org>
Thank you for the reply but it seems to have not done the trick.  I tried
taking away the reflection from the glass material as well as increasing the
max_trace_level but I still get the black distortions (even with very high
max_trace_levels).  I have attached the files for the scene if anybody
wishes to try their hand at it.

-Paragon

"Scott Hill" <nos### [at] nospamthanks> wrote in message
news:3b8c2695@news.povray.org...
> "Paragon" <use### [at] hostcom> wrote in message
news:3b8c20d9@news.povray.org...
> > I've been experimenting with glass and have come
> > across some problems...
> >                                          ...the shot glass has all those
> > black inconsistencies.  There are walls covering all sides
> > of the objects, so the black is not anything reflected or
> > refracted.
>
>     First off, HTML posts are frowned upon by most people round here (yes,
> even in the binaries groups)...
>
>     Now to answer your question - Whilst you are right the black bits
aren't
> reflections of anything in your scene, they are caused by reflection...
try
> removing the reflection from the glass material and the black bits should
> disappear...
>     You see, what's happening is the combination of reflection and
> refraction is causing 'total internal reflection' - where the rays POV is
> calculating bounce around and around inside the glass without leaving - of
> course POV won't do this forever - it only calculates upto a finite amount
> of reflections and if it hasn't calculated a colour within that number it
> just colors the pixel black.
>     Fortunately you can specify how many reflections POV calculates - I
> don't know how you do it in Moray, but you can add the following to top of
> your .pov file :
>
> global_setting { max_trace_level <level> }
>
>     where <level> is the number of reflections you wish it to calculate -
> now the only problem is you may find that you never get rid of the black
> bits completely and the higher the value for max_trace_level you pick the
> longer POV will spend rendering these parts of the scene...
> --
> Scott Hill.
> Software Engineer.
> E-Mail        : sco### [at] innocentcom
> Pandora's Box : http://www.pandora-software.com
>
> *Everything in this message/post is purely IMHO and no-one-else's*
>
>
>


Post a reply to this message


Attachments:
Download 'whiskey.zip' (6 KB)

From: Alberto
Subject: Re:
Date: 29 Aug 2001 00:11:01
Message: <3B8C6AD0.E3C920B0@usb.ve>
Set the adc_bailout to 0.1 . If this is to big, try with a little bit smaller value.

Alberto.

> Paragon wrote:
> 
> Thank you for the reply but it seems to have not done the trick.  I tried
> taking away the reflection from the glass material as well as increasing the
> max_trace_level but I still get the black distortions (even with very high
> max_trace_levels).  I have attached the files for the scene if anybody
> wishes to try their hand at it.
> 
> -Paragon
> 
> "Scott Hill" <nos### [at] nospamthanks> wrote in message


Post a reply to this message

From: Paragon
Subject: Re:
Date: 29 Aug 2001 01:21:26
Message: <3b8c7bd6@news.povray.org>
Thanks, but I still get that darn black distortion.  I found that setting
the diffuse level higher helps, but changes the look I want for the glass.
I guess I'll have to settle for that for now...

Paragon
"Alberto" <jac### [at] usbve> wrote in message news:3B8C6AD0.E3C920B0@usb.ve...
> Set the adc_bailout to 0.1 . If this is to big, try with a little bit
smaller value.
>
> Alberto.
>
> > Paragon wrote:
> >
> > Thank you for the reply but it seems to have not done the trick.  I
tried
> > taking away the reflection from the glass material as well as increasing
the
> > max_trace_level but I still get the black distortions (even with very
high
> > max_trace_levels).  I have attached the files for the scene if anybody
> > wishes to try their hand at it.
> >
> > -Paragon
> >
> > "Scott Hill" <nos### [at] nospamthanks> wrote in message


Post a reply to this message

From: Jaime Vives Piqueres
Subject: Re:
Date: 29 Aug 2001 04:06:56
Message: <3B8CA29C.DB03CAD8@ignorancia.org>

> 
> Thank you for the reply but it seems to have not done the trick.  I tried
> taking away the reflection from the glass material as well as increasing the
> max_trace_level but I still get the black distortions (even with very high
> max_trace_levels).  I have attached the files for the scene if anybody
> wishes to try their hand at it.


  These are not "black distortions", only realistic reflections of the
empty space on the scene (thus black space). Surround all the scene with
walls and ceil and it will disappear...

-- 
Jaime Vives Piqueres

La Persistencia de la Ignorancia
http://www.ignorancia.org/


Post a reply to this message

From: Bob H 
Subject: Re: glass problem
Date: 29 Aug 2001 07:46:12
Message: <3b8cd604@news.povray.org>
"Jaime Vives Piqueres" <jai### [at] ignoranciaorg> wrote in message
news:3B8CA29C.DB03CAD8@ignorancia.org...

> >
> > Thank you for the reply but it seems to have not done the trick.  I
tried
> > taking away the reflection from the glass material as well as increasing
the
> > max_trace_level but I still get the black distortions (even with very
high
> > max_trace_levels).  I have attached the files for the scene if anybody
> > wishes to try their hand at it.
>
>
>   These are not "black distortions", only realistic reflections of the
> empty space on the scene (thus black space). Surround all the scene with
> walls and ceil and it will disappear...

No, it is already.  Said so somewhere else but this dual thread thing has
confused me as to where exactly.
But that is what it looks a lot like anyway, if not any lack of
max_trace_level.
If I could find that scene file to see if maybe the CSG has two textures, a
combined refractive one and non-refractive perhaps, then maybe it could be
figured out.  Just guessing though.

Bob H.


Post a reply to this message

From: Trevor Quayle
Subject: Re:
Date: 29 Aug 2001 08:31:53
Message: <3b8ce0b9@news.povray.org>
After playing with the scene for a bit I think I may have found somewhat of
an answer.
Some of the black came from the black background (you do have walls but not
on all sides, try  "background {color <1,1,1>}".  Some of the black are
artifacts from not having max_trace_level high enough (I used 100 *ulp* to
make sure there weren't any left but you can get away with lower).  After
changing these any black that's left appear to come from the glass texture
itself.  You have filter set to 0.7 so eventually, after moving through the
glass enough, the light fades to black. Try setting the filter value in your
glass texture higher (plus the other fixes mentioned) and the black should
eventually disappear (at least I was able to get it to). Unless you want
your glass to appear like that. As a side note, you may also want to try use
light fading in your glass to achieve the look you want for your glass. Good
luck


-tgq

Image 1 - no changes
Image 2 - change "background {color <1,1,1>}"
Image 3 - change "max_trace_level 100"
Image 4 - change "color rgbf <1.0, 1.0, 1.0, 0.9>" in Glass2
Bonus:
Image 5 - add   "fade_distance 3  fade_power 1" to interior of Glass2


"Paragon" <use### [at] hostcom> wrote in message news:3b8c449c@news.povray.org...
> Thank you for the reply but it seems to have not done the trick.  I tried
> taking away the reflection from the glass material as well as increasing
the
> max_trace_level but I still get the black distortions (even with very high
> max_trace_levels).  I have attached the files for the scene if anybody
> wishes to try their hand at it.
>
> -Paragon
>
> "Scott Hill" <nos### [at] nospamthanks> wrote in message
> news:3b8c2695@news.povray.org...
> > "Paragon" <use### [at] hostcom> wrote in message
> news:3b8c20d9@news.povray.org...
> > > I've been experimenting with glass and have come
> > > across some problems...
> > >                                          ...the shot glass has all
those
> > > black inconsistencies.  There are walls covering all sides
> > > of the objects, so the black is not anything reflected or
> > > refracted.
> >
> >     First off, HTML posts are frowned upon by most people round here
(yes,
> > even in the binaries groups)...
> >
> >     Now to answer your question - Whilst you are right the black bits
> aren't
> > reflections of anything in your scene, they are caused by reflection...
> try
> > removing the reflection from the glass material and the black bits
should
> > disappear...
> >     You see, what's happening is the combination of reflection and
> > refraction is causing 'total internal reflection' - where the rays POV
is
> > calculating bounce around and around inside the glass without leaving -
of
> > course POV won't do this forever - it only calculates upto a finite
amount
> > of reflections and if it hasn't calculated a colour within that number
it
> > just colors the pixel black.
> >     Fortunately you can specify how many reflections POV calculates - I
> > don't know how you do it in Moray, but you can add the following to top
of
> > your .pov file :
> >
> > global_setting { max_trace_level <level> }
> >
> >     where <level> is the number of reflections you wish it to
calculate -
> > now the only problem is you may find that you never get rid of the black
> > bits completely and the higher the value for max_trace_level you pick
the
> > longer POV will spend rendering these parts of the scene...
> > --
> > Scott Hill.
> > Software Engineer.
> > E-Mail        : sco### [at] innocentcom
> > Pandora's Box : http://www.pandora-software.com
> >
> > *Everything in this message/post is purely IMHO and no-one-else's*
> >
> >
> >
>
>
>
>
>


Post a reply to this message


Attachments:
Download 'whiskey1.jpg' (7 KB) Download 'whiskey2.jpg' (6 KB) Download 'whiskey3.jpg' (6 KB) Download 'whiskey4.jpg' (7 KB) Download 'whiskey5.jpg' (6 KB)

Preview of image 'whiskey1.jpg'
whiskey1.jpg

Preview of image 'whiskey2.jpg'
whiskey2.jpg

Preview of image 'whiskey3.jpg'
whiskey3.jpg

Preview of image 'whiskey4.jpg'
whiskey4.jpg

Preview of image 'whiskey5.jpg'
whiskey5.jpg


 

Goto Latest 10 Messages Next 4 Messages >>>

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