POV-Ray : Newsgroups : povray.newusers : Tiled images Server Time
5 Nov 2024 09:22:39 EST (-0500)
  Tiled images (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: Monte
Subject: Tiled images
Date: 27 Mar 2000 14:00:53
Message: <38dfae7b.10840938@news.povray.org>
Hello all,
I have found lots of "textures" available for download, as bitmap
images (gif, jpg, etc.). I've looked and looked, but can't seem to
find how to use them. I want to use an image as a 'tiled' background.

Can someone point me to a web site, example pov scene (have looked but
haven't found one that does this), sample scene code, or ....?

Thank you,
Monte


Post a reply to this message

From: Ken
Subject: Re: Tiled images
Date: 27 Mar 2000 14:20:58
Message: <38DFB1D1.71D4FBD3@pacbell.net>
Monte wrote:
> 
> Hello all,
> I have found lots of "textures" available for download, as bitmap
> images (gif, jpg, etc.). I've looked and looked, but can't seem to
> find how to use them. I want to use an image as a 'tiled' background.
> 
> Can someone point me to a web site, example pov scene (have looked but
> haven't found one that does this), sample scene code, or ....?
> 
> Thank you,
> Monte

  It is relatively easy using the image map feature of POV-Ray. There
is no background tiling feature but you can easily apply an image map
to a plane and set it behind your scene. If you do not specify the
'once' image map modifier the image will automatically tile itself.

plane { z, 20
  pigment {
    image_map {tga "your_image.tga" interpolate 2 }
  }
} 

See also the image map tutorial at -

http://members.xoom.com/yang4yang/pov/imap1.html 

-- 
Ken Tyler -  1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Monte
Subject: Re: Tiled images
Date: 27 Mar 2000 16:08:15
Message: <38dfc8be.17563575@news.povray.org>
Kevin,
Thanks for your time and the quick response. I have looked over the
tutorial from Maestro Mysterieux, and have gone through the examples.

I've still got some questions though. I appologize for not giving
enough information the first time.

How can I control the size of the tiled image?
Image_map seems to only apply the image in a repeated 1x1 pattern. I
can apply the image map to the object, then scale the object. I want
to scale the image map before (or as) it is applied to the object,
without scaling the object.

Is this something easier done with something like the "texture tiler"
or some such utility? I've also downloaded something called "Tile
Generator Macro". Maybe this is what used to be called "Texture
Tiler".

I am trying to render images and apply existing color chips to them,
such as you would get from your local "Formica", or "Wilsonart"
dealer. Also for wood flooring and such. Straight color chips can be
tiled easily 1x1, but some flooring patterns need to have the size of
the "tile" controlled as it is applied to the "floor".

Thanks again,
-Monte

Original message from Kevin:
>  It is relatively easy using the image map feature of POV-Ray. There
>is no background tiling feature but you can easily apply an image map
>to a plane and set it behind your scene. If you do not specify the
>'once' image map modifier the image will automatically tile itself.
>
>plane { z, 20
>  pigment {
>    image_map {tga "your_image.tga" interpolate 2 }
>  }
>} 
>
>See also the image map tutorial at -
>
>http://members.xoom.com/yang4yang/pov/imap1.html 
>
>-- 
>Ken Tyler -  1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
>http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Ken
Subject: Re: Tiled images
Date: 27 Mar 2000 16:17:55
Message: <38DFCD1D.4064DA8D@pacbell.net>
Monte wrote:
> 
> Kevin,
> Thanks for your time and the quick response. I have looked over the
> tutorial from Maestro Mysterieux, and have gone through the examples.
> 
> I've still got some questions though. I appologize for not giving
> enough information the first time.
> 
> How can I control the size of the tiled image?
> Image_map seems to only apply the image in a repeated 1x1 pattern. I
> can apply the image map to the object, then scale the object. I want
> to scale the image map before (or as) it is applied to the object,
> without scaling the object.

Again this is fairly easy. You simply scale your pigment instead of
the object it is applied to.

object { your_object
  pigment {
   image_map { tga "your_image.tga" }
    scale < x, y, z > // <-- this scales the pigment (image) only
  }
 scale < x, y, z>  // <-- this will scale the object and the pigment together
}


-- 
Ken Tyler -  1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Ken
Subject: Re: Tiled images
Date: 27 Mar 2000 16:24:14
Message: <38DFCE99.15A70EE0@pacbell.net>
P.S. If you want to see something really strange add some turbulence to
your image map -

object { your_object
  pigment {
   image_map { tga "your_image.tga" }
    scale < x, y, z > // <-- this scales the pigment (image) only
    turbulence 0.3
  }
}

Works really well with peoples faces :)

-- 
Ken Tyler -  1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Bob Hughes
Subject: Re: Tiled images
Date: 27 Mar 2000 17:08:47
Message: <38dfdbef@news.povray.org>
Too bad 'text' objects can't be made turbulent, might be able to get a Kevin out
of a Ken.  See Monte's reply message, in case no one noticed.

Bob

"Ken" <tyl### [at] pacbellnet> wrote in message
news:38DFCE99.15A70EE0@pacbell.net...
|
|
| P.S. If you want to see something really strange add some turbulence to
| your image map -
|
| object { your_object
|   pigment {
|    image_map { tga "your_image.tga" }
|     scale < x, y, z > // <-- this scales the pigment (image) only
|     turbulence 0.3
|   }
| }
|
| Works really well with peoples faces :)
|
| --
| Ken Tyler -  1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
| http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Monte
Subject: Re: Tiled images
Date: 27 Mar 2000 18:16:16
Message: <38dfeb6f.26444124@news.povray.org>
Oops,
I stand corrected.

Thanks Ken and Bob.


On Mon, 27 Mar 2000 16:07:50 -0600, "Bob Hughes"
<omn### [at] hotmailcom?subject=PoV-News:> wrote:

>Too bad 'text' objects can't be made turbulent, might be able to get a Kevin out
>of a Ken.  See Monte's reply message, in case no one noticed.
>
>Bob
>
>"Ken" <tyl### [at] pacbellnet> wrote in message
>news:38DFCE99.15A70EE0@pacbell.net...
>|
>|
>| P.S. If you want to see something really strange add some turbulence to
>| your image map -
>|
>| object { your_object
>|   pigment {
>|    image_map { tga "your_image.tga" }
>|     scale < x, y, z > // <-- this scales the pigment (image) only
>|     turbulence 0.3
>|   }
>| }
>|
>| Works really well with peoples faces :)
>|
>| --
>| Ken Tyler -  1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
>| http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
>
>


Post a reply to this message

From: Monte
Subject: Re: Tiled images
Date: 27 Mar 2000 18:18:37
Message: <38dfd6b7.21140578@news.povray.org>
Ken,
Many thanks. I think you've got me headed in the right direction.

-Monte


Post a reply to this message

From: Peter Popov
Subject: Re: Tiled images
Date: 27 Mar 2000 18:24:27
Message: <8ezfOEBAvXPbAAwXk1GSKfxB+MtP@4ax.com>
On Mon, 27 Mar 2000 16:07:50 -0600, "Bob Hughes"
<omn### [at] hotmailcom?subject=PoV-News:> wrote:

>Too bad 'text' objects can't be made turbulent, might be able to get a Kevin out
>of a Ken.  See Monte's reply message, in case no one noticed.
>
>Bob

You can get a turbulated text object by using a turbulated object
pattern based on a text object as the source function for an
isosurface.


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] usanet
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

From: Bob Hughes
Subject: Re: Tiled images
Date: 28 Mar 2000 04:55:16
Message: <38e08184@news.povray.org>
"Peter Popov" <pet### [at] usanet> wrote in message
news:8ezfOEBAvXPbAAwXk1GSKfxB+MtP@4ax.com...
|
| >Too bad 'text' objects can't be made turbulent, might be able to get a Kevin
out
| >of a Ken.
|
| You can get a turbulated text object by using a turbulated object
| pattern based on a text object as the source function for an
| isosurface.

But will it turn "Ken" into "Kevin"?
I knew I shouldn't have said anything.  Thanks anyway, I think.

Bob


Post a reply to this message

Goto Latest 10 Messages Next 1 Messages >>>

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