POV-Ray : Newsgroups : povray.unofficial.patches : megapov rotate -x*90 error Server Time
1 Nov 2024 05:23:46 EDT (-0400)
  megapov rotate -x*90 error (Message 1 to 5 of 5)  
From: Rick [Kitty5]
Subject: megapov rotate -x*90 error
Date: 3 Apr 2001 21:08:42
Message: <3aca741a@news.povray.org>
Hi all

moray.zip contains the output from moray of a simple scene. torus, camera
and a light.

it renders perfectly in megapov when in normal mode.

clunk.zip contains exactly the same, except I have added the version info to
the main pov and ini file, now it clunks with

torus { //Torus001
    1.5, 0.5 rotate -x <----ERROR

untitled.pov:96: error: no matching } in torus, * found instead.

I am using winmegapov 0.7, on windows 2k.

manually editing the files in not an option, as I mentioned in the pbi
thread, I regularly do very complex nested csg creations, and it has not
been unknown for them to include hundreds of objects. there is no way in
hell I am going to edit that by hand. that is the reason I use a modeller.

as this only happens in mega pov when the version line is added, I don't see
that it is a problem that should be addressed by Lutz, as its is obviously a
mega pov bug.


--
Rick

Kitty5 WebDesign - http://Kitty5.com
Hi-Impact web site design & database driven e-commerce
TEL : +44 (01625) 266358 - FAX : +44 (01625) 611913 - ICQ : 15776037
POV-Ray News & Resources - http://Povray.co.uk

PGP Public Key
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x231E1CEA


Post a reply to this message


Attachments:
Download 'moray.zip' (3 KB) Download 'clunk.zip' (3 KB)

From: Francois Labreque
Subject: Re: megapov rotate -x*90 error
Date: 3 Apr 2001 23:24:24
Message: <3ACA92CA.89FC11DD@videotron.ca>
"Rick [Kitty5]" wrote:
> 
> Hi all
> 
> moray.zip contains the output from moray of a simple scene. torus, camera
> and a light.
> 
> it renders perfectly in megapov when in normal mode.
> 
> clunk.zip contains exactly the same, except I have added the version info to
> the main pov and ini file, now it clunks with
                   ^^^^^^^^

Bingo.  It seems the "Version" parameter in the ini file is not meant
for text strings.

Read the message screen and you'll find out why!

Strangely enough, moving the semi-colon to the beginning of the line
fixes everything.

:)

-- 
Francois Labreque |   //\\    Wear an ASCII ribbon!
    flabreque     |  ||  ||   
        @         |   \\//    Support the campaign
   videotron.ca        \\     against HTML e-mail
                      //\\    and news!


Post a reply to this message

From: Ken
Subject: Re: megapov rotate -x*90 error
Date: 4 Apr 2001 16:32:49
Message: <3ACB84EC.C61126DE@pacbell.net>
"Rick [Kitty5]" wrote:

> 
>                 Name: moray.zip
>    moray.zip    Type: Zip Compressed Data (application/x-zip-compressed)
>             Encoding: x-uuencode
> 
>                 Name: clunk.zip
>    clunk.zip    Type: Zip Compressed Data (application/x-zip-compressed)
>             Encoding: x-uuencode

Is it really necessary for me to remind you that binaries attachments should
not be posted in a non-binaries group ?

-- 
Ken Tyler


Post a reply to this message

From: Nathan Kopp
Subject: Re: megapov rotate -x*90 error
Date: 14 Apr 2001 00:09:48
Message: <3ad7cd8c$1@news.povray.org>
"Francois Labreque" <fla### [at] videotronca>...
>
>
> "Rick [Kitty5]" wrote:
> >
> > Hi all
> >
> > moray.zip contains the output from moray of a simple scene. torus,
camera
> > and a light.
> >
> > it renders perfectly in megapov when in normal mode.
> >
> > clunk.zip contains exactly the same, except I have added the version
info to
> > the main pov and ini file, now it clunks with
>                    ^^^^^^^^
>
> Bingo.  It seems the "Version" parameter in the ini file is not meant
> for text strings.
>
> Read the message screen and you'll find out why!
>
> Strangely enough, moving the semi-colon to the beginning of the line
> fixes everything.
>
> :)

Francois, you provided all the correct info, but in such a mysterious way
that I think I will get bug reports about this if I don't clarify:

The INI parser doesn't understand POV script.  Therefore, when it sees the
"#version unofficial..." string, it thinks you're setting the version to
zero.  As Francois points out, the message screen displays, "Input file:
untitled.pov (compatible with version 0)."  Way back then in version 0, the
expression parser didn't support the "-x*90" syntax.

(Moving the semicolon to the beginning, of course, comments out the line in
the INI file.)

-Nathan


Post a reply to this message

From: Francois Labreque
Subject: Re: megapov rotate -x*90 error
Date: 14 Apr 2001 00:22:02
Message: <3AD7CF39.F01135D0@videotron.ca>
Nathan Kopp wrote:
> 
> "Francois Labreque" <fla### [at] videotronca>...
> >
> >
> > "Rick [Kitty5]" wrote:
> > >
> > > clunk.zip contains exactly the same, except I have added the version
> info to
> > > the main pov and ini file, now it clunks with
> >                    ^^^^^^^^
> >
> > Bingo.  It seems the "Version" parameter in the ini file is not meant
> > for text strings.
> >
> > Read the message screen and you'll find out why!
> >
> > Strangely enough, moving the semi-colon to the beginning of the line
> > fixes everything.
> >
> > :)
> 
> Francois, you provided all the correct info, but in such a mysterious way
> that I think I will get bug reports about this if I don't clarify:

Sorry about being a bit sarcastic, but I hate it when people don't look
at the messages on their screens and double-check the docs.  I hope I
didn't offend anyone.

> 
> (Moving the semicolon to the beginning, of course, comments out the line in
> the INI file.)

Hence the smiley.

-- 
Francois Labreque | It is by caffeine alone I set my mind in motion, it
    flabreque     | is by the beans of Java that thoughts acquire speed,
        @         | the hands acquire shaking, the shaking becomes a 
   videotron.ca   | warning, it is by caffeine alone I set my mind in
                  | motion.
                               - Stolen from Badger's .sig file


Post a reply to this message

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