POV-Ray : Newsgroups : povray.general : Using POV to create 'wraped' images Server Time
2 Aug 2024 00:14:00 EDT (-0400)
  Using POV to create 'wraped' images (Message 1 to 3 of 3)  
From: Stephen R  Phillips
Subject: Using POV to create 'wraped' images
Date: 27 Jan 2005 18:16:35
Message: <Xns95EBC313B90ADcybermans.pov.posts.@203.29.75.35>
Wraped not warped ;)
Anyhow I am attempting to create a repeatable image IE it repeats 
horizontally (vertical isn't a problem). I know certain types of textures 
repeat themselves some do not or.  I suppose what I'm asking, is there a 
way to make a random looking repeating texture? (that's a mouth full).

Stephen


Post a reply to this message

From: Zeger Knaepen
Subject: Re: Using POV to create 'wraped' images
Date: 27 Jan 2005 18:36:31
Message: <41f97aff$1@news.povray.org>
"Stephen R. Phillips" <cyb### [at] someplacecom> wrote in message
news:Xns95EBC313B90ADcybermans.pov.posts.@203.29.75.35...
> Wraped not warped ;)
> Anyhow I am attempting to create a repeatable image IE it repeats
> horizontally (vertical isn't a problem). I know certain types of textures
> repeat themselves some do not or.  I suppose what I'm asking, is there a
> way to make a random looking repeating texture? (that's a mouth full).

sure:

-begin code-

#declare Texture=
texture {
    [some very interesting texture stuff goes here]
}

#declare Tileable_Texture=
texture {
    gradient x
    texture_map {
        [0 Texture]
        [1 Texture translate x]
    }
}
-end code-

now Tileable_Texture is a texture that is tileable between x=0 and x=1.

cu!
--
camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
<.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x)               // ZK http://www.povplace.be.tf


Post a reply to this message

From: bengt demling('at')udo edu
Subject: Re: Using POV to create 'wraped' images
Date: 28 Jan 2005 10:40:53
Message: <41fa5d05@news.povray.org>
Stephen R. Phillips wrote:
> Wraped not warped ;)
> Anyhow I am attempting to create a repeatable image IE it repeats 
> horizontally (vertical isn't a problem). I know certain types of textures 
> repeat themselves some do not or.  I suppose what I'm asking, is there a 
> way to make a random looking repeating texture? (that's a mouth full).
> 
> Stephen

You can try Chris Colefax' tile generator macro:
http://www.geocities.com/SiliconValley/Lakes/1434/tilegen.html

Bengt


Post a reply to this message

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