9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Pietro Gagliardi <pietro10@mac.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] Attempt at making 3D graphics library
Date: Sat, 24 Nov 2007 11:42:02 -0500	[thread overview]
Message-ID: <1DE3417C-9EB6-4128-8654-7664C14D5A4E@mac.com> (raw)
In-Reply-To: <fcbfdfaf6c31e6a0984a7aefad86b1dd@gmail.com>


On Nov 24, 2007, at 2:11 AM, anyrhine@gmail.com wrote:

>> 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).
>
> did't check the bugs nor the article, so i hope i'm not entirely
> off here. there is already libgeometry, described in matrix(2),
> will do the job for you. it does what 3d engines do, except
> clipping and rendering.
This library has Point3, which is Point3D with an object w that is  
the denominator to (x,y,z) in the final point. I didn't need this, so  
I made it 1 in my local copy and changed all Point3Ds to Point3s. The  
3D library now uses libgeometry and will have a box drawing facility  
the next update.


  reply	other threads:[~2007-11-24 16:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-24  3:43 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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1DE3417C-9EB6-4128-8654-7664C14D5A4E@mac.com \
    --to=pietro10@mac.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).