Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-16-2011, 05:03 AM
|
#1
|
LQ Newbie
Registered: Feb 2011
Posts: 2
Rep:
|
How to write Animation programs in Linux using C or C++
Hi i wants to do miniproject as part of the academic curriculum using Computer graphics on Linux using C or C++. Can any one direct me to a direction how i can proceed. I know basics of C and C++.
Regards
skvb
|
|
|
02-16-2011, 06:22 AM
|
#2
|
Member
Registered: Dec 2009
Location: Walldorf, Germany
Distribution: (X)Ubuntu, Arch, Gentoo
Posts: 205
Rep:
|
Quote:
Originally Posted by skvb
Hi i wants to do miniproject as part of the academic curriculum using Computer graphics on Linux using C or C++. Can any one direct me to a direction how i can proceed. I know basics of C and C++.
Regards
skvb
|
You might be interested in GTK+, QT and especially OpenGL to create an animation program in C/C++. But that wouldn't generally be a miniproject ;-)
Andi
|
|
|
02-16-2011, 06:50 AM
|
#3
|
Senior Member
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281
|
Are you think about animation in high resolution, using graphics card capabilities, 3D, or just character based animation?
|
|
|
02-16-2011, 07:30 AM
|
#4
|
Member
Registered: Jul 2009
Location: Kiev,Ukraine
Distribution: Ubuntu,Slax,RedHat
Posts: 289
Rep:
|
Blender API
|
|
|
02-16-2011, 07:57 AM
|
#5
|
Member
Registered: Sep 2005
Location: Colorado
Distribution: Ubuntu
Posts: 56
Rep:
|
I would also suggest using Qt and OpenGL. Depending on what it is you want in the animation, it will not be a miniproject, but I guess that would also depend on the typical size of projects you've worked on thus far. 
|
|
|
02-16-2011, 08:31 AM
|
#6
|
LQ Newbie
Registered: Feb 2011
Posts: 2
Original Poster
Rep:
|
Thanks for the advice, as it is part of academics, i am not looking for the project using graphics card capabilities.
|
|
|
02-16-2011, 10:25 AM
|
#7
|
LQ Guru
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,352
|
Quote:
Originally Posted by pgroover
I would also suggest using Qt and OpenGL.
|
I would suggest SDL and OpenGL.
These are good free OpenGL tutorials:
http://nehe.gamedev.net/
|
|
|
02-16-2011, 10:33 AM
|
#8
|
Member
Registered: Sep 2005
Location: Colorado
Distribution: Ubuntu
Posts: 56
Rep:
|
Quote:
Originally Posted by dugan
I would suggest SDL and OpenGL.
|
Thanks for the tip, I'll definitely have to look in to SDL. I do like Qt, but it's good to have free options! 
|
|
|
02-16-2011, 10:40 AM
|
#9
|
LQ Guru
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,352
|
Quote:
Originally Posted by pgroover
I do like Qt, but it's good to have free options! 
|
Whoa whoa hold on. Qt is just as free as SDL!
However, SDL is better for what you're doing because it's designed primarily to provide things like keyboard handling, image reading, etc, while Qt is designed primarily as a GUI toolkit. Qt will do all those things, but SDL puts them front and center.
Here are some SDL links:
http://lazyfoo.net/SDL_tutorials/index.php
http://gpwiki.org/index.php/SDL:Tutorials
http://gpwiki.org/index.php/SDL:Tuto...DL_with_OpenGL
Last edited by dugan; 02-16-2011 at 10:47 AM.
|
|
1 members found this post helpful.
|
02-16-2011, 11:32 AM
|
#10
|
Member
Registered: Sep 2005
Location: Colorado
Distribution: Ubuntu
Posts: 56
Rep:
|
Sorry about the confusion with Qt, I was remembering when I worked on a cross-platform app and that's when you have to pay for it...
|
|
|
All times are GMT -5. The time now is 02:07 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|