POV-Ray : Newsgroups : povray.text.scene-files : Glass problem (see images section) Server Time
22 Dec 2024 03:55:29 EST (-0500)
  Glass problem (see images section) (Message 1 to 5 of 5)  
From: JSR
Subject: Glass problem (see images section)
Date: 16 Nov 2006 10:05:00
Message: <web.455c7d7b1a88df3ed8ef73430@news.povray.org>
Hi,
I post the source code for my glass problem.
Any suggestions?
Thks,

JSR.


Post a reply to this message


Attachments:
Download 'glass scene.zip' (268 KB)

From: Trevor G Quayle
Subject: Re: Glass problem (see images section)
Date: 16 Nov 2006 10:35:00
Message: <web.455c848892a75b21c150d4c10@news.povray.org>
"JSR" <jsr### [at] gmailcom> wrote:
> Hi,
> I post the source code for my glass problem.
> Any suggestions?
> Thks,
>
> JSR.

Having problem opening zip.  Try just pasting the text maybe...

-tgq


Post a reply to this message

From: JSR
Subject: Re: Glass problem (see images section)
Date: 16 Nov 2006 11:40:01
Message: <web.455c93b492a75b21d8ef73430@news.povray.org>
"Trevor G Quayle" <Tin### [at] hotmailcom> wrote:
> "JSR" <jsr### [at] gmailcom> wrote:
> > Hi,
> > I post the source code for my glass problem.
> > Any suggestions?
> > Thks,
> >
> > JSR.
>
> Having problem opening zip.  Try just pasting the text maybe...
>
> -tgq

The source is too large to post without compression.
Try this.

JSR.


Post a reply to this message


Attachments:
Download 'glass_scene.zip' (99 KB)

From: Trevor G Quayle
Subject: Re: Glass problem (see images section)
Date: 16 Nov 2006 12:35:01
Message: <web.455ca05392a75b21c150d4c10@news.povray.org>
"JSR" <jsr### [at] gmailcom> wrote:
> "Trevor G Quayle" <Tin### [at] hotmailcom> wrote:
> > "JSR" <jsr### [at] gmailcom> wrote:
> > > Hi,
> > > I post the source code for my glass problem.
> > > Any suggestions?
> > > Thks,
> > >
> > > JSR.
> >
> > Having problem opening zip.  Try just pasting the text maybe...
> >
> > -tgq
>
> The source is too large to post without compression.
> Try this.
>
> JSR.

Sorry, but this is very hard to work with, all individual meshes and almost
impossible to debug.  It's likely that there is a problem in the mesh
construction, it is far better to have it unified as a single mesh object.

The best I could do is play with max_trace_level.  Each side of the glass
should have 2 surfaces to work properly, so setting mtl to 2 should keep
the top where only the rear surfaces are visible (i.e. 2 surfaces) clear
and the rest of the bowl black (i.e. 4 surfaces), however they are all
black.  Setting mtl to 3 makes it clear.  Again, setting to 4 should make
the whole bowl clear, however it doesn't.  The testing indicates that your
glass has 3 surfaces around the bowl rather than 2, which makes the ray
interpret the inside/outside incorrectly.

Hope this is helpful.

-tgq


Post a reply to this message

From: JSR
Subject: Re: Glass problem (see images section)
Date: 17 Nov 2006 03:15:02
Message: <web.455d6f5092a75b21d8ef73430@news.povray.org>
> Sorry, but this is very hard to work with, all individual meshes and almost
> impossible to debug.  It's likely that there is a problem in the mesh
> construction, it is far better to have it unified as a single mesh object.
>
> The best I could do is play with max_trace_level.  Each side of the glass
> should have 2 surfaces to work properly, so setting mtl to 2 should keep
> the top where only the rear surfaces are visible (i.e. 2 surfaces) clear
> and the rest of the bowl black (i.e. 4 surfaces), however they are all
> black.  Setting mtl to 3 makes it clear.  Again, setting to 4 should make
> the whole bowl clear, however it doesn't.  The testing indicates that your
> glass has 3 surfaces around the bowl rather than 2, which makes the ray
> interpret the inside/outside incorrectly.
>
> Hope this is helpful.
>
> -tgq

Thank you,
I think that the solution maybe is to change all the 'mesh2' objects to only
one 'mesh2' object with all vertex inside. But, this solution implies to
change the source code of the program I work with. Maybe when I have enough
time...

JSR.


Post a reply to this message

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