A Taste of Virtual Environment Development - SVE Amy Ulinski Raj Inugala.

Slides:



Advertisements
Similar presentations
Programming with OpenGL - Getting started - Hanyang University Han Jae-Hyek.
Advertisements

MultiLoop III - Tutorial 2 Renormalizing Profile Data (continued from Tutorial 1)
Chapter 2: Graphics Programming
Concept of Modeling Model -- The representation of an object or a system Modeling -- The creation and manipulation of an object or a system representation.
Intro to Java Monkey Engine Download JME loads/ loads/
In the name of God Computer Graphics Bastanfard.
CS 4731 Lecture 2: Intro to 2D, 3D, OpenGL and GLUT (Part I) Emmanuel Agu.
Business and Computing Deanery 3D Modelling Tools Week 10 File formats and exporting models.
OBJ File Format 2005/10/03. CAIG Lab,NCTU2 OBJ File Format A text file format First character of each line specifies the type of command #: just some.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Programming with OpenGL Part 2: Complete Programs Ed Angel Professor of Computer Science,
BPC: Art and Computation – Spring 2007 Overview of Spring Semester Tools and Technologies Glenn Bresnahan
Java 3D Pablo Figueroa University of Alberta April 2000.
Graphics Systems I-Chen Lin’s CG slides, Doug James’s CG slides Angel, Interactive Computer Graphics, Chap 1 Introduction to Graphics Pipeline.
Underlying Technologies Part Two: Software Mark Green School of Creative Media.
3D Rendering with JOGL Introduction to Java OpenGL Graphic Library By Ricardo Veguilla
Basic 3D Graphics Chapter 5. Bird’s Eye View  Basic 3D Graphics –Basic concepts of 3D graphics, rendering pipeline, Java 3D programming, scene graph,
3D Concepts Coordinate Systems Coordinates specify points in space 3D coords commonly use X, Y, & Z A vertex is a 'corner' of an object Different coordinate.
Using Graphics Libraries Lecture 3 Mon, Sep 1, 2003.
WebGL for lazy dudes Janne Lautamäki 1 GLGE – Janne Lautamäki
® Page 1 Intel Compiler Lab – Intel Array Visualizer HDF Workshop VIII October 27, 2004 John Readey
COMP 175: Computer Graphics March 10, 2015
Virtual reality. Tasks 3D digital model from planes 3D digital model of existing objects Office work Field observations Solid modeling Photogrammetry.
Zhonghua Qu and Ovidiu Daescu December 24, 2009 University of Texas at Dallas.
1 Image Basics Hao Jiang Computer Science Department Sept. 4, 2014.
Introduction to WTK Jin-Bey Yu 2001/10/04. What is WTK Library With over 1000 functions written in C that enable you to rapidly develop virtual reality.
CS 4363/6353 OTHER THINGS YOU SHOULD KNOW. OVERVIEW Matrix Stacks Raytracing and NPR Physics Engines Common File Formats.
Introduction to OpenGL and GLUT GLUT. What is OpenGL? An application programming interface (API) A (low-level) Graphics rendering API Generate high-quality.
Using OpenGL in Visual C++ Opengl32.dll and glu32.dll should be in the system folder Opengl32.dll and glu32.dll should be in the system folder Opengl32.lib.
Panasonic Electric Works Europe AG Hotz Slide 1 Overview Screen creation software designed for the GT series.
Graphics Systems and OpenGL. Business of Generating Images Images are made up of pixels.
Business and Computing Deanery 3D Modelling Tools Week 3 Transformations, cloning and arrays, modifiers.
Roll Screen Development Debugging assistance for building Rocks Rolls with screens OSGC, May 2008 Nadya Williams University of Zurich.
Computer Graphics Chapter 6 Andreas Savva. 2 Interactive Graphics Graphics provides one of the most natural means of communicating with a computer. Interactive.
111 Introduction to OGRE3D Programming: Main Loop.
Homework Helpers. Content OFF files STL: vector, algorithm Model loaders: OBJ, 3DS.
/21 Clang Tutorial CS453 Automated Software Testing.
Game Creation in XNA CS470 Final Project Chris Ragland.
CS324e - Elements of Graphics and Visualization Java 3D Intro.
B.Sc. Digital Media3D Technologies for the Web 3D Technologies.
A Few Things about Graphics Jian Huang Computer Science University of Tennessee.
Interface Opportunities for 3D Data and Media User Interface Software TechNote Panel Virginia Tech CS Fall 2002 Nicholas F. Polys Umur Yilmaz Will Lee.
WIRED Detector Description in XML Mark Dönszelmann, Applications for Physics and Infrastructure, IT, CERN XML Detector Description Workshop CERN, 14 April,
© TMC Computer School HC20203 VRML HIGHER DIPLOMA IN COMPUTING Chapter 2 – Basic VRML.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
In the name of God Computer Graphics.
Lecture 6 Rasterisation, Antialiasing, Texture Mapping,
Business and Computing Deanery 3D Modelling Tools Week 3 Transformations, cloning and arrays, modifiers.
Courtaboeuf, October 7th 2003
3D Objects in WebGL Loading 3D model files. Announcement Midterm exam on 12/2 –No Internet connection. –Example code and exam questions will be on USB.
1 Programming with OpenGL Part 2: Complete Programs.
OpenGL API 2D Graphic Primitives Angel Angel: Interactive Computer Graphics5E © Addison-Wesley
Flux & React Web Application Development Mark Repka, Rich McNeary, Steve Mueller.
Computer Graphics I, Fall Programming with OpenGL Part 2: Complete Programs.
Creation and Visualization of 3D Scenes with the MRPT library January, 2007 Jose Luis Blanco Claraco Dept. of Automation and System Engineering University.
Welcome! Day1, Lesson 1.
Ying Zhu Georgia State University
3D Modeling & Animation Software
MPEG-4 Binary Information for Scenes (BIFS)
Texture Mapping cgvr.korea.ac.kr.
Basic Coordinate Systems & VR
Programming with OpenGL Part 2: Complete Programs
OpenGL API 2D Graphic Primitives
Programming with OpenGL Part 2: Complete Programs
Animation Workshop Week 2
Programming with OpenGL Part 2: Complete Programs
Programming with OpenGL Part 2: Complete Programs
03 | Creating, Texturing and Moving Objects
Programming with OpenGL Part 2: Complete Programs
Lecture 3. Virtual Worlds : Representation,Creation and Simulation
Games Development 2 Tools Programming
Presentation transcript:

A Taste of Virtual Environment Development - SVE Amy Ulinski Raj Inugala

Overview What are Virtual Environments? Displays What is SVE? Steps to making first SVE program Demo Example Fun things you can do

What are Virtual Environments?

Modeling

Displays

Displays cont…

What is SVE? Simple Virtual Environment library –Easy creation of simple Virtual Environment (VE) applications –Provide system of functions, event handlers and 3D description of a Virtual World –Allows use of devices –Device-independent

Scene Graph World Table User Room Chair Nodes contain information about geometry, appearance, behavior, etc. of objects. Place Holder Objects Edges between nodes usually represent coordinate transformations between two coordinate systems

Scene Graph of an Environment Room DoorTableChair Vase

Different Types of Representation Table top Leg Table top Leg Table Vase What happens to the table if you move a leg? What happens to the table if you move the vase? What happens to the vase if you move the table?

Don’t Call Us… We’ll Call You App initializes SVE system Registers “callback” Sve system gains control again

My First SVE Program Create an environment (3DS Max, Maya, Bryce, etc…) Export a.obj and.mtl file –Some software will convert for you ie. Deep Explorations

.obj mtllib office4.mtl # object floor g floor v e v v e v v e v v e v # 8 verticies vt 1 0 vt 1 1 vt 0 1 vt 0 0 # 4 texture verticies vn e-008 vn e-008 vn e vn e vn vn e vn vn # 8 normals usemtl Fabric_Blue_Carpet f 1/1/1 3/2/1 4/3/1 2/4/1 f 5/4/2 6/1/2 8/2/2 7/3/2 f 1/4/3 2/1/3 6/2/3 5/3/3 f 2/4/4 4/1/5 8/2/4 6/3/6 f 4/4/7 3/1/7 7/2/7 8/3/7 f 3/4/8 1/1/8 5/2/8 7/3/8

.mtl newmtl Fabric_Blue_Carpet Ka Kd Ks illum 2 Ns map_Kd Carptblu.bmp map_bump Carptblu.bmp bump Carptblu.bmp

.world Simple Virtual Object File Format version 2.0 object: meadow description file: hello_world.obj move to children { object: floor description file: myfloor.obj scale by 1.1 along y move to }

Loading World into SVE #include "sve.h" main(int argc, char *argv[]) { SVE_config config = SVE_NORMAL; //setting the configuration to normal SVE_init("Example1 (sve)", config, &argc, argv); //initializes SVE system if(!SVE_loadWorld(“example1.world")) { SVE_done(); //quit SVE } SVE_beginEventLoop(); //SVE system gains control of program SVE_done(); }

Simple Example demo

Manipulating Objects Must locate object in object tree SVE_object cube = SVE_findWorldObject("cube"); Examples: SVE_rotateObject(cube, 3, 'y'); SVE_changeObjectName(cube,"cube3"); SVE_setNewObjectPosition(cube,newPosition); SVE_translateObjectGlobal(cube,0.2,0.4,0.5); SVE_scaleObject(cube, 0.1, 0.0,0.0);

LIGHTING Simple Virtual Primitive File Format version 1.1 number of components: 2 component 1 type: light Data of component 1: no of attributes: 3 color local-light TRUE position component 2 type: light Data of component 2: no of attributes: 2 color position

SOUND Open Sound –int sound = SVE_audioOpenSound("belltree_up2.wav"); Play Sound –SVE_audioReplaySound(sound, TRUE); –SVE_audioStopSound(sound);

MORE DEMOS…

Questions ???