how to program 2D or 3D
hello senior, I've got graphic programming lecture next semester, if I wanna program on linux what tools or software should I have ? (I am using C) thx ===== --------------- indonesian newbie __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com
ody-5100109032 wrote:
hello senior, I've got graphic programming lecture next semester, if I wanna program on linux what tools or software should I have ? (I am using C) thx
===== --------------- indonesian newbie
__________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com
hello if you are using suse 8.2, install kdevelop and qt packages that came with the distribution. Then using Kdevelop you will be able to write apps for KDE. It has usefull wizard for creating project files for quick startup when developing your own apps. For basic 2D programming (lines, shapes) use QPainter class (you need to learn at least basics of C++) and write your own procedures for setting pixels and drawing the at PaintEvent. Search the net for Qt tutorials. I managed to write some code for displaying cube (without any prior knowledge of C++) using Kdevelop and Qt classes. Also, a quick reference for C++ can be found in KDE docs under Kdevelop. If you are interested in my work so far e-mail me. regards ,himba
I'd recommend OpenGL for 3D. Mesa is an OpenGL implementation you can use. For 2D, you could try the Qt toolkit. Salman On Thursday 15 May 2003 07:24 am, ody-5100109032 wrote:
hello senior, I've got graphic programming lecture next semester, if I wanna program on linux what tools or software should I have ? (I am using C) thx
For 3D I would also recommend OpenInventor. Its available for Linux from SGI and built on top of OpenGL . This means that certain low-level routines have been implemetned and you don't have to go into the finest details to draw a textured triangle and have a camera look at it :-) It works perfect with C, and also opens /writesVRML files. Tschuss Andreas Salman Khilji wrote:
I'd recommend OpenGL for 3D. Mesa is an OpenGL implementation you can use. For 2D, you could try the Qt toolkit.
Salman
On Thursday 15 May 2003 07:24 am, ody-5100109032 wrote:
hello senior, I've got graphic programming lecture next semester, if I wanna program on linux what tools or software should I have ? (I am using C) thx
-- -------------------------------------------- Andreas Roditakis Institut fur Geodaisie und Photogrammetrie ETH Honggerberg 8093 Zurich e-mail : andreas.roditakis@geod.baug.ethz.ch Tel. Office : 0041-1- 63 33063 Fax. Office : 0041-1- 63 31101
On Thursday 15 May 2003 14:58, Salman Khilji wrote:
I'd recommend OpenGL for 3D. Mesa is an OpenGL implementation you can use. For 2D, you could try the Qt toolkit.
Salman
On Thursday 15 May 2003 07:24 am, ody-5100109032 wrote:
hello senior, I've got graphic programming lecture next semester, if I wanna program on linux what tools or software should I have ? (I am using C) thx
One thing he might want to consider as well, is that Gnome is still being done it C, I believe. KDE stuff, is all C++ now, but it probably wouldn't be difficult for him to move over, but if C is your choice at this point Gnome/GTK might be a better working environment. Patrick -- --- KMail v1.5.1 --- SuSE Linux Pro v8.2 --- Registered Linux User #225206 On any other day, that might seem strange...
participants (5)
-
Andreas Roditakis
-
himba
-
O'Smith
-
ody-5100109032
-
Salman Khilji