Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

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

Search the Archive

Texture on Disk in Mathematica 8?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg123088] Texture on Disk in Mathematica 8?
  • From: michael at socratica.com
  • Date: Wed, 23 Nov 2011 07:04:58 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Reply-to: comp.soft-sys.math.mathematica at googlegroups.com

Is it possible to apply a texture to a disk?

Applying a texture to a polygon works fine:
Graphics[{Texture[<<Texture Image>>], 
  Polygon[{{0, 0}, {1, 0}, {1/2, 1}}, 
   VertexTextureCoordinates -> {{0, 0}, {1, 0}, {1/2, 1}}]}]

But when I try to apply it to a disk I get a solid, black circle:
  Graphics[{Texture[<<Texture Image>>], Disk[{0, 0}, 1]}]

Thanks!
-Michael



  • Prev by Date: Re: How to do quickest
  • Next by Date: How to integrate a function over a polygon
  • Previous by thread: Re: How to get sub-list elements at certain position in a long list
  • Next by thread: Re: Texture on Disk in Mathematica 8?