On 21.04.2008, at 15:08, Baveco, Hans wrote:
> HI,
> I am looking for a way to display polygons in Croquet. I need this
> to be
> able to show maps in Croquet. With openGL only simple (convex, without
> holes, etc) polygons can be rendered. Non-simple polygons need to be
> tesselated (converted into a set of convex polygons). GLUT apparently
> can be used to build this tesselation, but I find it very hard to
> understand how exactly to do this... Is it really the only way to
> achieve my goal (appart from doing this tesselation in Squeak, which
> might be pretty slow for large maps, say consisting of upto 100.000
> polygons)? Or is there a workaround? (I suppose others may have felt
> the
> need to display such polygons....). Cairo also seems to be able to do
> this tesselation, but can it be used in Croquet? (a 2D rendering would
> be ok),
Unless your maps are dynamic, displaying them as a texture would be
most appropriate IMHO. It's hard to be more specific without knowing
the details and requirements.
- Bert -