Suggestion to which C++ 3D engine is better between Ogre, Irrlicht and OpenSceneGraph [closed]

First off, both OpenSceneGraph (OSG for short) and Ogre3D are very well documented, supported, large forum etc… I don’t know much about Irrlicht besides it’s the newest of them. You probably won’t go wrong with either of the first two. Someone mentioned CrystalSpace; I haven’t looked at that in years, but it was far behind … Read more

OpenGL, How to create a “bumpy Polygon”?

I think what your looking for is actually Parallax mapping (Or Parallax Occlusion mapping). Demos: http://www.youtube.com/watch?v=01owTezYC-w http://www.youtube.com/watch?v=gcAsJdo7dME&NR=1 http://www.youtube.com/watch?v=njKdLvmBl88 Parralax mapping basically works by using the height map to alter the texture UV coordinate being used. The main disadvantage to parallax is that anything that appears to be ‘outside’ the polygon will be clipped (think of … Read more

Move camera to fit 3D scene

There are many possible camera positions + orientations where the bounding box would fit inside the view frustum. But any procedure would select one specific camera position and orientation. If you would consider bounding spheres, one solution could be to first change orientation to look at bounding sphere center then move back sufficiently (negative look … Read more

Circular rotation around an arbitrary axis

http://en.wikipedia.org/wiki/Rotation_matrix. Look under the section Rotation matrix from axis and angle. For your convenience, here’s the matrix you need. It’s a bit hairy. theta is the angle, and ux, uy, and uz are the x, y, and z components of the normalized axis vector If you don’t understand matrices and vectors, post back and I’ll … Read more

tech