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 8 years ago.
Improve this question
I'm refactoring some of my directx10 code to directx11 and trying to figure out DIrectWrite for my text functions. From MSDN, I hear that they're switching everything to this and that directwrite is now included with direct3d. But, eh - I can't find a tutorial that actually shows 3d Rendered text with directwrite. Anyone know an example?
Microsoft "Direct3D and Direct2D text overlay sample" should do the trick ! http://code.msdn.microsoft.com/windowsapps/Direct2D-Direct3D-Interop-ee641e46
You want to start with the code Samples that Microsoft provide:
http://archive.msdn.microsoft.com/DirectWrite
These are really good and I managed to implement DirectWrite quite easily following the samples. They are all documented pretty well. Check out the header file DWrite.h as well, this is fully documented (the same as the website).
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 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.
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 1 year ago.
Improve this question
I am wanting to code something with OpenGL, but I don't want to have to go through Windows API, is this Possible? If so then some links to tutorials on how to do this would be nice.
Yes.
GLFW
Qt + OpenGL
GLUT or FreeGLUT
Or see my question.
In order to create a Win32 window for displaying OpenGL content - without going through Win32 API, GLUT is the only option that I'm aware of.
If you need a complete visualization framework, then VTK is the best FREE choice.
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
later this year I'm going to have a lot of time on my hands, and I thought I'd start a "small" project for myself and release it as open source.
I'd like to code my own Fraps alternative. (or continue with Taksi http://taksi.sourceforge.net ).
Fraps is a video & sound recording programm, which captures the screen during gameplay. It has way more functions than I need and its commercial.
All I want is being able to record the screen / game I'm currently playing continuously including sound no other extras.
Now this is a new area for me, but not the programming languages. I thought I'll be using C++ (& others if needed).
What I need are hints where to look, and what to look for, where to read stuff rearding it. Etc. etc.
I hope y'all can help me!
Here is some good info on the techniques used by FRAPS.
http://www.woodmann.com/forum/archive/index.php/t-11023.htm
My company published a source code in C++ for hooking into DirectX to capture video and calculate FPS (audio is not included). It is available on github as AVRecorderTool.
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