Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
2Activity
0 of .
Results for:
No results containing your search query
P. 1
j3d Tutorial Ch2

j3d Tutorial Ch2

Ratings: (0)|Views: 46 |Likes:
Published by eashan11
Java tutorial ch2
Java tutorial ch2

More info:

Published by: eashan11 on Apr 29, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

07/06/2010

pdf

text

original

 
tutorial v1.4 (Java 3D API v1.1.2)
Getting Started withthe Java 3D
API
Chapter 2Creating Geometry
Dennis J BouvierK Computing
 
Getting Started with the Java 3D APICreating Geometry 2
The Java 3D Tutorial2-i
© Sun Microsystems, Inc.
2550 Garcia Avenue, Mountain View, California 94043-1100 U.S.AAll Rights Reserved.The information contained in this document is subject to change without notice.SUN MICROSYSTEMS PROVIDES THIS MATERIAL "AS IS" AND MAKES NO WARRANTY OF ANYKIND, EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OFMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. SUN MICROSYSTEMS SHALLNOT BE LIABLE FOR ERRORS CONTAINED HEREIN OR FOR INCIDENTAL OR CONSEQUENTIALDAMAGES (INCLUDING LOST PROFITS IN CONNECTION WITH THE FURNISHING, PERFORMANCEOR USE OF THIS MATERIAL, WHETHER BASED ON WARRANTY, CONTRACT, OR OTHER LEGALTHEORY).THIS DOCUMENT COULD INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS.CHANGES ARE PERIODICALLY MADE TO THE INFORMATION HEREIN; THESE CHANGES WILL BEINCORPORATED IN NEW EDITIONS OF THE PUBLICATION. SUN MICROSYSTEMS, INC. MAY MAKEIMPROVEMENTS AND/OR CHANGES IN THE PRODUCT(S) AND/OR PROGRAM(S) DESCRIBED IN THISPUBLICATION AT ANY TIME.Some states do not allow the exclusion of implied warranties or the limitations or exclusion of liability forincidental or consequential damages, so the above limitations and exclusion may not apply to you. This warrantygives you specific legal rights, and you also may have other rights which vary from state to state.Permission to use, copy, modify, and distribute this documentation for NON-COMMERCIAL purposes andwithout fee is hereby granted provided that this copyright notice appears in all copies.This documentation was prepared for Sun Microsystems by K Computing (530 Showers Drive, Suite 7-225,Mountain View, CA 94040, 770-982-7881, www.kcomputing.com). For further information about coursedevelopment or course delivery, please contact either Sun Microsystems or K Computing.Java, JavaScript, Java 3D, HotJava, Sun, Sun Microsystems, and the Sun logo are trademarks or registeredtrademarks of Sun Microsystems, Inc. All other product names mentioned herein are the trademarks of theirrespective owners.
 
Getting Started with the Java 3D APICreating Geometry 2
2.3.1Box................................................................................................................................................2-72.3.2Cone..............................................................................................................................................2-82.3.3Cylinder.........................................................................................................................................2-92.3.4Sphere............................................................................................................................................2-92.3.5More About Geometric Primitives................................................................................................2-102.3.6ColorCube....................................................................................................................................2-102.3.7Example: Creating a Simple Yo-Yo From Two Cones..................................................................2-11Advanced Topic: Geometric Primitive....................................................................................................2-14
2.4.1Point Classes................................................................................................................................2-182.4.2Color Classes...............................................................................................................................2-192.4.3Vector Classes..............................................................................................................................2-192.4.4TexCoord Classes.........................................................................................................................2-20
2.5.1GeometryArray Class...................................................................................................................2-212.5.2Subclasses of GeometryArray.......................................................................................................2-252.5.3Subclasses of GeometryStripArray................................................................................................2-272.5.4Subclasses of IndexedGeometryArray...........................................................................................2-312.5.5Axis.java is an Example of IndexedGeometryArray......................................................................2-34
2.6.1Appearance NodeComponent.......................................................................................................2-362.6.2Sharing NodeComponent Objects.................................................................................................2-362.6.3Attribute Classes..........................................................................................................................2-372.6.4Example: Back Face Culling........................................................................................................2-42

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->