I have to apply transformations (scale/rotate/translate) on triangles.
Mesh syntax doesn't allow transformations for triangles. So I decided
to create separate array of triangles and then build mesh based on
that array. It doesn't work.
If I'll keep vectors (triangles' vertices) instead of triangles in that array
what's the best way to apply transformations on those vertices ?
Gena.
ABX wrote:
> On Tue, 14 Jan 2003 00:07:34 -0800, Gena Obukhov <obu### [at] mail com> wrote:
> > I have an array of triangles. How can I reuse it in mesh ?
> > The following code doesn't work as I would expected:
>
> I suppose entries in your array are triangles as objects while triangles used
> in mesha are simple suntax structure. You can't put triangle identifier in
> mesh triangle. Instead of this you should store triangle vertices in array and
> then reuse them. I hope this helps.
>
> ABX
Post a reply to this message
|