SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Downloaden Sie, um offline zu lesen
gyuque, Satoshi Ueyama




2009   7   12
What’s O3D




                Google
2009   7   12
What’s O3D

                                Javascript
                                                            Flash Player
       object                                               QuickTime plugin
                        IE               Firefox, Safari…
                   ActiveX                 NPAPI
                                                             Canvas




            •   Flash   QT
            •    O3D
                (Google Gears        )
2009   7   12
What’s O3D


                 API
                        O3D           VRML    Direct3D RM


                API         OpenGL           Direct3D IM


                              JS !
                                                    " HW
                       2D Canvas !   2D



2009   7   12
What’s O3D

                O3D
                  API




                      !"#$%&"#%$&"&"!!'!
                      !"#(%&"#$$&"&"!!)!
                      !"&&&&"&&&&*&"!!+!
                      !"&&&&"&&&&"&*!!,!




2009   7   12
What’s Scene Graph
  1.

                scene {                      !
                   object {
                                                 API
                     material(red) {
                        faces {               DOM
                            [0,0, 1,0 0,1]
                        }
                     }
                     material(blue) {                   json
                        faces {
                            [0,2, 3,0 0,4]
                        }
                     }
                   }
                }



                                                       2.

2009   7   12
Reading Sample Code

                            !"#$%&'(')
                            **+,-#&./
                            **0#11'2132'#-"24"5$2+60/
                            **789#2#:""2;<




                                          json




2009   7   12
2009   7   12
2009   7   12
Working with Scene Graph
                                   Transform


                                   Transform


                                   Transform

                            Material
                          Parent
                 Child
                                                         DrawList
       Shape    Parent
                         Child Primitive
                               position list: [0,0, 0,1, 1,1]
                               index list: [0,1,2]
2009   7   12
Working with Scene Graph

                DOM
           parent.appendChild( child );
                O3D
           child.parent = parent;          ! add   append
                                                            (addShape   )
                 !
            t = pack.createObject('Transform');
            t.parent = o3dClient.root;



2009   7   12
Demo - js touch on O3D




2009   7   12
2D on O3D



                Mozilla Party

                2D




2009   7   12
2D on O3D
                2D


                          Canvas provides an interface for drawing text and
                          2D primitives on a 2D surface.




           O3D Canvas :       2D                                   API


2009   7   12
2D on O3D




2009   7   12
2009   7   12
2D on O3D




                       Canvas




2009   7   12
2D on O3D

                              ?@>




                @A>


           BC*D*B*E*F3?@>*G*=4>
           8C*D*8*E*GF3@A>*H*=4>
                                    •
                      =4>
                                    •
                                    • Shape
                             =4>


                                              Canvas
2009   7   12
Demo - O3D BallPool




                                  O3D

           Canvas   by Mr. doob
2009   7   12
Demo - O3D BallPool




                    on Internet Explorer
2009   7   12
Demo - O3D BallPool


                             O3D plugin        V8 JS Engine
                                          V8




                "V8   Demo


2009   7   12
•
                •       2D Canvas
                • API




2009   7   12
•
                •       2D Canvas
                • API




2009   7   12
Enjoy O3D Programming

                   Thank You.




2009   7   12

Weitere ähnliche Inhalte

Ähnlich wie JUI 2009 O3D Programming

Leaving Flatland: Getting Started with WebGL- SXSW 2012
Leaving Flatland: Getting Started with WebGL- SXSW 2012Leaving Flatland: Getting Started with WebGL- SXSW 2012
Leaving Flatland: Getting Started with WebGL- SXSW 2012
philogb
 
CanvasGL, a GPU-accelerated WebKit
CanvasGL, a GPU-accelerated WebKitCanvasGL, a GPU-accelerated WebKit
CanvasGL, a GPU-accelerated WebKit
company100inc
 
Introducing canvas gl (company100)
Introducing canvas gl (company100)Introducing canvas gl (company100)
Introducing canvas gl (company100)
company100inc
 
MS TechDays 2011 - HTML 5 All the Awesome Bits
MS TechDays 2011 - HTML 5 All the Awesome BitsMS TechDays 2011 - HTML 5 All the Awesome Bits
MS TechDays 2011 - HTML 5 All the Awesome Bits
Spiffy
 
Designing an Objective-C Framework about 3D
Designing an Objective-C Framework about 3DDesigning an Objective-C Framework about 3D
Designing an Objective-C Framework about 3D
rsebbe
 
PDF.JS at SwissJeese 2012
PDF.JS at SwissJeese 2012PDF.JS at SwissJeese 2012
PDF.JS at SwissJeese 2012
Julian Viereck
 
GPGPU Programming @DroidconNL 2012 by Alten
GPGPU Programming @DroidconNL 2012 by AltenGPGPU Programming @DroidconNL 2012 by Alten
GPGPU Programming @DroidconNL 2012 by Alten
Arjan Somers
 
Drawing in HTML5 Open House
Drawing in HTML5 Open HouseDrawing in HTML5 Open House
Drawing in HTML5 Open House
Noam Kfir
 

Ähnlich wie JUI 2009 O3D Programming (20)

Leaving Flatland: Getting Started with WebGL- SXSW 2012
Leaving Flatland: Getting Started with WebGL- SXSW 2012Leaving Flatland: Getting Started with WebGL- SXSW 2012
Leaving Flatland: Getting Started with WebGL- SXSW 2012
 
CanvasGL, a GPU-accelerated WebKit
CanvasGL, a GPU-accelerated WebKitCanvasGL, a GPU-accelerated WebKit
CanvasGL, a GPU-accelerated WebKit
 
Introducing canvas gl (company100)
Introducing canvas gl (company100)Introducing canvas gl (company100)
Introducing canvas gl (company100)
 
CanvasGL, a GPU-accelerated WebKit
CanvasGL, a GPU-accelerated WebKitCanvasGL, a GPU-accelerated WebKit
CanvasGL, a GPU-accelerated WebKit
 
领域驱动设计实例讲解
领域驱动设计实例讲解领域驱动设计实例讲解
领域驱动设计实例讲解
 
MS TechDays 2011 - HTML 5 All the Awesome Bits
MS TechDays 2011 - HTML 5 All the Awesome BitsMS TechDays 2011 - HTML 5 All the Awesome Bits
MS TechDays 2011 - HTML 5 All the Awesome Bits
 
2011.05.27 ACC 기술세미나 : Adobe Flash Builder 4.5를 환경에서 Molehill 3D를 이용한 개발 소개
2011.05.27 ACC 기술세미나 : Adobe Flash Builder 4.5를 환경에서 Molehill 3D를 이용한 개발 소개2011.05.27 ACC 기술세미나 : Adobe Flash Builder 4.5를 환경에서 Molehill 3D를 이용한 개발 소개
2011.05.27 ACC 기술세미나 : Adobe Flash Builder 4.5를 환경에서 Molehill 3D를 이용한 개발 소개
 
Agic 2009 Losing My Religion Gis Interoperability
Agic 2009 Losing My Religion   Gis InteroperabilityAgic 2009 Losing My Religion   Gis Interoperability
Agic 2009 Losing My Religion Gis Interoperability
 
Away3d workshop slides
Away3d workshop slidesAway3d workshop slides
Away3d workshop slides
 
HTML5 for the Silverlight Guy
HTML5 for the Silverlight GuyHTML5 for the Silverlight Guy
HTML5 for the Silverlight Guy
 
JavaOne報告会 Java SE/JavaFX 編 - JJUG CCC 2010 Fall
JavaOne報告会 Java SE/JavaFX 編 - JJUG CCC 2010 FallJavaOne報告会 Java SE/JavaFX 編 - JJUG CCC 2010 Fall
JavaOne報告会 Java SE/JavaFX 編 - JJUG CCC 2010 Fall
 
HTML5: where flash isn't needed anymore
HTML5: where flash isn't needed anymoreHTML5: where flash isn't needed anymore
HTML5: where flash isn't needed anymore
 
Couchdb
CouchdbCouchdb
Couchdb
 
Designing an Objective-C Framework about 3D
Designing an Objective-C Framework about 3DDesigning an Objective-C Framework about 3D
Designing an Objective-C Framework about 3D
 
[SSS 2nd] 빅포게임즈 HTML 유무선연동
[SSS 2nd] 빅포게임즈 HTML 유무선연동[SSS 2nd] 빅포게임즈 HTML 유무선연동
[SSS 2nd] 빅포게임즈 HTML 유무선연동
 
Harness The Power Of Auto Cad Map And Esri
Harness The Power Of Auto Cad Map And EsriHarness The Power Of Auto Cad Map And Esri
Harness The Power Of Auto Cad Map And Esri
 
PDF.JS at SwissJeese 2012
PDF.JS at SwissJeese 2012PDF.JS at SwissJeese 2012
PDF.JS at SwissJeese 2012
 
GPGPU Programming @DroidconNL 2012 by Alten
GPGPU Programming @DroidconNL 2012 by AltenGPGPU Programming @DroidconNL 2012 by Alten
GPGPU Programming @DroidconNL 2012 by Alten
 
Debugging TV Frame 0x18
Debugging TV Frame 0x18Debugging TV Frame 0x18
Debugging TV Frame 0x18
 
Drawing in HTML5 Open House
Drawing in HTML5 Open HouseDrawing in HTML5 Open House
Drawing in HTML5 Open House
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Kürzlich hochgeladen (20)

Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 

JUI 2009 O3D Programming

  • 2. What’s O3D Google 2009 7 12
  • 3. What’s O3D Javascript Flash Player object QuickTime plugin IE Firefox, Safari… ActiveX NPAPI Canvas • Flash QT • O3D (Google Gears ) 2009 7 12
  • 4. What’s O3D API O3D VRML Direct3D RM API OpenGL Direct3D IM JS ! " HW 2D Canvas ! 2D 2009 7 12
  • 5. What’s O3D O3D API !"#$%&"#%$&"&"!!'! !"#(%&"#$$&"&"!!)! !"&&&&"&&&&*&"!!+! !"&&&&"&&&&"&*!!,! 2009 7 12
  • 6. What’s Scene Graph 1. scene { ! object { API material(red) { faces { DOM [0,0, 1,0 0,1] } } material(blue) { json faces { [0,2, 3,0 0,4] } } } } 2. 2009 7 12
  • 7. Reading Sample Code !"#$%&'(') **+,-#&./ **0#11'2132'#-"24"5$2+60/ **789#2#:""2;< json 2009 7 12
  • 8. 2009 7 12
  • 9. 2009 7 12
  • 10. Working with Scene Graph Transform Transform Transform Material Parent Child DrawList Shape Parent Child Primitive position list: [0,0, 0,1, 1,1] index list: [0,1,2] 2009 7 12
  • 11. Working with Scene Graph DOM parent.appendChild( child ); O3D child.parent = parent; ! add append (addShape ) ! t = pack.createObject('Transform'); t.parent = o3dClient.root; 2009 7 12
  • 12. Demo - js touch on O3D 2009 7 12
  • 13. 2D on O3D Mozilla Party 2D 2009 7 12
  • 14. 2D on O3D 2D Canvas provides an interface for drawing text and 2D primitives on a 2D surface. O3D Canvas : 2D API 2009 7 12
  • 16. 2009 7 12
  • 17. 2D on O3D Canvas 2009 7 12
  • 18. 2D on O3D ?@> @A> BC*D*B*E*F3?@>*G*=4> 8C*D*8*E*GF3@A>*H*=4> • =4> • • Shape =4> Canvas 2009 7 12
  • 19. Demo - O3D BallPool O3D Canvas by Mr. doob 2009 7 12
  • 20. Demo - O3D BallPool on Internet Explorer 2009 7 12
  • 21. Demo - O3D BallPool O3D plugin V8 JS Engine V8 "V8 Demo 2009 7 12
  • 22. • 2D Canvas • API 2009 7 12
  • 23. • 2D Canvas • API 2009 7 12
  • 24. Enjoy O3D Programming Thank You. 2009 7 12