9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Attempt at making 3D graphics library
@ 2007-11-24  3:43 Pietro Gagliardi
  2007-11-24  6:57 ` Paul Lalonde
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Pietro Gagliardi @ 2007-11-24  3:43 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hello. I realized that that last /usr/glenda/bin/rc/pull focused on a  
rewrite to the system libraries. I decided to start writing a library  
to convert 3D coordinates to 2D coordinates based on the data at  
http://www.shade.ca/getarticle.asp?i=11. You can find it at /n/ 
sources/contrib/pietro/3d.bundle. It contains: 3d.h (the header),  
3d.c (the library itself), and 3dtest.c (a test program). The test  
program doesn't seem to work right. It looks like the 2D coordinates  
are way off the charts - the x coordinates are between 500 and 600  
for xyz=(5,5,5)! I wonder... This makes the line a stub in the center  
of a 1024x768 screen. Plus, the threadmain crashes on threadexitsall.  
What's going on?


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-12-30 16:33 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-24  3:43 [9fans] Attempt at making 3D graphics library Pietro Gagliardi
2007-11-24  6:57 ` Paul Lalonde
2007-11-24 14:19   ` Pietro Gagliardi
2007-11-24  7:11 ` anyrhine
2007-11-24 16:42   ` Pietro Gagliardi
2007-11-24 15:57 ` Pietro Gagliardi
2007-11-24 16:00   ` andrey mirtchovski
2007-11-24 16:21     ` Pietro Gagliardi
2007-11-24 22:48       ` Federico G. Benavento
2007-12-30 16:33         ` Pietro Gagliardi
2007-12-03  2:54 ` Pietro Gagliardi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).