POV-Ray : Newsgroups : povray.binaries.images : US Flag texture (~29kbu) : Re: US Flag texture (~29kbu) Server Time
17 Aug 2024 04:07:34 EDT (-0400)
  Re: US Flag texture (~29kbu)  
From: Redbeard
Date: 6 Nov 2001 09:38:40
Message: <3be7f5f0$1@news.povray.org>
"Josh English" <eng### [at] spiritonecom> wrote in message
news:3BE6CDF5.C107301B@spiritone.com...
>
> You want to try an offset in the second warp:
>   warp { repeat y*2.75 offset <1.5,0,0> }
>
> Note that the x offset is half the value of the first repeat warp
>
> Josh English
> eng### [at] spiritonecom

That helped a lot.  Now I just have to clean it up... I might go with a further
patterned texture so I can procedurally limit the number of stars on each row.
Right now on the rows with five stars I've got part of a star on either side.

I'm getting there though.  Thanks for the help.

Michael

--
#declare R=<8,4,.6>/3;#declare C=function{pattern{object{text{ttf"crystal.ttf"
"MDJ"1,0translate-R/4}}}}camera{location-z*30}box{-R,R pigment{rgbf 1}interior
{media{emission.1density{function{C(x,y,z)}density_map{[0mandel 50color_map{[0
rgb 0][.2rgb x][1rgb x+y]}interior 1,1.5scale 60translate<-33.75,2.85>exponent
4][1rgb<2,2>]}}}}scale 24hollow}// (c) 2001 MDJohnson red### [at] wvadelphianet


Post a reply to this message

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