|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
My guess is that your triangles have no uv-coordinates. They should look
something like this:
smooth_triangle
{<0.480625,0,0.1>,<0,1,0>,<0.680625,0,0>,<0,1,0>,<0.680625,0,0.12253>,<0,1,0>uv_vectors<0.387569,0.545324>,<0.5,0.770187>,<0.362238,0.770187>}
Thomas
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> 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.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
|
|