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 or section
Like this
7Activity

Table Of Contents

Introduction to OpenSceneGraph
What is OpenSceneGraph?
Some visual examples
Implementation of OpenSceneGraph
Layers
Design of OpenSceneGraph
Accessing OSG from Java
JavaOSG
JavaOSG –Introduction
JavaOSG –Caveats
JavaOSG –Some known problems
Installing
An overview of some OSG core classes
Example
Creating OpenGL primitives
How do we create this colour pyramid?
Creating the viewer
Creating the geometry
Specifying the faces
Defining the normals
Colouring the pyramid
Adding the geometry to the scene
Start running the viewer
Done! Compile and run
A closer look at some of the code
The Viewer’s event loop
Group, Geode, Geometry
Multiple Geodes/Geometries
Using the OSG built-in primitives
Primitive shapes
Using the primitive shapes
Example –Creating a cylinder
Transformations in OSG
Transformations
Transform nodes
MatrixTransform
Example –MatrixTransform
Example –Multiplying matrices
Example –PositionAttitudeTransform
Example –RobotArm.java
Agenda for 2nd half
Configuring the viewer and camera
Viewer –using a matrix to set the view
Viewer.setViewByMatrix()
Viewer.setViewByMatrix() –translations
Viewer.setViewByMatrix() –rotations
Example –how do we obtain this view?
Viewer vs. Camera
The Camera
Relevant examples on the course web
Event handlers for user input
Example –Handling events
Special nodes
Level of detail –the problem
Level of detail –one solution
Level of detail –example on the web
Billboards
Billboards –some issues to consider
Billboards –the node in OSG
Billboards –an example
Text objects
Picking
About picking
Picking in OpenSceneGraph
Picking in OpenSceneGraph –hints
Beyond picking... Intersections!
Intersections –end notes
Exercise assignment
Getting started
Questions?
0 of .
Results for:
No results containing your search query
P. 1
t1

t1

Ratings: (0)|Views: 4,411|Likes:
Published by Ismail Syarifuddin

More info:

Published by: Ismail Syarifuddin on Jul 24, 2011
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

02/14/2013

pdf

text

original

You're Reading a Free Preview
Pages 4 to 68 are not shown in this preview.
You're Reading a Free Preview
Page 72 is not shown in this preview.
You're Reading a Free Preview
Pages 76 to 104 are not shown in this preview.

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)//-->