Re: Circles and Text Offset in Graphics3D
- To: mathgroup at smc.vnet.net
- Subject: [mg87682] Re: Circles and Text Offset in Graphics3D
- From: "David Park" <djmpark at comcast.net>
- Date: Tue, 15 Apr 2008 05:55:14 -0400 (EDT)
- References: <ftv8vg$7rn$1@smc.vnet.net>
Steve, The Presentations package has commands Circle3D and Disk3D that work like Circle and Disk in 2D except that they also use a normal vector to determine the orientation. Presentations also has Text3D expressions that provide true 3D text that rotates with the image and hides behind surfaces. The present version uses vector fonts but the new version will also allow any of the standard fonts you have on your computer and even block characters. But this might not be the complete solution for you because at certain viewing angles (using the mouse say) points and the characters might still line up and at other angles the text might be viewed edge on. Still, since the images can be rotated, the 3D text gives a much more natural presentation than the wierd behavior of ordinary Text. -- David Park djmpark at comcast.net http://home.comcast.net/~djmpark/ "Steve Gray" <stevebg at roadrunner.com> wrote in message news:ftv8vg$7rn$1 at smc.vnet.net... > Two questions: > > 1. Is there any way to define a circle in Graphics3D other > than by using a Cylinder with a very short length? I'm doing that now > but it seems inefficient, and especially calculating the direction of > the cylinder's axis seems unnecessary. The circle could be defined by > 3 points in 3D it goes through and the usual colors, thickness, etc. > Or by its center, radius, and a vector parallel to the axis. > > 2. I have some Points in Graphics3D with a numeric label on > each one. The labels obscure the points. I'd like to move the text off > to the side of the point, but I don't see any offset that applies to > the 2D projection of the text. I tried putting a few spaces before the > actual label, but the spaces are dropped and the label is recentered > around its location so it still obscures the point. > > I've looked in all places that seem relevant. Thanks for any > info. > > Steve Gray >