POV-Ray : Newsgroups : povray.newusers : Help with "Endless" texture : Re: Help with "Endless" texture Server Time
31 Jul 2024 00:29:44 EDT (-0400)
  Re: Help with "Endless" texture  
From: Tom & Lu Melly
Date: 1 May 2003 16:41:23
Message: <3eb18673@news.povray.org>
"Pirate Lord" <pir### [at] btinternetNOSPAMcom> wrote in
message news:3eb1772d$1@news.povray.org...
> As long as the left + right match up.
>
> This is what I am basically doing.

Here's one quick-fix (fairly easy to turn into a more flexible macro).

union{
  box {<-1.9,-1.45,0>,<1.9,1.45,-0.1> translate <1.901,1.451,0> scale 0.5
texture {MyTex}}
  box {<-1.9,-1.45,0>,<1.9,1.45,-0.1> translate <1.901,1.451,0> scale 0.5
texture {MyTex} scale x*-1}
  box {<-1.9,-1.45,0>,<1.9,1.45,-0.1> translate <1.901,1.451,0> scale 0.5
texture {MyTex} scale y*-1}
  box {<-1.9,-1.45,0>,<1.9,1.45,-0.1> translate <1.901,1.451,0> scale 0.5
texture {MyTex} scale <-1,-1,0>}
}


Post a reply to this message

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