POV-Ray : Newsgroups : povray.beta-test : IOR problem? Server Time
13 Nov 2024 04:19:37 EST (-0500)
  IOR problem? (Message 1 to 3 of 3)  
From: Slime
Subject: IOR problem?
Date: 14 Sep 2001 18:24:16
Message: <3ba28390@news.povray.org>
You'll have to forgive me if this is an old bug or it's my own fault, but
I've simplified my code as much as I can and looked it over, and I can't
figure out what the problem with it is. A quick explanation is that there's
an object inside another object, they both have the same IOR and the inside
object is transparent, yet it causes strange black internal reflection on
the outside object.

I made the scene just about as short and simple as I could.

The scene is commented, so if you read through the comments you should be
able to figure out what's wrong.

Again, sorry if it's just a problem with the code, or if it's a bug that's
not new to v3.5. Hopefully you can figure it out or set me straight.

The source is attached.

- Slime
[ http://www.karl.nu:4080/slime/ ]
[ http://www.karl.nu:4080/slime/images ]


Post a reply to this message


Attachments:
Download 'iorissue.pov.txt' (3 KB)

From: Warp
Subject: Re: IOR problem?
Date: 14 Sep 2001 20:27:10
Message: <3ba2a05e@news.povray.org>
Try adding:

global_settings { max_trace_level 8 }

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: Slime
Subject: Re: IOR problem?
Date: 14 Sep 2001 20:56:19
Message: <3ba2a733$1@news.povray.org>
Raise your hand if you feel like an idiot!

Heh... should have thought of that, thanks. =)

If I come up with something else, hopefully an actual bug, I'll tell you...
=)

- Slime
[ http://www.karl.nu:4080/slime/ ]
[ http://www.karl.nu:4080/slime/images ]


Post a reply to this message

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