Labelling Objects Visually

Hi,
I’m building a network modelling application. It’s basically a 3D graph with anywhere from 50 to 5000 edges and vertices.

I need to figure out a way to give each vertex and edge a named label, and each label must be 2d flat and legible no matter what angle the model is at, since the model can be rotated and viewed at different angles.

I have no idea where to start, any suggestions would be welcome.

Also, please let me know if more clarification is needed.
Thanks

Hi !

Any bitmap font should do fine.

Mikael

Project your vertices to screen-space, then draw the labels at these 2d locations.

Originally posted by gumby:
Project your vertices to screen-space, then draw the labels at these 2d locations.
That’s what glRasterPos and bitmap fonts do.

Thanks all,
I’ll give it a try. Hopefully things won’t get too cluttered.

Thanks again for the replies.