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.
|
 |
06-25-2005, 01:38 AM
|
#1
|
LQ Newbie
Registered: Jun 2005
Posts: 12
Rep:
|
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.
|
|
|
06-25-2005, 09:00 AM
|
#2
|
Senior Member
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: Debian
Posts: 2,536
Rep: 
|
Quote:
what libraries could i possibly use for the robot arm animation?
|
The SDL-library.
|
|
|
06-27-2005, 11:43 PM
|
#3
|
LQ Newbie
Registered: Jun 2005
Posts: 12
Original Poster
Rep:
|
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.
|
|
|
06-28-2005, 03:57 AM
|
#4
|
Member
Registered: May 2005
Distribution: Debian Woody,Knoppix
Posts: 88
Rep:
|
...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.
|
|
|
06-28-2005, 08:53 AM
|
#5
|
LQ Newbie
Registered: Jun 2005
Posts: 12
Original Poster
Rep:
|
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.
|
|
|
06-29-2005, 07:22 AM
|
#6
|
Member
Registered: May 2005
Distribution: Debian Woody,Knoppix
Posts: 88
Rep:
|
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!
|
|
|
06-30-2005, 04:46 AM
|
#7
|
LQ Newbie
Registered: Jun 2005
Posts: 12
Original Poster
Rep:
|
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. :-)
|
|
|
06-30-2005, 05:17 AM
|
#8
|
Member
Registered: May 2005
Distribution: Debian Woody,Knoppix
Posts: 88
Rep:
|
very interesting, well then good luck!
|
|
|
07-14-2005, 01:28 PM
|
#9
|
LQ Newbie
Registered: Jun 2005
Posts: 12
Original Poster
Rep:
|
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?
|
|
|
All times are GMT -5. The time now is 10:20 PM.
|
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
|
|