PDA

View Full Version : 3D Text



glCAD
01-26-2004, 04:25 PM
I want to show 3D text with one pixel or very small thickness like in AutoCAD or many CAD programs. I used wglUseFontOutlines but it draws thick like in MS Word. How can I do that? I am using Visual C++, LOGFONT, Arial. Thanx

Relic
01-27-2004, 02:11 AM
Download the GLUT library sources from http://www.xmission.com/~nate/glut.html and check how glutStrokeCharacter does it.

glCAD
01-27-2004, 10:09 AM
I do not have glut and required permission to install new files to system directories. Can I install glut by another means. Thank you.

Originally posted by Relic:
Download the GLUT library sources from http://www.xmission.com/~nate/glut.html and check how glutStrokeCharacter does it.

Relic
01-28-2004, 03:50 AM
Talking Windows OS:

Not sure what your real problem is.
You need informations and you are not allowed to install stuff which might help to get your work done. Ask your IT to solve your installation problem.

GLUT is a user library/DLL. There is no need to install anything into a system directory to _look_ at glut sources.
To run glut programs it's enough to have glut32.dll somewhere in the search path, like in the application's folder.

Basically the stroke font is a prepared set of vertex coordinates for two different fonts which are drawn as lines. The good thing is there ARE two different fonts already prepared, that's it.

Can we move this to beginner's please.

[This message has been edited by Relic (edited 01-28-2004).]