POV-Ray : Newsgroups : povray.general : Unable to generate PNG Server Time
28 Nov 2024 00:35:26 EST (-0500)
  Unable to generate PNG (Message 1 to 5 of 5)  
From: Pahidla
Subject: Unable to generate PNG
Date: 6 Oct 2007 01:50:00
Message: <web.4707213d77fbc5c3ccd3f470@news.povray.org>
Hi,

When I try to generate a PNG file from command line for the following .pov
file, I don't get anything. I think it's a bug.

box { < -0.5, 0.0, 0.0 > < 0.0, 8.0, 9.0 > texture {pigment { color < 1.0,
1.0, 0.8 > }}}
box { < -0.5, 0.0, -0.5 > < 7.5, 9.0, 0.0 > texture {pigment { image_map {
jpeg "terracotta5.jpg"} }}}
light_source {< 3.5, 4.0, 7.0 > color < 1.0, 1.0, 1.0 >}
camera { perspective right x*-2/3 sky z angle 50 location < 3.0, -8.0, 6.0 >
look_at < 3.0, 7.0, 6.0 >}


If I comment out the terra-cotta line, everything works. My command line is
"C:\Program Files\POV-Ray for Windows v3.6\bin\pvengine.exe" +W360 +H540 +FN
+O"C:pg\povray\bathroom.png" "C:pg\povray\bathroom.pov"  /EXIT

Many thanks in advance.


Post a reply to this message

From: Le Forgeron
Subject: Re: Unable to generate PNG
Date: 6 Oct 2007 03:11:23
Message: <4707351b$1@news.povray.org>
Le 06.10.2007 07:46, Pahidla nous fit lire :

> 
> If I comment out the terra-cotta line, everything works. My command line is
> "C:\Program Files\POV-Ray for Windows v3.6\bin\pvengine.exe" +W360 +H540 +FN
> +O"C:pg\povray\bathroom.png" "C:pg\povray\bathroom.pov"  /EXIT
> 

How is it that there is a \ after some C:, but not for +O ?
Relative path might surprise you.

Moreover, pov file should be input with -/+I option, not directly.
Direct is for ini file.

-- 
The superior man understands what is right;
the inferior man understands what will sell.
-- Confucius


Post a reply to this message

From: Pahidla
Subject: Re: Unable to generate PNG
Date: 6 Oct 2007 10:05:01
Message: <web.470794eea623b6043ccd3f470@news.povray.org>
Le Forgeron <jgr### [at] freefr> wrote:
> Le 06.10.2007 07:46, Pahidla nous fit lire :
>
> >
> > If I comment out the terra-cotta line, everything works. My command line is
> > "C:Program FilesPOV-Ray for Windows v3.6binpvengine.exe" +W360 +H540 +FN
> > +O"C:pgpovraybathroom.png" "C:pgpovraybathroom.pov"  /EXIT
> >
>
> How is it that there is a  after some C:, but not for +O ?
> Relative path might surprise you.
>
> Moreover, pov file should be input with -/+I option, not directly.
> Direct is for ini file.
>
> --
> The superior man understands what is right;
> the inferior man understands what will sell.
> -- Confucius

Hi, the lack of some 's is an artifact of posting messages where you need to
replace  with \ and I forgot in several places.

Anyway, this issue is not about the syntax. I think it may be a bug, but I'm
not sure. Would someone not mind actually trying to replacate what I'm
saying and see that the png is/is not generated depending on whether the
terra-cotta line is/is not commented out.

Thank you very much in advance!

Pahidla


Post a reply to this message

From: Vincent Le Chevalier
Subject: Re: Unable to generate PNG
Date: 6 Oct 2007 17:21:18
Message: <4707fc4e$1@news.povray.org>

> Le Forgeron <jgr### [at] freefr> wrote:
>> Le 06.10.2007 07:46, Pahidla nous fit lire :
>>
>>> If I comment out the terra-cotta line, everything works. My command line is
>>> "C:Program FilesPOV-Ray for Windows v3.6binpvengine.exe" +W360 +H540 +FN
>>> +O"C:pgpovraybathroom.png" "C:pgpovraybathroom.pov"  /EXIT
>>>
>> How is it that there is a  after some C:, but not for +O ?
>> Relative path might surprise you.
>>
>> Moreover, pov file should be input with -/+I option, not directly.
>> Direct is for ini file.
>>
>> --
>> The superior man understands what is right;
>> the inferior man understands what will sell.
>> -- Confucius
> 
> Hi, the lack of some 's is an artifact of posting messages where you need to
> replace  with \ and I forgot in several places.
> 
> Anyway, this issue is not about the syntax. I think it may be a bug, but I'm
> not sure. Would someone not mind actually trying to replacate what I'm
> saying and see that the png is/is not generated depending on whether the
> terra-cotta line is/is not commented out.
> 
> Thank you very much in advance!
> 

Oops, I didn't see that you created another thread here. I gave you a 
tentative answer in povray.newusers...

-- 
Vincent


Post a reply to this message

From: Tim Attwood
Subject: Re: Unable to generate PNG
Date: 6 Oct 2007 18:07:31
Message: <47080723$1@news.povray.org>
Is this in Windows Vista?
Microsoft decided that .ini files would all be
considered windows system files by Vista
when they are installed or accessed from
the Program Files directory.  POV will
not operate correctly when installed to
that directory under Vista.

Additionally, you should use +I"source.pov"
without that it's looking for an .ini I think.


Post a reply to this message

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