If you have to implement all the 3D yourself (so no use of OpenGL/DirectX) as we had to do, then it is possible to use a 2D library only (The only operations we needed were drawing lines and pixels)
I don't know if cairo has support to draw a single pixel directly, but ofcourse you could draw a line of width 1 (or start and endpoint the same) as we had to do in our environment. On Wed, Aug 19, 2009 at 17:47, saeed <[email protected]> wrote: > Cairo is a nice 2d vector graphics library, but not 3d ! GTK+ itself > is based on Cairo. > > On 8/19/09, nipun batra <[email protected]> wrote: > > I have a semster course in Computer Graphics where we are supposed to do > > basic 2d stuff in beginnining and followed by 3d work.How suited is PyGTK > > for this task.Should i use Cairo for it or the more advanced > pyOpenGL.Cairo > > seems more close to pyGTK as of now.Can someone also post some links to > some > > basic stuff like commands to set pixel for algos like DDA,Bresenham > > etc.Looking forward to the community for help as i am the lone person who > > will not be using Windows+turbo c combo. > > > _______________________________________________ > pygtk mailing list [email protected] > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://faq.pygtk.org/ > -- http://www.nathansamson.be To understand recursion, you must first understand recursion.
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
