POV-Ray : Newsgroups : povray.newusers : Having trouble with textures : Re: Having trouble with textures Server Time
1 Jul 2024 02:52:31 EDT (-0400)
  Re: Having trouble with textures  
From: StephenS
Date: 7 Jun 2011 20:10:01
Message: <web.4deebcad7f64c427599cb6e00@news.povray.org>
"John Ratcliff" <jra### [at] gmailcom> wrote:
....
> #declare test_00_00=
>    mesh2{
>     vertex_vectors{
>      4
>       <300.000000000, 0.000000000, 300.000000000>,
>       <300.000000000, 0.000000000, 0.000000000>,
>       <0.000000000, 0.000000000, 0.000000000>,
>       <0.000000000, 0.000000000, 300.000000000>,
....
> texture {
>  material_map {
>   jpeg "test.jpg"
>    texture {  //used with index 0
>     finish  {specular 1}
>     scale 1
>   }
>  }
> }
>    }

My first guess would be the axis.
Your quad is on the x-z, and material_map is on the x-y by default. You may also
want some more scale, by default your jeg will be from <0,0> to <1,1>.

Stephen S


Post a reply to this message

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