ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Laurence Finston" <lfinsto1@gwdg.de>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>, metapost@tug.org
Subject: Re: [metapost] shading in meta[post/play] & PDF
Date: Sat, 15 Jan 2005 23:02:49 +0100	[thread overview]
Message-ID: <20050115220250.0E55B127CC@ronja.ntg.nl> (raw)
In-Reply-To: <41E8A740.7010703@email.si>

> 
> In metapost, "perfect" spheres can be drawn, like on 
> http://www.gnu.org/software/3dldf/cdsmpls.html. But how can I add colour?

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 PostScript
file generated by MetaPost.

Laurence

  parent reply	other threads:[~2005-01-15 22:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-15  5:16 Mojca Miklavec
2005-01-15 21:04 ` [metapost] " Laurence Finston
2005-01-19 10:00   ` Mojca Miklavec
2005-01-19 10:59     ` Laurence Finston
2005-01-19 11:48     ` Hans Hagen
2005-01-20 23:47       ` Mojca Miklavec
2005-01-21 20:55         ` h h extern
2005-01-22  1:36           ` Mojca Miklavec
2005-01-15 22:02 ` Laurence Finston [this message]
     [not found] <E1Cpr7m-00053y-00@topo.math.u-psud.fr>
2005-01-15 22:37 ` [metapost] " Laurence Finston

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=20050115220250.0E55B127CC@ronja.ntg.nl \
    --to=lfinsto1@gwdg.de \
    --cc=metapost@tug.org \
    --cc=ntg-context@ntg.nl \
    /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).