POV-Ray : Newsgroups : povray.binaries.images : road texture Server Time
8 Aug 2024 08:19:19 EDT (-0400)
  road texture (Message 1 to 2 of 2)  
From: benahpets
Subject: road texture
Date: 29 Aug 2005 04:35:01
Message: <web.4312c877a95eb446a14d5b880@news.povray.org>
I would like to make a multi layered road texture. I've a jpeg image for the
background and i tried to put some tires ground tracks. In order to do
that, i used a gradient but there is an artefact (on the bottom of the
image) and i don't know how to deal with it.

#declare P_Road = pigment {image_map {jpeg ".texturesroad.jpg"} rotate
<270,0,0>};

#declare TextureRoad = texture{
                            gradient z
                            turbulence 0.05
                            lambda 1.5
                            omega 0.1
                            octaves 5
                            texture_map {
                              [0.0  P_Road]
                              [0.3  pigment{rgb <0.1,0.1,0.1>}]
                              [0.5  P_Road]
                              [0.7  pigment{rgb <0.1,0.1,0.1>}]
                              [1.0  P_Road]
                            }
                            frequency 0.25
              }

Thanks for your help.


Post a reply to this message


Attachments:
Download 'image000.bmp' (352 KB)

From: benahpets
Subject: Re: road texture
Date: 30 Aug 2005 10:10:01
Message: <web.43146837caeffac9a14d5b880@news.povray.org>
I finally figured out why, and after translating the texture i think it
works great. Now i'd like to put some dust on the road against the pavement
(like in the  image "autobahn" made by Jaime Vives Piqueres, on the side of
the road). And maybe some random tracks on the road. I don't know how to do
that. Should i use a pattern texture??!??

here is a glimpse of my work...


Post a reply to this message


Attachments:
Download 'image035.bmp' (595 KB)

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