Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I'm looking for a sample code.
It's 3D modeling using camera.
like this: http://mi.eng.cam.ac.uk/~qp202/my_papers/BMVC09/
Hopefully, I want to use c or c++.
Thanks.
openCv is probably the easiest place to start.
There are a few chapters about creatign scenes from stereo pairs (which is a bit easier) in the opencv book otherwise 3d models from image understanding is still possible - but a lot harder mathematically.
You may want to check out OpenCV for computer vision functionality and OpenGL for 3D graphics. Both are widely used APIs with plenty of online documentation and examples, both official and third-party.
You could try contacting the author of the paper to see if he's willing to release his source code to you. It looks like he used CGAL (for the Delauny Tetrahedralisation) so if you go that route, you'll need to get a copy of that.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
Hello fellow programmers. I've been to school and learned various things about graphics programming. But one thing we didn't learn, was which libraries were aviable. We mostly looked at OpenGL so that's what I've been doing the last weeks. Learning the modern version.
The thing is that I've come to think that OpenGL doesn't offer the easiest way of loading 3d animated models. And everything seem very, from the ground up... But I guess that is to expect, as OpenGL is a very low end library.
But I'm looking for a library that can load 3d models easily. As I've tried setting up my own, and it's not having the best of progress. And I'm willing to bet that someone else have already made an easy solution that beats my work by a long shot. I tried looking at the wiki page for 3d libraries. But there are so many to choose from... Any reccomandations?
You can use Lib3ds.
Also GLM can be used to load models.
My recommendation would be to use some scenegraph like OpenSceneGraph if you are looking for some serious application development in OpenGl. OpenSceneGraph supports wide array of formats through plugins.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Has anyone run across or have an example of Jos Stam's Stable Fluids but in 3D? I need to pursue a 3D version of this in openGL but have been having a terrible time doing so. Is there an example of this preferably in openGL/C/C++?
This is the best information I found about solving the Navier Stokes equitation (searched about 6 month ago): link text. It explains every part of the equitation solver in the most easy way that I have ever found. I haven't looked intensively into Jos Stam's paper, but it seems to be based on this equitation.
However the link I posted is also in 2D, but as the code is so easy, it should be no problem to add one (or even more xD) additional dimension.
Edit:I just realized that the talk that I have linked was held by Jos Stam :). Its a small world. Nevertheless the talk is better documented then the pdf, so I hope it helps.
Although this answer comes a few years late, it might still be useful:
3D implementation here:
http://graphics.ethz.ch/teaching/former/imagesynthesis_06/miniprojects/p3/
Another 3D implementation: https://code.google.com/p/smoke3d
Also, this thesis has source code at the end (Bongart, Robert)
http://www.nada.kth.se/utbildning/grukth/exjobb/rapportlistor/2007/rapporter07/bongart_robert_07018.pdf
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
any websites, books etc. If someone would like to share their own experiences.
thank you
This is a free book which runs through some recurring tasks in computer vision and image processing.
Regarding the C++, you can take a look at OpenCV which is a computer vision library written in c/c++
I've had a lot of success with open-cv. I've done an effect similar to Adobe's "Magic Wand" tool.
http://opencv.willowgarage.com/wiki/
http://en.wikipedia.org/wiki/OpenCV
If you are interested in writing your own library you will need a pretty serious math background. The algorithms involved can be pretty intense.
There's a good list of simple image processing operators here, but really the best is to take courses in DSP and image processing.
Did some C image processing when I was in school.
I read this ebook. It was helpful.
http://homepages.inf.ed.ac.uk/rbf/BOOKS/PHILLIPS/cips2ed.pdf
Magick++ is a good API for image processing in C++, and has a tutorial(PDF).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
The current version of libsdl (1.2.x branch) is very, very slow with blending and per pixel alpha (as it uses software blending). Is there any other good alternative to it?
SFML is exactly what you need: http://sfml-dev.org/.
Skim through the tutorials, you'll see that it's way easier and more powerful than SDL.
There is SFML : http://www.sfml-dev.org/
Or... just use OpenGL on top of SDL.
GLFW. It only tries to do one thing (window creation/input handling). It is C based and pretty easy to use provides bindings for several languages.
SFML does all that and also provides an API for audio, fonts, and networking. It's nativity a C++ API but provides bindings for several languages.
There are other thousands of options: SDL (older), Unity and UDK if you want to create a game, ...
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I was wondering if anyone knew of a simple opengl game engine for linux where the source is available to read.
I basically want to read the source to get a better idea of how things are put together without worrying about the code being cross platform or having fancy particle effects or anything.
You may be interested in Irrlicht
Have a look at DevMaster, a website with a lot of information about game programming and a 3D Engines Database.
You might want to check Ogre
SDL supports OpenGL, is open source, and you can port your game to Windows if you want. I've used it to write a Tetris program. It supports C and C++.
A simple engine for beginners, written in C++, contains samples to start with and sample game project to study:
D'Enfent Engine