Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #6652

Texture on Disk in Mathematica 8?

From michael@socratica.com
Newsgroups comp.soft-sys.math.mathematica
Subject Texture on Disk in Mathematica 8?
Date 2011-11-23 12:05 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jainj7$ei2$1@smc.vnet.net> (permalink)

Show all headers | View raw


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

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Texture on Disk in Mathematica 8? michael@socratica.com - 2011-11-23 12:05 +0000

csiph-web