From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17870 Path: main.gmane.org!not-for-mail From: "Laurence Finston" Newsgroups: gmane.comp.tex.context Subject: Re: [metapost] shading in meta[post/play] & PDF Date: Sat, 15 Jan 2005 23:02:49 +0100 Message-ID: <20050115220250.0E55B127CC@ronja.ntg.nl> References: <41E8A740.7010703@email.si> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1105951871 634 80.91.229.6 (17 Jan 2005 08:51:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Jan 2005 08:51:11 +0000 (UTC) Cc: mailing list for ConTeXt users , metapost@tug.org Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 17 09:51:01 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CqSbF-0001vH-00 for ; Mon, 17 Jan 2005 09:51:01 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B739C1279D; Mon, 17 Jan 2005 09:50:59 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05369-02-6; Mon, 17 Jan 2005 09:50:59 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B91A3127D7; Mon, 17 Jan 2005 09:50:56 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6BD9F127D2 for ; Sat, 15 Jan 2005 23:02:50 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22148-06 for ; Sat, 15 Jan 2005 23:02:50 +0100 (CET) Original-Received: from mailer.gwdg.de (unknown [134.76.10.26]) by ronja.ntg.nl (Postfix) with ESMTP id 0E55B127CC for ; Sat, 15 Jan 2005 23:02:50 +0100 (CET) Original-Received: from mailbox.gwdg.de ([134.76.10.21] helo=gwdg.de) by mailer.gwdg.de with esmtp (Exim 4.42) id 1Cpw0P-0001zb-MV; Sat, 15 Jan 2005 23:02:49 +0100 X-Originating-IP: lfinsto1[134.76.139.103] In-Reply-To: <41E8A740.7010703@email.si> User-Agent: IMHO/0.98.3+G (Webmail for Roxen) Original-To: mojca.miklavec@guest.arnes.si X-Virus-Scanned: (clean) by exiscan+sophie X-Virus-Scanned: by amavisd-new at ntg.nl X-Mailman-Approved-At: Mon, 17 Jan 2005 09:50:53 +0100 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17870 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17870 >=20 > In metapost, "perfect" spheres can be drawn, like on=20 > http://www.gnu.org/software/3dldf/cdsmpls.html. But how can I add colou= r? You could use the intersection points of the circles as the corners of rectangles and fill the latter. The more circles you use, the better the results will be. The very primitive surface hiding I've implemented will almost certainly fail, so you'll have to do this by hand or implement it yourself. You may be able to implement surface hiding and/or shading by operating on the MetaPost file generated by GNU 3DLDF, or by the PostScri= pt file generated by MetaPost. Laurence