1 / 16

Lahti International Week 2006

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.

vangie
Download Presentation

Lahti International Week 2006

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

  2. 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

  3. Images on the Internet

  4. 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

  5. HTML “HTML was designed to display data and to focus on how data looks.” * example: <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> * http://www.w3schools.com/xml/xml_whatis.asp

  6. 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

  7. 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

  8. 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

  9. X3D tags: • Creating a box. <Shape> <Box size="2 1 1"/> <Appearance> <Material diffuseColor="0 0 1"/> </Appearance> </Shape>

  10. Basic structure of any model <Transform ……..> <Shape> <Box ……> <Appearance ….> <Material ….>

  11. Exercise 1: Your first X3D model • Creating a simple box.

  12. Exercise 2 • Some simple shapes

  13. Exercise 3: Street lamp This street lamp is made from standard shapes. Can you build it?

  14. Exercise 4: Anglepoise lamp

  15. Your turn! • Produce your own object: • E.g.

  16. 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: P.I.Wilson@wlv.ac.uk

More Related