POV-Ray : Newsgroups : povray.unofficial.patches : Sim-POV Problems!! Server Time
3 Jul 2024 05:07:19 EDT (-0400)
  Sim-POV Problems!! (Message 1 to 10 of 15)  
Goto Latest 10 Messages Next 5 Messages >>>
From: Andrew Cocker
Subject: Sim-POV Problems!!
Date: 10 Dec 2002 09:45:47
Message: <3df5fe1b$1@news.povray.org>
Hi Cristoph (or anyone else able to help),

I'm having problems getting Sim-Pov to run on my machine. It's been so long since I
ran POV
from the command-line that many of the problems I'm having may be down to me messing
up :-)

Firstly, I simply cannot get POV to show me the rendering in progress.. the best I can
get is
ASCII art in the Command window. I have tried +D, +D0, +DT, +D0...9T and +DA...ZT.  I
should
point out that I am using XP Home. Is there a problem with POV opening up a window
perhaps?

Secondly, the supplied  scene files do not render. Here's the message window:


C:\Program Files\POV-Ray for Windows v3.5\bin>povray simpov.ini +h120 +w160 +v +
D +kff25
Persistence of Vision(tm) Ray Tracer Version 3.5 Unix (.CYGWIN_NT-4.0.gcc)
  This is an unofficial version (Sim-POV 0.1.0) compiled by:
   Christoph Hormann <chr### [at] gmxde>
   The POV-Ray Team(tm) is not responsible for supporting this version.
Copyright 1991-2002 POV-Ray Team(tm)
Possible Environment Error: Could not open INI file '"c:\program files\pov-ray f
or windows v3.5\renderer\povray.ini"'.
?Warning: Could not find '"c:\program files\pov-ray for windows v3.5\renderer\po
vray.ini"' as specified in POVINI environment.

?Possible INI File Error: Could not open INI file '/usr/local/etc/povray.ini'.
?Parsing Options
  Input file: blocks.pov (compatible to version 3.5)
  Remove bounds........On  Split unions........Off
  Library paths: c:\program files\pov-ray for windows v3.5\include
    c:\program files\pov-ray for windows v3.5\scenes
    c:\program files\pov-ray for windows v3.5\renderer
Output Options
  Image resolution 160 by 120 (rows 1 to 120, columns 1 to 160).
  Output file: D:\My Stuff\POVimages\.tga, 24 bpp (system format)
  Graphic display......On  (type: 0, palette: 3, gamma:  2.2)
  Mosaic preview......Off
  Continued trace.....Off  Allow interruption...On  Pause when done......On
  Verbose messages.....On
Tracing Options
  Quality:  9
  Bounding boxes.......On  Bounding threshold: 25
  Light Buffer.........On  Vista Buffer.........On  Draw Vista Buffer...Off
  Antialiasing.........On  (Method 1, Threshold 0.100, Depth 3, Jitter 1.00)
Animation Options
  Initial Frame..       1  Final Frame....      25
  Initial Clock..   0.000  Final Clock....   1.000
  Cyclic Animation....Off  Field render........Off  Odd lines/frames....Off
Redirecting Options
  All Streams to console.........Off
  Debug Stream to console.........On
  Fatal Stream to console.........On
  Render Stream to console........On
  Statistics Stream to console....On
  Warning Stream to console.......On


Parsing..................
Calculating Mechanics Simulation... Time=0.0332s (100 percent)
Saved simulation data to file blocks1.dat
Generating Objects....File: c:\program files\pov-ray for windows v3.5\include/me
chsim.inc  Line: 369
    #if (Write_File)

?      #fclose FILE

?    #end

?

?  } <----ERROR

?Parse Error: Expected 'object', } found instead
?
C:\Program Files\POV-Ray for Windows v3.5\bin>

// -------------------------

As you can see, I tried to SET the povray.ini variable, but I don't even know if
that's
something I needed to do.
Also, this line ?Possible INI File Error: Could not open INI file
'/usr/local/etc/povray.ini'.
is looking for POVRAY.INI on a Linux directory structure?
And this line Generating Objects....File: c:\program files\pov-ray for windows
v3.5\include/me
chsim.inc  Line: 369 has a forward slash in it.. is this wrong?

// -------------------------
Other little problems I'm having:
I'm using Output_File_Name=D:\My Stuff\POVimages\ in my INI file, yet POV is saving
the files
as .tga, when I expect it to save it as MyFile.tga (ie, there *is no* filename, just
the
extension). This works fine in my v3.5 setup.

Lastly, Allow_Interruption (+X) doesn't appear to be working.

I hope someone can help me with this, and that I'm not just being a complete idiot.

Thanks,

Andy Cocker


Post a reply to this message

From: Christoph Hormann
Subject: Re: Sim-POV Problems!!
Date: 10 Dec 2002 10:08:49
Message: <3DF60381.E3679171@gmx.de>
Andrew Cocker wrote:
> 
> Hi Cristoph (or anyone else able to help),
> 
> I'm having problems getting Sim-Pov to run on my machine. It's been so long since I
ran POV
> from the command-line that many of the problems I'm having may be down to me messing
up :-)
> 
> Firstly, I simply cannot get POV to show me the rendering in progress.. the best I
can get is
> ASCII art in the Command window. I have tried +D, +D0, +DT, +D0...9T and +DA...ZT. 
I should
> point out that I am using XP Home. Is there a problem with POV opening up a window
perhaps?

There isn't any graphics support except ASCII in the compiled version on
my site.  You can compile it with X support if you have installed Cygwin
or use a compiler capable of building the Windows GUI.  Free Borland will
make a slower executable though.

I will have a deeper look into the other stuff later today.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 07 Dec. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Andrew Cocker
Subject: Re: Sim-POV Problems!!
Date: 10 Dec 2002 10:10:44
Message: <3df603f4$1@news.povray.org>
Ah... I have to render the scene file as a still first (to initialise)? Then run
animation?
When I do that, it works.

Did I not read the docs well enough?

All the best,

Andy Cocker


Post a reply to this message

From: Andrew Cocker
Subject: Re: Sim-POV Problems!!
Date: 10 Dec 2002 10:35:52
Message: <3df609d8$1@news.povray.org>
"Christoph Hormann" <chr### [at] gmxde> wrote in message
news:3DF60381.E3679171@gmx.de...
> There isn't any graphics support except ASCII in the compiled version on
> my site.  You can compile it with X support if you have installed Cygwin
> or use a compiler capable of building the Windows GUI.  Free Borland will
> make a slower executable though.

Ah.. that would explain it then :-) Unfortunately, making my own compile is not
something I
really have the time to learn how to do, although I would really like to be able to
use
Sim-POV as a replacement for the standard executable within the codemax editor.

> I will have a deeper look into the other stuff later today.

Thankyou.

All the best,

Andy Cocker


Post a reply to this message

From: ABX
Subject: Re: Sim-POV Problems!!
Date: 10 Dec 2002 11:16:46
Message: <7f4cvuc3ioh703m20lhdp6b0i69vv6hnl6@4ax.com>
On Tue, 10 Dec 2002 15:35:57 -0000, "Andrew Cocker" <mai### [at] andrewcockercouk>
wrote:
> Ah.. that would explain it then :-) Unfortunately, making my own compile is not
something I
> really have the time to learn how to do

There will be tutorial about compiling pov sources with some free C++ packages
soon, so...

> although I would really like to be able to use
> Sim-POV as a replacement for the standard executable within the codemax editor.

... I think you will be able to create your own simpov with codemax. Perhaps
you receive own binaries too. Be patient :-)

ABX


Post a reply to this message

From: Andrew Cocker
Subject: Re: Sim-POV Problems!!
Date: 10 Dec 2002 11:32:41
Message: <3df61729@news.povray.org>
"ABX" <abx### [at] abxartpl> wrote in message
news:7f4cvuc3ioh703m20lhdp6b0i69vv6hnl6@4ax.com...
> There will be tutorial about compiling pov sources with some free C++ packages
> soon, so...
> ... I think you will be able to create your own simpov with codemax. Perhaps
> you receive own binaries too. Be patient :-)

Sounds very interesting, and just what I need. I will keep a look out for the
tutorial.

All the best,

Andy Cocker


Post a reply to this message

From: Christoph Hormann
Subject: Re: Sim-POV Problems!!
Date: 10 Dec 2002 12:28:36
Message: <3DF62441.5CB7F436@gmx.de>
Andrew Cocker wrote:
> 
> [...]
> 
> Secondly, the supplied  scene files do not render. Here's the message window:
> 
> C:\Program Files\POV-Ray for Windows v3.5\bin>povray simpov.ini +h120 +w160 +v +
> D +kff25
> [...]

I don't know your simpov.ini but such errors in mechsim.inc usually happen
if there are no objects in the simulation (i probably should add a test
for that in the macros).  You already mentioned you did not render it as a
still before so this is probably the reason.

> 
> As you can see, I tried to SET the povray.ini variable, but I don't even know if
that's
> something I needed to do.
> Also, this line ?Possible INI File Error: Could not open INI file
'/usr/local/etc/povray.ini'.
> is looking for POVRAY.INI on a Linux directory structure?

The unix version of POV-Ray has a certain search order for the main ini
file:

1) according to POVINI environment variable
2) ./povray.ini
3) $HOME/.povrayrc
4) SYSCONFDIR/povray.ini

so in your case none of the first three is found so it expects it in
'/usr/local/etc/povray.ini'.

> And this line Generating Objects....File: c:\program files\pov-ray for windows
v3.5\include/me
> chsim.inc  Line: 369 has a forward slash in it.. is this wrong?

No, forward and backward slashes will occur mixed in a lot of cases. 

> // -------------------------
> Other little problems I'm having:
> I'm using Output_File_Name=D:\My Stuff\POVimages\ in my INI file, yet POV is saving
the files
> as .tga, when I expect it to save it as MyFile.tga (ie, there *is no* filename, just
the
> extension). This works fine in my v3.5 setup.

I don't know about this one, have you tried using forward slashes in the
path?

> Lastly, Allow_Interruption (+X) doesn't appear to be working.

Interrupting trace with Ctrl-C works fine here.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 07 Dec. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Christoph Hormann
Subject: Re: Sim-POV Problems!!
Date: 10 Dec 2002 12:30:59
Message: <3DF624D2.DBD4088D@gmx.de>
Andrew Cocker wrote:
> 
> Ah... I have to render the scene file as a still first (to initialise)? Then run
animation?
> When I do that, it works.
> 
> Did I not read the docs well enough?
> 

The tutorial contains:

"Now all we need to do is render the scene once as a still to generate the
initial data file and afterwards render it as an animation"

I think that's pretty clear.  Maybe i will add some additional comments on
how to render in the scene files for the next version.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 07 Dec. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Andrew Cocker
Subject: Re: Sim-POV Problems!!
Date: 10 Dec 2002 13:53:25
Message: <3df63825$1@news.povray.org>
"Christoph Hormann" <chr### [at] gmxde> wrote in message
news:3DF624D2.DBD4088D@gmx.de...
> The tutorial contains:
>
> "Now all we need to do is render the scene once as a still to generate the
> initial data file and afterwards render it as an animation"
>
> I think that's pretty clear.  Maybe i will add some additional comments on
> how to render in the scene files for the next version.

Christoph,

I apologise, but this really is a case of RTFM for me. I hadn't even noticed that a
set of
tutorial files were included in the distribution, and was just going by the html
documentation. Doh! It is running fine for me now.

Andy


Post a reply to this message

From: Andrew Cocker
Subject: Re: Sim-POV Problems!!
Date: 10 Dec 2002 13:56:19
Message: <3df638d3@news.povray.org>
"Christoph Hormann" <chr### [at] gmxde> wrote in message
news:3DF62441.5CB7F436@gmx.de...
> I don't know your simpov.ini but such errors in mechsim.inc usually happen
> if there are no objects in the simulation (i probably should add a test
> for that in the macros).  You already mentioned you did not render it as a
> still before so this is probably the reason.

Agreed.

>
> The unix version of POV-Ray has a certain search order for the main ini
> file:
>
> 1) according to POVINI environment variable
> 2) ./povray.ini
> 3) $HOME/.povrayrc
> 4) SYSCONFDIR/povray.ini
>
> so in your case none of the first three is found so it expects it in
> '/usr/local/etc/povray.ini'.

Ah.. OK.

> > Other little problems I'm having:
> > I'm using Output_File_Name=D:\My Stuff\POVimages\ in my INI file, yet POV is
saving the
files
> > as .tga, when I expect it to save it as MyFile.tga (ie, there *is no* filename,
just the
> > extension). This works fine in my v3.5 setup.
>
> I don't know about this one, have you tried using forward slashes in the
> path?

No, but I shall test it.

> > Lastly, Allow_Interruption (+X) doesn't appear to be working.
>
> Interrupting trace with Ctrl-C works fine here.

Yes, that's what I've been using, but I wasn't sure whether that was closing down POV
correctly and freeing up memory.

Thanks for your prompt replies.. and for Sim-POV.

All the best,

Andy Cocker


Post a reply to this message

Goto Latest 10 Messages Next 5 Messages >>>

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