As requested by the author, I forward the attached message to the list.

Thanks to John for his response.

Hua Cao

  ------- Forwarded message follows -------

-----------------------------(+2H=pV(+5/)-----------------------------

Return-Path: <[EMAIL PROTECTED]>
Received: from punt-11.mail.demon.net ([194.217.242.34]) by cham.demon.co.uk
 with SMTP id <[EMAIL PROTECTED]> for <[EMAIL PROTECTED]>
 ; Sat, 15 May 1999 15:50:52 +0100
Received: from punt-1.mail.demon.net by mailstore for [EMAIL PROTECTED]
          id 926707629:10:05414:1; Fri, 14 May 99 18:47:09 GMT
Received: from pilot013.cl.msu.edu ([35.9.5.113]) by punt-1.mail.demon.net
           id aa1004978; 14 May 99 18:46 GMT
Received: (from brechtjo@localhost)
        by pilot013.cl.msu.edu (8.9.1a/8.9.1) id OAA46066
        for "[EMAIL PROTECTED]"; Fri, 14 May 1999 14:46:06 -0400
Message-Id: <[EMAIL PROTECTED]>
Subject: Re: [java3d] text2D or text3D?
To: [EMAIL PROTECTED] (Hua Cao)
Date: Fri, 14 May 1999 14:46:06 -0400 (EDT)
From: "John Joseph Brecht" <[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]> from "Hua Cao" at May 14, 99 05:34:50 
pm
X-Mailer: ELM [version 2.4 PL25]
Content-Type: text/plain


I'm doing something quite similar. Theoretically the solution is to use a
Billboard.  Unfortunately Billboards don't work in 3D. That is, if you put your
Text(2D or 3D) in a Billboard node and define the Billboard to rotat about a
point instead of an axis, it still rotates about an axis.  So, if your
coordinate system were only rotatable about the  one axis you would be fine.
Otherwise, the letter start to flip around in wierd ways when the user rotates
it about some other axis.

The only other way to accomplish this is to just get the viewer's orientation
and use this (actually the inverse of it) to set the orientation of you Text
objects.

john

>
> Hi, everyone,
>
> I need to draw a graph to represent the 3-coordinate system with
> indicators
> (a charactor X, Y or Z) along the arrowed lines (axises).
>
> What I do not know is how to make the graph (including the 3 charactors
> X, Y and Z) scalable and rotatable , but
> keep the 3 charactors always facing to the viewer (user).
>
> Anyone did this before or has a hint?
>
> Thanks in advance.
>
>
> Hua Cao
>
> --
> Hua Cao
> =====================================================================
> To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
> Java 3D Home Page: http://java.sun.com/products/java-media/3D/
>


--
John Brecht
[EMAIL PROTECTED]
http://www.msu.edu/~brechtjo/
Department of Physics and Astronomy
Michigan State University


Other affilitations:

Laboratory for Instructional Technology in Education
http://www.lite.msu.edu/
Division of Science and Mathematics Education
Michigan State University

Basic Science and Remote Sensing Initiative
http://bsrsi.msu.edu
Department of Geography
Michigan State University

-----------------------------(+2H=pV(+5/)-----------------------------

-- 
Hua Cao
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to