POV-Ray : Newsgroups : povray.unofficial.patches : Having more trouble with Post Process Filters Server Time
2 Sep 2024 08:15:44 EDT (-0400)
  Having more trouble with Post Process Filters (Message 1 to 5 of 5)  
From: Glen Berry
Subject: Having more trouble with Post Process Filters
Date: 1 May 2000 21:52:30
Message: <hjQOOQqJAR3goP0u2i1f2f6xW5=o@4ax.com>
Whenever I try to render one of Chris' demo files, I get the following
type of error:

Scene3.inc:32: error: transform identifier expected but { found
instead.

What should I try?

Thanks,
Glen Berry

( Remove the "7" from 7no### [at] ezwvcom to email me. )


Post a reply to this message

From: Chris Huff
Subject: Re: Having more trouble with Post Process Filters
Date: 1 May 2000 22:23:39
Message: <chrishuff_99-3F8D17.21264701052000@news.povray.org>
In article <hjQOOQqJAR3goP0u2i1f2f6xW5=o@4ax.com>, Glen Berry 
<7no### [at] ezwvcom> wrote:

> Whenever I try to render one of Chris' demo files, I get the following
> type of error:
> 
> Scene3.inc:32: error: transform identifier expected but { found
> instead.

Oops!
The compile I was using also incorporates my transform patch, which 
allows transform {...} blocks to be used in objects, instead of just 
"transform IDENTIFIER". The demo files use the new syntax, they began as 
test files for it. I am not surprised Nathan didn't catch it when he ran 
the files, since his compile probably also incorporates the transform 
patch...
Just change the files so "transform {IDENTIFIER}" is changed to 
"transform IDENTIFIER" and so the wrapping "transform {...}" is removed 
from statements of the "transform {rotate|translate|scale|matrix}" type.

In other words, change this:
transform {aDeclaredTransform}
to this:
transform aDeclaredTransform

and this:
transform {
    rotate < X, Y, Z>
    scale < X, Y, Z>
}
to this:
rotate < X, Y, Z>
scale < X, Y, Z>

-- 
Christopher James Huff - Personal e-mail: chr### [at] yahoocom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://chrishuff.dhs.org/
TAG Web page: http://tag.povray.org/


Post a reply to this message

From: Glen Berry
Subject: Re: Having more trouble with Post Process Filters
Date: 2 May 2000 13:41:16
Message: <iREPOc7pwRxSTaoV9xM9HzwUTFJl@4ax.com>
On Mon, 01 May 2000 21:26:47 -0500, Chris Huff
<chr### [at] yahoocom> wrote:

>Oops!
>The compile I was using also incorporates my transform patch,

<Explaination and cure snipped>

Thanks for explaining that for me. I have now rendered some of the new
demo scenes sucessfully, but each time I render a scene, I have a
".tpn" file left in the same directory as my output image. It was my
understanding that ".tpn" files are temporary, and should be
automatically deleted after the render is finished.

For the record, I am using a DJGPP compile, and running it under
WIN95. My output format of choice is ".PNG" - I haven't tried yet to
see if the problem is isolated to PNG output only, but I'll let you
know later if it also happens with TGA output.

Later,
Glen Berry

( Remove the "7" from 7no### [at] ezwvcom to email me. )


Post a reply to this message

From: Chris Huff
Subject: Re: Having more trouble with Post Process Filters
Date: 2 May 2000 15:57:36
Message: <chrishuff_99-3340B0.15004502052000@news.povray.org>
In article <iREPOc7pwRxSTaoV9xM9HzwUTFJl@4ax.com>, Glen Berry 
<7no### [at] ezwvcom> wrote:

> Thanks for explaining that for me. I have now rendered some of the new
> demo scenes sucessfully, but each time I render a scene, I have a
> ".tpn" file left in the same directory as my output image. It was my
> understanding that ".tpn" files are temporary, and should be
> automatically deleted after the render is finished.
> 
> For the record, I am using a DJGPP compile, and running it under
> WIN95. My output format of choice is ".PNG" - I haven't tried yet to
> see if the problem is isolated to PNG output only, but I'll let you
> know later if it also happens with TGA output.

As I recall, this is a known bug: the temporary file is not deleted if 
PNG is used. I think there was another problem: the PNG file is not the 
post-processed version of the image, although I am not certain of this.
If you use TGA or some other format, it should work fine.

-- 
Christopher James Huff - Personal e-mail: chr### [at] yahoocom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://chrishuff.dhs.org/
TAG Web page: http://tag.povray.org/


Post a reply to this message

From: Nathan Kopp
Subject: Re: Having more trouble with Post Process Filters
Date: 2 May 2000 16:20:27
Message: <390f388b$1@news.povray.org>
Glen Berry <7no### [at] ezwvcom> wrote...
> Thanks for explaining that for me. I have now rendered some of the new
> demo scenes sucessfully, but each time I render a scene, I have a
> ".tpn" file left in the same directory as my output image. It was my
> understanding that ".tpn" files are temporary, and should be
> automatically deleted after the render is finished.
>
> For the record, I am using a DJGPP compile, and running it under
> WIN95. My output format of choice is ".PNG" - I haven't tried yet to
> see if the problem is isolated to PNG output only, but I'll let you
> know later if it also happens with TGA output.

There is a bug with POV's PNG code, which causes this problem in post
processing.  It will be fixed when we get around to releasing version 0.5.
Until then, you'll have to use a different file format.  (And on the Mac,
Pict is broken in 0.4, too.)

-Nathan


Post a reply to this message

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