LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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


Reply
  Search this Thread
Old 02-16-2011, 05:03 AM   #1
skvb
LQ Newbie
 
Registered: Feb 2011
Posts: 2

Rep: Reputation: 0
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
 
Old 02-16-2011, 06:22 AM   #2
ForzaItalia2006
Member
 
Registered: Dec 2009
Location: Walldorf, Germany
Distribution: (X)Ubuntu, Arch, Gentoo
Posts: 205

Rep: Reputation: 67
Quote:
Originally Posted by skvb View Post
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
 
Old 02-16-2011, 06:50 AM   #3
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
Are you think about animation in high resolution, using graphics card capabilities, 3D, or just character based animation?
 
Old 02-16-2011, 07:30 AM   #4
sunnydrake
Member
 
Registered: Jul 2009
Location: Kiev,Ukraine
Distribution: Ubuntu,Slax,RedHat
Posts: 289
Blog Entries: 1

Rep: Reputation: 61
Blender API
 
Old 02-16-2011, 07:57 AM   #5
pgroover
Member
 
Registered: Sep 2005
Location: Colorado
Distribution: Ubuntu
Posts: 56

Rep: Reputation: 16
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.
 
Old 02-16-2011, 08:31 AM   #6
skvb
LQ Newbie
 
Registered: Feb 2011
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the advice, as it is part of academics, i am not looking for the project using graphics card capabilities.
 
Old 02-16-2011, 10:25 AM   #7
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,219

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
Quote:
Originally Posted by pgroover View Post
I would also suggest using Qt and OpenGL.
I would suggest SDL and OpenGL.

These are good free OpenGL tutorials:

http://nehe.gamedev.net/
 
Old 02-16-2011, 10:33 AM   #8
pgroover
Member
 
Registered: Sep 2005
Location: Colorado
Distribution: Ubuntu
Posts: 56

Rep: Reputation: 16
Quote:
Originally Posted by dugan View Post
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!
 
Old 02-16-2011, 10:40 AM   #9
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,219

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
Quote:
Originally Posted by pgroover View Post
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.
Old 02-16-2011, 11:32 AM   #10
pgroover
Member
 
Registered: Sep 2005
Location: Colorado
Distribution: Ubuntu
Posts: 56

Rep: Reputation: 16
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...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where do I start I have no idea how to use Linux let alone write programs for it chrisbaby-nz Linux - Newbie 43 05-24-2010 02:55 PM
How can I write translation off programs on linux Tarzan1984 Linux - Software 1 05-17-2009 08:36 AM
2D Animation in Linux ciden Linux - Software 0 02-28-2009 10:08 AM
Want to write your own programs but don't know how to start? Read this!!!! gvp87 Programming 15 05-20-2008 07:35 PM
how to write c programs in linux using gcc alexander_2007 Programming 2 09-16-2007 05:07 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration