I want to stitch some images using OpenGL ES in C language. But I don't have much idea (only basic) about OpenGL ES and Image processing. I have checked on google for sample code. But I don't find any. I can see some applications which uses OpenCV for stitching. But I don't want to use OpenCV in my application.
Does anyone have the sample code or If you have any idea on OpenGL ES functions which can be used for stitching please share.
Related
I have purchased the book programming a multiplayer fps book.
The problem is that I am not able to get the 3d's max scene to load. Is there a step to load a library of 3d's max to load the scene? What is the missing piece in loading the scene. I am not able to load the scene.
In order to load and render 3D mesh data, you need some kind of exporter to convert the 3D Studio MAX authoring data into a binary form suitable for rendering, and some sort of rendering engine capable of drawing that binary form.
For exporting the data, you can use an existing tool such as Open-Asset-Importer-Lib or write your own using something like Autodesk FBX.
There are of course numerous choices for rendering engines, or you can write your own from scratch.
Note that Direct3D 9 is extremely old at this point. DirectX 11 is the modern sweet spot for starting out programming Direct3D. See DirectX Tool Kit and DirectX SDK Samples Content Exporter.
The 3dsmax file format is propriatary. You just don't load those *.max files into anything but 3ds max. Like Chuck said above, you have to export your max file from 3ds max into a common, 3rd party file format like OBJ, FBX, etc...
There is probably a hundred 3D third-party file formats out there. We have no idea which 'game' you are trying to code up, and you have not provided any information, except asked all the wrong questions.
DirectX 11 is a graphics platform provided by microsoft. it is file format agnostic. It is up to you to learn it.
I'm trying to develop an app using GTK3 + Glade and following examples and suggestions on internet I can obtain a first prototype of the application.
Now I want to add some plots in the app. I found that, in this contest, the Cairo library is the right solution. For the Cairo library I found this tutorial http://zetcode.com/gfx/cairo/
I tried to merge GTK3, Glade and Cairo using the C language but I'm not sure to use this tools in the right way.
Could you suggest me an example where using these tools is built an app that, e.g. pushing a button appear the plot of a curve?
Thank you
In Glade, you just need to add a GtkDrawingArea and you draw in it using cairo. Give a look at my gtk3-graph sample application that uses GTK+ 3 and cairo to plot a curve.
I want to read and display a png image using c programming. Please suggest some ways. Is it possible to use libPng library for displaying image ?
libPng will only decode the image into an RGBA-array for you. To then display the image you could use OpenGL or an OS-dependendent graphics-library.
EDIT: Since you say you are using windows:
On Windows you have many library choices: I suggest you start with SDL, you can start by showing your image like this: http://www.sdltutorials.com/Data/Posts/105/ss1.jpg and then continue building your application from there. There are many tutorials on SDL (see here: http://www.sdltutorials.com/tutorials). The JPG was from this one: http://www.sdltutorials.com/sdl-coordinates-and-blitting
i want to rotate bitmap in android . i don't want to use android api but want to use c code for image processing and fast response. can u tell me how to achieve this in c??
Thank you in advance
You could use OpenCV for Android by processing a rotation matrix in native code. But if you really just want to rotate an image, using native code for this would be over the top, unless you plan adding more complex transformations. A single transformation supposedly won't be processed faster in comparison to just rotating it in Java.
There is a nice solution for your needs: ImageMagick. You can compile C version of ImageMagick with NDK. There is also ImageMagick-Android project on github, but it doesn't look like a ready-to-use solution.
I need help developing a circle detection algorithm to detect snooker balls. Does anyone know any algorithms that can be implemented in C and open cv? I'm having trouble getting this done
OpenCV 2.3 comes with HoughCircles. The C++ API for OpenCV 2.1 also implements the function: http://opencv.willowgarage.com/documentation/cpp/imgproc_feature_detection.html#HoughCircles