POV-Ray : Newsgroups : povray.binaries.images : Strange Result... Server Time
1 Aug 2024 00:21:55 EDT (-0400)
  Strange Result... (Message 11 to 15 of 15)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: clipka
Subject: Re: Strange Result...
Date: 19 Apr 2009 08:00:00
Message: <web.49eb113e7f5031e4990f413d0@news.povray.org>
"Slime" <fak### [at] emailaddress> wrote:
> > The #if clause is necessary because the last vector statement must not be
> > followed by a comma.
>
> In most cases in POV-Ray, an extra comma is permitted at the end of a list.
>
> If that isn't the case for meshes, you can still go with the simpler
>
>          <(a+1)*800+b, (a+1)*800+b+1, a*800+b+1>
>          #if  ( b != 798 | a != 398 )
>            ,
>          #end
>
> which doesn' t look like there's some crazy weird special case.

Another possibility would be to just add a "dead" vector to the end of the list
;)


Post a reply to this message

From: Bill Pragnell
Subject: Re: Strange Result...
Date: 19 Apr 2009 09:15:01
Message: <web.49eb22a17f5031e469f956610@news.povray.org>
"clipka" <nomail@nomail> wrote:
> "Slime" <fak### [at] emailaddress> wrote:
> > > The #if clause is necessary because the last vector statement must not be
> > > followed by a comma.
> >
> > In most cases in POV-Ray, an extra comma is permitted at the end of a list.
> >
> > If that isn't the case for meshes, you can still go with the simpler
> >
> >          <(a+1)*800+b, (a+1)*800+b+1, a*800+b+1>
> >          #if  ( b != 798 | a != 398 )
> >            ,
> >          #end
> >
> > which doesn' t look like there's some crazy weird special case.
>
> Another possibility would be to just add a "dead" vector to the end of the list
> ;)

....or put the comma before the vector, so each vector supplies the comma for the
previous one, and the first one supplies the comma after the initial vector
total.


Post a reply to this message

From: Jörg 'Yadgar' Bleimann
Subject: Re: Strange Result...
Date: 19 Apr 2009 10:43:46
Message: <49eb38a2@news.povray.org>
High!

clipka wrote:

> The official cartographical term is "equidistant cylindrical projection" (aka
> "plate carree projection").

Yes, a "Rechteckige Plattkarte" in German!

> Not to be confused with what POV-Ray calls a "cylindrical" projection - which
> actually is an "equal-area cylindrical projection" (any subtype will do for
> POV-Ray, e.g. Gall-Peters projection, Behrmann projection or Lambert
> cylindrical equal-area projection, as they just differ in the way they are
> "squeezed" to a certain aspect ratio, which is irrelevant for use in POV-Ray).
> 
> The "equidistant cylindrical projection" matches what POV-Ray calls "spherical
> projection".

Interesting...are you a professional cartographer/student of geography?

See you in Khyberspace!

Yadgar

Now playing: New Gold Dream (Simple Minds) - my very first CD, back in 1987!


Post a reply to this message

From: clipka
Subject: Re: Strange Result...
Date: 19 Apr 2009 11:25:00
Message: <web.49eb40da7f5031e4990f413d0@news.povray.org>
=?ISO-8859-1?Q?J=F6rg_=27Yadgar=27_Bleimann?= <yaz### [at] gmxde> wrote:
> High!
>
> > The official cartographical term is "equidistant cylindrical projection" (aka
> > "plate carree projection").
>
> Yes, a "Rechteckige Plattkarte" in German!

Sounds like a typical German army term...

> Interesting...are you a professional cartographer/student of geography?

No, just an incredibly nosey person - all I *really* knew was how the
projections in POV are defined mathematically, and that there was obviously an
issue of technical terms when I saw you call POV's "spherical" projection a
"cylindrical" projection; everything beyond "caution, there's potential for a
mixup here" was the result of some WIYF'ing, to make that statement a bit more
precise... and make me appear smarter than I really am :P

(If you'd ask me about the same stuff tomorrow, I'd probably have to look it up
all over again... though I'd get there a bit quicker ;))


Post a reply to this message

From: Jellby
Subject: Re: Strange Result...
Date: 24 Apr 2009 08:40:24
Message: <d2urb6-hv9.ln1@badulaque.unex.es>
Among other things, clipka saw fit to write:

> The official cartographical term is "equidistant cylindrical projection"
> (aka "plate carree projection").
> 
> Not to be confused with what POV-Ray calls a "cylindrical" projection -
> which actually is an "equal-area cylindrical projection" (any subtype will
> do for POV-Ray, e.g. Gall-Peters projection, Behrmann projection or
> Lambert cylindrical equal-area projection, as they just differ in the way
> they are "squeezed" to a certain aspect ratio, which is irrelevant for use
> in POV-Ray).

Just today I've been reading about those in Wikipedia, but I was creating
maps with GMT (Generic Map Tools), nothing related to POV-Ray :)

-- 
light_source{9+9*x,1}camera{orthographic look_at(1-y)/4angle 30location
9/4-z*4}light_source{-9*z,1}union{box{.9-z.1+x clipped_by{plane{2+y-4*x
0}}}box{z-y-.1.1+z}box{-.1.1+x}box{.1z-.1}pigment{rgb<.8.2,1>}}//Jellby


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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