16
Lahti International Week 2006 Introduction to X3D Lesson 1: Creating your models

Lahti International Week 2006

  • Upload
    vangie

  • View
    32

  • Download
    0

Embed Size (px)

DESCRIPTION

Lahti International Week 2006. Introduction to X3D Lesson 1: Creating your models. Introduction to X3D. Presented by : Peter Wilson, School of Computing & I.T. Wolverhampton University England Resources at: http://www.scit.wlv.ac.uk/~cm1949/Lahti/Index.html. Images on the Internet. - PowerPoint PPT Presentation

Citation preview

Page 1: Lahti International Week  2006

Lahti International Week 2006

Introduction to X3D

Lesson 1: Creating your models

Page 2: Lahti International Week  2006

Introduction to X3D

Presented by:

Peter Wilson,School of Computing & I.T.Wolverhampton University

England

Resources at:

http://www.scit.wlv.ac.uk/~cm1949/Lahti/Index.html

Page 3: Lahti International Week  2006

Images on the Internet

Page 4: Lahti International Week  2006

Brief History of X3D

Internet: Prototype Web browser – 1990

Text only

Pictures soon added – static, then animated

Virtual Reality Modelling Language (VRML) 3D models over the web – from 1994

Page 5: Lahti International Week  2006

HTML

“HTML was designed to display data and to focus on how data looks.” *

example:

* http://www.w3schools.com/xml/xml_whatis.asp

<body bgcolor="yellow"> <h2> Lahti International Week 2006</h2> <p> Welcome to this course on <b>X3D</b></p> <p> We hope that you enjoy it </p> </body>

Page 6: Lahti International Week  2006

eXtensible Mark-up Language

“XML was designed to describe data and to focus on what data is.” * You define your own “tags” You need some other software to use the data.

XML example: * <note>

<to>Tove</to> <from>Jani</from> <heading>Reminder</heading> <body>Don't forget me this weekend!</body> </note>

* http://www.w3schools.com/xml/xml_whatis.asp

Page 7: Lahti International Week  2006

History of X3D

Virtual Reality Mark-up Language (VRML) Started in 1994 3D modelling system running over the Internet New version, to fit in with XML, is X3D. Uses a pre-defined set of tags Interpreted by Internet browser into a 3D model

Page 8: Lahti International Week  2006

Creating and Viewing X3D files

To view X3D files:A browser plug-in such as “Flux”

(you will have used other plug-ins to view Flash files, etc)

To create X3D files: A simple text editor e.g. Microsoft Notepad A specialist X3D editor e.g. X3D-Edit Exported from a 3D modelling package

Page 9: Lahti International Week  2006

X3D tags:

Creating a box.

<Shape>

<Box size="2 1 1"/>

<Appearance>

<Material diffuseColor="0 0 1"/>

</Appearance>

</Shape>

Page 10: Lahti International Week  2006

Basic structure of any model

<Transform ……..>

<Shape>

<Box ……>

<Appearance ….>

<Material ….>

Page 11: Lahti International Week  2006

Exercise 1: Your first X3D model

Creating a simple box.

Page 12: Lahti International Week  2006

Exercise 2

Some simple shapes

Page 13: Lahti International Week  2006

Exercise 3: Street lamp

This street lamp is made from standard shapes.

Can you build it?

Page 14: Lahti International Week  2006

Exercise 4: Anglepoise lamp

Page 15: Lahti International Week  2006

Your turn!

Produce your own object:

E.g.

Page 16: Lahti International Week  2006

Summary

That completes the lesson on building models in X3D. We have looked, briefly, at just a small number of the nodes available.

Please email your best model to:

[email protected]