LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 06-25-2005, 02:38 AM   #1
shegay18
LQ Newbie
 
Registered: Jun 2005
Posts: 12

Rep: Reputation: 0
C animation


I'm currently developing a robot arm simulation tool, I'm using glade for my gui. is it possible to have a pop up window (using glade) where i would want to show the robot arm animation?

another thing is that i 'm limited to C programming. what libraries could i possibly use for the robot arm animation? any help would be very much appreciated.
 
Old 06-25-2005, 10:00 AM   #2
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: ubuntu
Posts: 2,530

Rep: Reputation: 108Reputation: 108
Quote:
what libraries could i possibly use for the robot arm animation?
The SDL-library.
 
Old 06-28-2005, 12:43 AM   #3
shegay18
LQ Newbie
 
Registered: Jun 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Question tutorials

can you suggest any good sites where I could possibly learn SDL animation programming (in linux) the easiest way? I haven 't found sites with sample source codes using SDL.
 
Old 06-28-2005, 04:57 AM   #4
NCC-1701&NCC-1701-D
Member
 
Registered: May 2005
Distribution: Debian Woody,Knoppix
Posts: 88

Rep: Reputation: 16
...or (well, more difficult), you could use OpenGL to visualize the robot arm. The trouble is, that OpenGL is only a graphics library,so if you want sound use SDL.
 
Old 06-28-2005, 09:53 AM   #5
shegay18
LQ Newbie
 
Registered: Jun 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Question opengl==>mesa

I encountered a mesa lib, is it really similar to opengl? can both support animation programming? some sites recommend mesa for a linux os but I think it'll be less difficult using opengl since it's one of the standard libraries in linux. am i right? I haven't really been focusing on that part of my project that's why i really need help from graphics programming experts.
 
Old 06-29-2005, 08:22 AM   #6
NCC-1701&NCC-1701-D
Member
 
Registered: May 2005
Distribution: Debian Woody,Knoppix
Posts: 88

Rep: Reputation: 16
The thing is simple: Mesa is an OpenGL port to linux. But I would suggest OpenGL in the following way: When you install either the Nvdia Drivers r Ati ones, there is a directory with the neccessary fheaders (gl.h, glu.h) Then go and download glut and learn OpenGL. A good beginning is the Linux OpenGL forum, in www.opengl.org. Your project is interesting, can you give some details(website,license etc.) Maybe I can help!
 
Old 06-30-2005, 05:46 AM   #7
shegay18
LQ Newbie
 
Registered: Jun 2005
Posts: 12

Original Poster
Rep: Reputation: 0
simulation tool

yup my project is quite interesting but i'm more into hardware. i wanted to manipulate the robot arm but i was required to develop a simulation tool for my undergrad thesis. we have a mitsubishi rvm-1 robotic manipulator in our lab and i will have to do some kinematics for my project. that's why i'm soliciting all the help i could get especially in the graphics part of the project coz i really don't have any experience with the libraries in linux besides the standard ANSI C libraries. i'm currently trying to learn glade for the interface and i guess i'll also be studying opengl for the animation. so i really need all the help i could get. :-)
 
Old 06-30-2005, 06:17 AM   #8
NCC-1701&NCC-1701-D
Member
 
Registered: May 2005
Distribution: Debian Woody,Knoppix
Posts: 88

Rep: Reputation: 16
very interesting, well then good luck!
 
Old 07-14-2005, 02:28 PM   #9
shegay18
LQ Newbie
 
Registered: Jun 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Mesa-OpenGL

I'm kinda having a hard time working with mesa lib, i can't compile the demos coz it's asking for some mesa header files (MesaGL,MesaGLU) that weren't included in the Mesalib installer and a lot of the functions seemed to be undefined (as warned when I compiled it.)

Are there other libraries or maybe toolkits I could possibly use even for a simple 2d animation? I've been searching for some good sites for 2d animation, can you suggest any?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Flash animation? MasterOfTheWind Linux - Software 3 11-26-2005 08:56 AM
Distro for 3D and animation redbeansnrice Linux - Distributions 1 02-25-2005 02:46 PM
Distro for 3D and Animation redbeansnrice Linux - General 0 02-25-2005 02:05 PM
2D animation tools ReelExterminato Linux - Software 2 12-06-2003 03:09 PM
Animation in Linux TuxDriver Linux - Software 5 09-17-2003 12:31 PM


All times are GMT -5. The time now is 11:40 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration