POV-Ray : Newsgroups : povray.advanced-users : problem while applying texture : Re: problem while applying texture Server Time
1 Jun 2024 01:58:30 EDT (-0400)
  Re: problem while applying texture  
From: logic
Date: 23 May 2013 03:00:02
Message: <web.519dbda6b89f05b8b46701db0@news.povray.org>
Alain <kua### [at] videotronca> wrote:

> > Hello,
> >
> >
> > #declare Bedsheet = "images/cloth15.jpg";
> > union {
> >   smooth_triangle { <-90.0829, 10.6486, 90.5189>, <-0.938913, 0.0928805,
> > 0.331385>, <-90.8569, 12.819, 87.3967>, <-0.966925, -0.0604885, 0.247783>,
> > <-90.6256, 10.7625, 86.4407> , <-0.979818, -0.175934, 0.0948896> }
> >
> >
> >        texture{
> >            pigment {uv_mapping image_map {jpeg Bedsheet }}
> >        }
> > }
> >
> > here is an povray output: http://www.css4me.com/test/pov/bed.bmp
> > and texture: http://www.css4me.com/test/pov/cloth15.jpg
> >
> > please help, how can i apply texture all over beadsheet.
> >
> > Thanks
> > LOGIC
> >
> >
>
> An union of triangles? You should replace union by mesh.

Thanks my problem is solved by using mesh.


Post a reply to this message

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