POV-Ray : Newsgroups : povray.beta-test : Media Bug (no media, only black objects appear) Server Time
29 Jul 2024 18:29:19 EDT (-0400)
  Media Bug (no media, only black objects appear) (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: Tim Nikias
Subject: Media Bug (no media, only black objects appear)
Date: 16 Mar 2002 21:02:20
Message: <3C93F954.8130A054@gmx.de>
To begin with, I wasn't able to reproduce the bug by hand, and
since it appears when using my Particle-System, I guess it
has something to do with some memory leaks or such, but I'll explain...

So, I've got a 1.4GHZ Athlon, 512 MB RAM, Win98, using
Beta 13.

The bug didn't occur formerly when using Beta 12 and the ones
before, but I'll see later if it appears there too.

So, I'm tracing a 250 frame, 320x240 animation, when suddenly
the media-objects appear black. There are 239 particles (each one
only a media-sphere), one additional media-sphere as an emitter,
and a little mesh made of 6 triangles to make a corner for a room.
The only lightsource is a fade_power one, centered in the
media-sphere-emitter.

I tried to let POV-Ray simply render the remaining frames. Then,
seemingly be random, either all the particles (if placed inside a union
or not does not matter), or the single emitter, or both, appear
sometimes
properly, sometimes black, and sometimes it appears that I can see the
media and only the background-color through the object in which
the media is contained.

My Particle-System does not use I/O, and I've checked all sorts
of textures. Even when setting the default texture to a transparent
one (which would be useful for media), it seems that the objects
are simply traced with the default total-black texture.

Anti-Aliasing doesn't help either, it seems that POV-Ray regards
objects either as fully black, or media, or media-on-background,
or working properly, but no jags or in-between any of those four
possibilities.

The particles are placed using a macro, but even when using an
object-declaration, it occurs, and when using one single blob (with
particles represented by spherical) components, it pops up.

This seems a severe media-bug, and I'm doing all I can to actually
close in on what's messing things up. If anyone has suggestions on
how to proceed, I'd be grateful. If there is need, I can also ZIP the
particle-system along with the scene.

So, comments, suggestions and hints could be pretty useful.

I'll go ahead now and try if it occurs with Beta 12, perhaps that'll
help a bit.

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html


Post a reply to this message

From: Tim Nikias
Subject: Re: Media Bug (no media, only black objects appear)
Date: 16 Mar 2002 21:21:57
Message: <3C80376B.6117A818@gmx.de>
Ok, the bug also occurs in Beta 12.

I've also tried using 100% filter instead of transparency
(rgbt <0,0,0,1>, rgbt 1, rgbf 1, rgbf <0,0,0,1>), no
apparent change.
When changing some settings(rgbt, object/macro/blob)
the frequency and order of the four "bug-types" seem
to change, but still, its all just random.

Oh, but when not using a media around all particles,
they also disappear in bunches or one by one, not
only all-or-none.

So, since I gather that there are some problems occuring
with macros, I'll look into the dozens I'm using and check
if I can make a change there.

For now, it's getting too late for me.

But I'm confident that someone will:
-confirm
-point me to the actual bug (like "typical macro-bug" or such)
-and finally, some genius will find either a roundabout way,
 or a solution.

Generally, I just want to say that, though some people
do get annoyed by bugs, I know that this is beta-testing,
and I'm actually more proud of being able to find a bug,
so that I can contribute to the work of the actual developers.

I'm just doing my tiny work of giving them the chance to make a
superb raytracer, so I'm not complaining.

After all, the P in POVRay stands for Patience.
V is for Victory, but that always comes after Patience.

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html


Post a reply to this message

From: Peter Popov
Subject: Re: Media Bug (no media, only black objects appear)
Date: 17 Mar 2002 01:52:38
Message: <m0f89usk2hmigidm0mmfe0b84hcgj6t7qi@4ax.com>
On Sun, 17 Mar 2002 03:03:00 +0100, Tim Nikias <tim### [at] gmxde>
wrote:

>So, comments, suggestions and hints could be pretty useful.

Something to try:

max_trace_lever 479 // 2*(number of particles) + 1


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

From: Tim Nikias
Subject: Re: Media Bug (no media, only black objects appear)
Date: 17 Mar 2002 05:40:34
Message: <3C80AC4A.7D4ACEE2@gmx.de>
max_trace_level is set to 256, which is the
upper limit POV gives. But that's not the problem,
because in just a frame before, everything is fine,
and then suddenly, all media vanish (or some etc)


--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html


Post a reply to this message

From: Tim Nikias
Subject: Re: Media Bug (no media, only black objects appear)
Date: 17 Mar 2002 06:08:48
Message: <3C80B2E6.D5D0255C@gmx.de>
Okay, I've found that the macros shouldn't leak
anywhere. As mentioned in some bug-report
with leaking macros, I've put the brackets
( ) around the returned parameters and checked
if there are possibilities for side-effects.

I've also found the objects aren't black, but just
eradicate everything in the line of sight, making
the background visible. When using background{rgb x}
the missing media are red.
When using a sky-sphere, the sky-spheres pigment
is visible.
When placing another object behind the media
particles, that one is also rendered invisible, but
that already happened with the mesh, just another
backup test.

I've posted a small image to p.b.i. so that you can see
one of the more curious effects:
The media is visible in front of the sky-sphere,
but renders the mesh invisible.


--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html


Post a reply to this message

From: Tim Nikias
Subject: Re: Media Bug (no media, only black objects appear)
Date: 17 Mar 2002 06:32:17
Message: <3C80B867.153AC965@gmx.de>
I've experimented a bit with the objects in the
scene and found that blob's aren't shaded properly
sometimes. They miss reflections, and there is
only a visible difference between lit and unlit areas.
Specular is missing as well.

So, I guess it has nothing to do with media, but instead
some memory leak, caused by some line in my code.

I'm not using functions, only various macros,
include-file depth of 2 (including a file which includes
files) and I have no clue what the reason may be. I'll
be studying the known bug list for now and look with
what I'll come up.

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html


Post a reply to this message

From: Tim Nikias
Subject: Re: Media Bug (no media, only black objects appear)
Date: 17 Mar 2002 08:03:18
Message: <3C80CDBD.C51BC3F@gmx.de>
In case its of interest: It seems that the
bug doesn't appear on POV-Ray 3.1g.

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html


Post a reply to this message

From: Tim Nikias
Subject: Update: Bug still there!
Date: 25 Mar 2002 03:41:29
Message: <3C9EE2BB.32607C86@gmx.de>
Just wanted to point out that the bug still occurs on
POV-Ray Beta 14, either compile, using my
1.4 GHZ Athlon, 512 MB SD-RAM, Win98

I'll keep an eye on this problem, and try to
pinpoint the exact error that occurs. I once
thought it might be a bug in media-calculations,
but that's not the case, as blobs sometimes don't
trace correctly (unshaded, sort of) as well.

If anyone could reply and tell me that the problem
is noted somewhere, or if someone can point me
to a related bug, I'd be happy, but I'll just keep
quiet on this one for now until I notice it being gone, or
until the final release is to come out, but the bug
still pops up...


--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html


Post a reply to this message

From: Peter Popov
Subject: Re: Update: Bug still there!
Date: 26 Mar 2002 12:34:23
Message: <g4c1aug7kq5ls0r9i502hhhn8l9ofci7vq@4ax.com>
On Mon, 25 Mar 2002 09:41:31 +0100, Tim Nikias <tim### [at] gmxde>
wrote:

>blobs sometimes don't
>trace correctly (unshaded, sort of) as well.

Blobs with numerous small components? Maybe it's a precision thing,
blobs are represented by quite a high order equation so the solver
might just be choking in some cases.


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

From: Tim Nikias
Subject: Re: Update: Bug still there!
Date: 26 Mar 2002 17:35:52
Message: <3CA0F7CD.DE03CB75@gmx.de>
Naaah, I meant wrong lighting. Its like using a lower
Quality setting for tracing, or perhaps that
"cartoon-shading" type of effect. The colors aren't
lit and shaded properly, no reflections or highlights
(phong or specular). I'll recreate that a bit later and post
it on the binaries.images as an attachment to the other
three bug-pics I already posted on this matter.


--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html


Post a reply to this message

Goto Latest 10 Messages Next 1 Messages >>>

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