MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Can Mathematica draw overlapping shapes with blended color?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg29112] Re: Can Mathematica draw overlapping shapes with blended color?
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 30 May 2001 05:50:27 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <9e2d7k$69n@smc.vnet.net> <kolP6.3622$8I3.14389@ralph.vnet.net> <9epn1g$1mr@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

have a look at my PNG import export package and you will see
that it handles alpha-channels and display the images
in the correct way.

The problem is *not* with bitmaps. The problem is with
come with two polygonal shapes that overlap. It is quite
hard to find the intersection of the polygons, and color
the intersection with the mixed color. In principle
this should be done by the PostScript (level 3) renderer
that know the resolution when the shapes are wirten into
the memory.

Regards
  Jens

Orestis Vantzos wrote:
> 
> If you can import the image into a Raster (from the import menu) you can use
> bit operations (And,Or,Xor) on the RGBColor[...] terms to achieve such
> effects as blending,inverting, etc.
> Orestis Vantzos
> PS. There is no "you can't", there is only "I don't know how to do it" ;-)


  • Prev by Date: possible?: Notebook in "batch mode"
  • Next by Date: Need help writing geology software using cirlces
  • Previous by thread: Re: Can Mathematica draw overlapping shapes with blended color?
  • Next by thread: TableForm Question