POV-Ray : Newsgroups : povray.newusers : Having trouble with textures : Re: Having trouble with textures Server Time
1 Jul 2024 03:27:44 EDT (-0400)
  Re: Having trouble with textures  
From: StephenS
Date: 7 Jun 2011 20:50:00
Message: <web.4deec6407f64c427599cb6e00@news.povray.org>
"StephenS" <nomail@nomail> wrote:
> "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

Ok I give up.
You also have a parse warning about sky vector and camera location/look_at.

Stephen S


Post a reply to this message

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