From: joakim AT hiway DOT fi (JODE) Newsgroups: comp.os.msdos.djgpp Subject: Easy 3d? Date: Tue, 24 Mar 1998 20:44:50 GMT Organization: Clinet, Espoo, Finland. Lines: 9 Message-ID: <35181aca.213462@news.hiway.fi> NNTP-Posting-Host: ppp-6.hiway.fi [194.100.43.231] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Can someone please port the camera from allegro example ex25.c to ex22.c so that one could move in that one too..please send the source too?? Or you can just tell me how to do. Joakim AT hiway DOT fi http://www.hiway.fi/~joakim Cosmodrome/Dgt! a mouse, and I want to know at what >3d object I've clicked... what should I do? I think you can make a sort of z-buffer. When you render a polygon you store in a buffer for every pixel an id number for the poly. When you click at x,y you just read the value you saved on x,y of the buffer... It's pretty slow but easy to make... Bye!