|
|
Mike Williams <nos### [at] econymdemoncouk> wrote:
> Wasn't it solanb who wrote:
> >Hi,
> >
> >I'm working with 3d scenes of plants. Each plant is composed of leaves and each
> >leaved is composed of triangles. The whole scene contains thousands of
> >triangles.
> >
> >I'd like to add a texture from an image file on the leaves and I tried several
> >techniques but I'm not sure of the best way to do.
> >My constraint is that the image's projection on a given triangle must be in the
> >same plane of the triangle.
> >Using image_map, I have to rotate the texture in the triangle's plane: is there
> >a way to calculate rotation parameters from triangle's coordinates?
>
> If you collect your triangles into a mesh or mesh2, you can use
> uv_mapping.
>
> --
> Mike Williams
> Gentleman of Leisure
Ok, but then how to define the uv_vector corresponding to each triangle?
My image to be mapped consists of spots of a given dimension (eg. 1cm diameter),
also in cm. And I want to keep the scale of my image when I project it on the
scene's triangles.
Using uv_mapping without uv_vector doesn't produce what I expect but the
definition uv_vector is not clear for me.
Thanks in advance!
Benoit
Post a reply to this message
|
|