I think what you're looking for is the vertexProperty field in SoQuadMesh.
Have a look at the SoVertexProperty man page.
Jonathan Lim _ Silicon Graphics _ Mountain View
GPS Graphics Computer Systems California, USA
On Wed May 21 15:59:13 2003, rharris@xxxxxxxxxxxxxxx wrote:
>
> Hello,
>
> I am trying to display a finite element mesh using inventor.
> I have an array that defines all the coordinates of the mesh and an
> array that defines the relationship between elements. I have examined
> using quad mesh, as the elements from the finite element code are
> quads. The problem I can't seem to decipher is; a typical finite
> element code will display a unique color for every element. Often two or
> more colors will be drawn in a single element. Is there a way to create
> a quad mesh or anything similar that will allow the color to be set on a
> element by element basis?
>
> Thanks,
> Richard
|