Best 3D library for C?

Eponasoft

Active Member

Reaction score: 11
Messages: 217

There are quite a few 3D libraries written with C in mind, and I wanted to get people's opinions on which one is the best. I'm looking for C-based libraries only; there are countless C++ 3D libraries, and I'm not asking about those since I already know about them (Ogre, Irrlicht, etc). I'm talking about libraries designed to be used in C without any wrappers.
 
B

blah

Guest


Eponasoft said:
There are quite a few 3D libraries written with C in mind, and I wanted to get people's opinions on which one is the best. I'm looking for C-based libraries only; there are countless C++ 3D libraries, and I'm not asking about those since I already know about them (Ogre, Irrlicht, etc). I'm talking about libraries designed to be used in C without any wrappers.
I think Mesa is written in C, and since it provides an OpenGL implementation, it's one of the best 3d libs IMHO :)

HTH
 
OP
OP
Eponasoft

Eponasoft

Active Member

Reaction score: 11
Messages: 217

Weird...the regular mesa isn't in the ports collection (just mesagl), and the mesa source fails at the configure step, complaining about a missing expat (although my system has it installed already).
 

adamk

Daemon

Reaction score: 266
Messages: 1,622

Mesa is in the graphics/libGL port. You most likely have it installed already as I believe it is installed by the Xorg port. Of course, if you have an nvidia card, there are separate GL libraries as part of the nvidia driver port.
 
Top