|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I haven't experimented extensively, yet, but it seems to me like the lens
flare include don't cooperate well with POV 3.1. Has anyone else noticed
peculiarities, here?
Jon
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Jon S. Berndt wrote:
> I haven't experimented extensively, yet, but it seems to me like the lens
> flare include don't cooperate well with POV 3.1. Has anyone else noticed
> peculiarities, here?
>
> Jon
If that is the Chris Colefax include I believe he has
issued a public announcement to the effect that it is
not compatable with Pov 3.1. The rest of his include
files on the otherhand have be upgraded and are
fully compatible.
Ken Tyler
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I do know that my lens flare is also not currently compatible with POV 3.1
(only because of missing semi-colons, though). Does anyone know of a good
utility/script to insert those crazy semicolons?
BTW, I will eventually be upgrading my lens flare and will also eventually
have a web page for it again. Hopefully soon.
-Nathan Kopp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Nathan Kopp wrote:
> Does anyone know of a good
> utility/script to insert those crazy semicolons?
>
> BTW, I will eventually be upgrading my lens flare and will also eventually
> have a web page for it again. Hopefully soon.
>
> -Nathan Kopp
That's good news about your lens flare utility. I have
seen some great images produced with it and would
hate to see it die because of a Pov revision..
If you find a utility let me know. I have converted maybe
5% of my files so far and that took longer than I care for.
Ken Tyler
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Here is the Perl script I use to insert them. It looks for #declare, and
appends a semicolon only if there is no " or { in the line. This means that if
you put your opening brace on the same line as your #declare it will not
append the semicolon, if your opening brace is on the line below your #declare
it will append the semicolon, messing up your declaration. The script saves
the converted file as .P31, preserving the original in case there is a problem
with the conversion. The script should be portable to all Perl
implementations.
#!/usr/bin/perl
#***********************************************************************
#
# FILENAME: declsemi.pl
#
# USAGE: declsemi.pl <list of files>
#
# DESCRIPTION:
# This Perl script places a semicolon at the end of #declare statements
# IF the statement does not contain a '{' or '"'
#
# The modified file is saved as a .P31 file. You can then inspect the
# differences.
#
# REVISION HISTORY:
# 10/2/98 - Initial revision. pma### [at] teleportcom, pat### [at] fltdyncom
#***********************************************************************
#
# Process each file in the list
#
foreach $i (0 .. $#ARGV)
{
#
# Open the input file and a output file
#
$inFileName = $ARGV[$i];
$outFileName = substr($inFileName,0,index($inFileName,'.')) . ".P31";
open(inFile," $inFileName") || die "Can't open $inFileName\n";
open(outFile,"> $outFileName") || die "Can't open $outFileName\n";
#
# Read each line from the file
#
while (<inFile>)
{
#
# Does the line include a #declare?
#
if (/\#declare/)
{
#
# Ok to add semicolon?
#
if ((index($_,'{')<0) && (index($_,'"')<0))
{
#
# Chop off the EOL, Append semicolon and EOL
#
chop;
$_ = $_ . ';' . "\n";
}
}
#
# Send the line to the output file
#
print outFile $_;
}
#
# Close the input and output files
#
close(inFile);
close(outFile);
}
Nathan Kopp wrote:
> I do know that my lens flare is also not currently compatible with POV 3.1
> (only because of missing semi-colons, though). Does anyone know of a good
> utility/script to insert those crazy semicolons?
>
> BTW, I will eventually be upgrading my lens flare and will also eventually
> have a web page for it again. Hopefully soon.
>
> -Nathan Kopp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Good, I just remembered I am using your lens flare (it jogged my memory to
see your name and initials - NKFlare is what I use).
See the images group for a pic.
- jon -
Nathan Kopp wrote in message <361452F3.397A8DAC@ltu.edu>...
>I do know that my lens flare is also not currently compatible with POV 3.1
>(only because of missing semi-colons, though). Does anyone know of a good
>utility/script to insert those crazy semicolons?
>
>BTW, I will eventually be upgrading my lens flare and will also eventually
>have a web page for it again. Hopefully soon.
>
>-Nathan Kopp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Nathan, I could not find your site, I lost the link and the one I got back
from HOTBOT and other pages apparently had an invalid link because the
server wouldn't give me the page.
Jon
Nathan Kopp wrote in message <361452F3.397A8DAC@ltu.edu>...
>I do know that my lens flare is also not currently compatible with POV 3.1
>(only because of missing semi-colons, though). Does anyone know of a good
>utility/script to insert those crazy semicolons?
>
>BTW, I will eventually be upgrading my lens flare and will also eventually
>have a web page for it again. Hopefully soon.
>
>-Nathan Kopp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
ya... my website was being hosted on a freenet, and they decided that they
couldn't afford to give people free accounts anymore. I'll be putting up a new
page soon on another site, hopefully (I've got some space on my new ISP's web
server).
-Nathan
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Nathan Kopp wrote:
> ya... my website was being hosted on a freenet, and they decided that they
> couldn't afford to give people free accounts anymore. I'll be putting up a new
> page soon on another site, hopefully (I've got some space on my new ISP's web
> server).
>
> -Nathan
I was doing a tour of several Pov-ray related sites today and
your link seemed to be on almost everyone of them. You have a
large job ahead you, sending out change of address notices, once
you do go back on line again.
Ken Tyler
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |