POV-Ray : Newsgroups : povray.advanced-users : how can i Server Time
30 Jul 2024 14:27:50 EDT (-0400)
  how can i (Message 1 to 6 of 6)  
From: Nobot
Subject: how can i
Date: 15 Jun 1999 23:48:11
Message: <37671E29.FE8A93C0@powersurfr.com>
how can i get hexagons with oh say 30 colors not 3


Post a reply to this message

From: Nieminen Mika
Subject: Re: how can i
Date: 16 Jun 1999 06:21:56
Message: <37677ac4@news.povray.org>
Nobot <vip### [at] powersurfrcom> wrote:
: how can i get hexagons with oh say 30 colors not 3

  Have you tried the polygon primitive yet?
  I think it should be quite easy to make a macro which creates a set of
hexagons (with while loops etc) with the given colors.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Noah A
Subject: Re: how can i
Date: 16 Jun 1999 23:15:41
Message: <3768680A.608E7420@powersurfr.com>
no i've never uesed it befor some help please?

Nieminen Mika wrote:

> Nobot <vip### [at] powersurfrcom> wrote:
> : how can i get hexagons with oh say 30 colors not 3
>
>   Have you tried the polygon primitive yet?
>   I think it should be quite easy to make a macro which creates a set of
> hexagons (with while loops etc) with the given colors.
>
> --
> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> ):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Nieminen Mika
Subject: Re: how can i
Date: 17 Jun 1999 00:27:13
Message: <37687921@news.povray.org>
Noah A <vip### [at] powersurfrcom> wrote:
: no i've never uesed it befor some help please?

                  Section 7.5.3.4
                      Polygon

Polygons are useful for creating rectangles, squares and other
planar shapes with more than three edges. Their syntax is:

  polygon {
    TOTAL_NUMBER_OF_POINTS,
    <A_1>, <A_2>, ..., <A_na>, <A_1>,
    <B_1>, <B_2>, ..., <B_nb>, <B_1>,
    <C_1>, <C_2>, ..., <C_nc>, <C_1>,
    ...
  }

The points <A_1> through <A_na> describe the first
sub-polygon, the points <B_1> through <B_nb> describe the
second sub-polygon, and so on. A polygon can contain any
number of sub-polygons, either overlapping or not. In places
where an even number of polygons overlaps a hole appears.
You only have to be sure that each of these polygons is closed.
This is insured by repeating the first point of a sub-polygon at
the end of the sub-polygon's point sequence. This implies that
all points of a sub-polygon are different.

If the (last) sub-polygon is not closed a warning is issued and
the program automatically closes the polygon. This is useful
because polygons imported from other programs may not be
closed, i. e. their first and last point are not the same.

All points of a polygon are three-dimensional vectors that
have to lay on one plane. If this is not the case an error occurs.
You can also use two-dimensional vectors to describe the
polygon. POV-Ray assumes that the z value is zero in this
case.


-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Matt Giuer
Subject: Re: how can i
Date: 21 Jun 1999 15:33:27
Message: <376E9426.86A5F966@giwersworld.org>
Nobot wrote:

> how can i get hexagons with oh say 30 colors not 3

	If you mean as in the included texture for a plane, you can't,
that is an internal "setting" built into the program. What you
want to do is create individual hexagons and lay them out in a
plane. 

-- 
<blink>------------------------------------</blink>
http://members.aol.com/jull43


Post a reply to this message


Attachments:
Download 'us-ascii' (1 KB)

From: Stuart Meerkat
Subject: Re: how can i
Date: 2 Jul 1999 15:07:03
Message: <377D0F31.107CEB4A@helix.net>
Or you could make a tile-able image that had all of the colors on it... but
this wouldn't be all that scalable...

you might want to make the other sugestion of the polygons, do a render with
all of the objects having ambient 1... then use that as an imagemap. that way,
if you need a higher resolution, you can just make one :)

    the Loial Raven (Loi### [at] yahoocom)



Matt Giuer wrote:

> Nobot wrote:
>
> > how can i get hexagons with oh say 30 colors not 3
>
>         If you mean as in the included texture for a plane, you can't,
> that is an internal "setting" built into the program. What you
> want to do is create individual hexagons and lay them out in a
> plane.
>
> --
> <blink>------------------------------------</blink>
> http://members.aol.com/jull43
>
>   ------------------------------------------------------------------------
>
>   Matt Giwer <mgi### [at] giwersworldorg>
>   Owner
>   Images Incarnate
>
>   Matt Giwer
>   Owner                                      <mgi### [at] giwersworldorg>
>   Images Incarnate
>   14205 Nebraska Ave #27;Tampa;FL;33613;USA  Cellular: 813-694-3998
>                                              Work: 813-972-2574
>   Additional Information:
>   Last Name      Giwer
>   First Name     Matt
>   Version        2.1


Post a reply to this message

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