SlideShare a Scribd company logo
Drupal 3D
Intro to Using Web 3D
with Drupal
Brian Hay
brian@virtualrealms.com.au
Brief Bio
● IT Generalist - GFX design & technical
● Mid-late 90s
○ Self-taught web, 3D & VR (VRML)
○ Taught web, multimedia & VRML at Qantm & QUT
● 2000-2005 - ran own business doing VR
● 2006 - discovered Drupal
● Recently getting back into 3D & VR
○ Unity, Blender, THREE.js, WebGL
Virtual Realms Pty Ltd
www.OrbitOwl.com www.Construct3D.com
www.DrupalEnso.org
General application
● This presentation is about Web 3D
● But techniques apply to integrating Drupal
with any external app or service
What is Web 3D?
● Web 3D = any technology that enables interactive 3D
graphics in a web browser
● Historically: VRML, X3D, Papervision3D (Flash) and
many, many others over the last 2 decades
● Until recently, all required proprietary 3D browser
plugins or Flash or Java
● But that’s all changed with WebGL …
WebGL is a game changer
● Plug-in free 3D in the browser with HTML5,
javascript and WebGL
● Modern browsers natively support WebGL
○ Yes, even Microsoft IE (11) and upcoming “Edge”!
● Cross-platform and mobile support
● It just works! TM
○ … on modern hardware and web browsers
What is WebGL?
“WebGL (Web Graphics Library) is a JavaScript API for
rendering interactive 3D computer graphics and 2D
graphics within any compatible web browser without the
use of plug-ins” ~ Wikipedia
● A web standard, started by Mozilla, maintained by
Khronos Group, supported by all major browsers
● Based on OpenGL ES standard
● Uses HTML5 canvas element and DOM
What is WebGL?
● WebGL is a low level API = heavy going for newbies
● But … there are higher level libraries like THREE.js and
x3dom that make it a lot easier to work with WebGL
● Also, visual creation tools like Unity allow export to
WebGL, so you don’t necessarily need to understand
WebGL or THREE.js code
THREE.js
Example:
Spinning
Cube
x3dom Example: Spinning Cube
Related ...
● VR = Virtual Reality, AR = Augmented Reality
● VR Headsets - Oculus Rift (Facebook), Samsung Galaxy Gear VR, Google
Cardboard, HTC Vive, Microsoft HoloLens
● Magic Leap - virtual retinal display
● Leap Motion - hand gesture recognition with a small USB sensor
● Microsoft Kinect
● Mobiles - multitouch and tracking via GPS, accelerometers, cameras
● Mature content creation software: Unity, Unreal, CryEngine, Blender,
3dsmax, Maya, Photoshop, The Gimp, Krita etc
● After a few decades and many false starts VR is finally hitting the
mainstream and attracting big $$ investment
Marketing missteps can’t stop VR :)
Case Studies - Drupal with Web 3D
1. LifeTec Virtual Smart Home
2. TJM Vehicle Builder (not my work)
LifeTec Virtual
Smart Home (VSH)
● Stage 1 of 3 - WIP
● Walk or drive a wheelchair through
a traditional Queensland home to
experience before and after
accessible home modifications.
● Simple Drupal site to allow client
editing of some VR content - points
of interest text
● Site outputs JSON
● JSON loaded & parsed by VSH
● VR points of interest created
LifeTec VSH - DEMO
● Content type:
○ VR Point of Interest (POI)
● Views:
○ List, create and edit VR POIs
○ Output POIs as JSON
● Made with:
○ Drupal 7, adminimal admin theme, admin menu, admin
menu source, views, views json, field permissions, field
readonly, maxlength, node save redirect, login
destination, simplify
Future Possibilities
● Use Drupal to manage, browse and customise all scene assets
(a curated library of assets)
○ 3D models
○ Textures
○ Materials
○ Audio
○ Video
○ Text (& translations!)
○ Metadata
● Better integration between 3D scene & Drupal
○ 2-way using Drupal feeds, services, views JSON etc
● Drupal 8 complete WebGL frontend theme!
TJM Vehicle Builder
● By Chris Brown (2pha) and iFactory Brisbane
● Drupal Commerce + THREE.js
Vehicle builder frontend THREE.js material creation & preview
TJM Vehicle Builder - DEMO
● Select vehicle make, model, series
● Customise colours & add accessories
● Add chosen options to Drupal Commerce
cart
● Submit enquiry
● Session persistence (return to same vehicle)
Web 3D Resources
● WebGL on Wikipedia
● WebGL browser compatibility table
● Official Khronos Group WebGL specs and docs
● JS libs to simplify working with WebGL:
○ THREE.js - by far the most popular!
○ Scene.js
○ x3dom (pronounced x-freedom)
● Web3D Consortium (ISO standards for 3D on the web)
Drupal + Web 3D Resources
● TJM website with WebGL vehicle builder
○ Drupal Commerce + THREE.js
○ By Chris Brown (2pha) and iFactory, Brisbane
● CAM3D Three sandbox module
● X3DOM sandbox module
THREE.js Examples (Non-Drupal)
These are non-Drupal … but they could be!
● Clara.io - full 3D modelling and animation app in the
browser
● Planner5D - 3D home interior design app
● Hero Forge Custom Miniatures - design and 3D print
your own board game miniatures
● Games: GoreScript, HelloRun & Racer-S
● Data viz: globe
● And many more ...
~ END ~
Thanks!

More Related Content

PPTX
Hands-On With Reactive Web Design
PPT
Multi-tenancy In the Cloud
PDF
How To be a Backend developer
PPTX
Power bi
DOCX
Micro services vs Monolith Architecture
PDF
Designing Scalable and Secure Microservices by Embracing DevOps-as-a-Service ...
PPTX
DevOps - Motivadores e Benefícios
PDF
Mean Stack - An Overview
Hands-On With Reactive Web Design
Multi-tenancy In the Cloud
How To be a Backend developer
Power bi
Micro services vs Monolith Architecture
Designing Scalable and Secure Microservices by Embracing DevOps-as-a-Service ...
DevOps - Motivadores e Benefícios
Mean Stack - An Overview

What's hot (20)

PPTX
CQRS: Command/Query Responsibility Segregation
PPTX
CloudMile Product & Service (EN)
PDF
React Native
PDF
Working with Microsoft Power Business Inteligence Tools - Presented by Atidan
PDF
Virtualization in Cloud Computing
PDF
Better Together: Delivering Graph Value with AWS & Neo4j - Antony Prasad The...
PPTX
Power BI Create lightning fast dashboard with power bi & Its Components
PPTX
Cloud Computing Principles and Paradigms: 9 aneka-integration of private and ...
PPTX
Reactive Web Best Practices
PPTX
Data Visualization Techniques in Power BI
PPTX
The Benefits of Using React JS for Web Development!
PPTX
Software architecture for high traffic website
PPTX
Getting Started with BigQuery ML
PPTX
Power BI
PPTX
Introduction to the Microsoft Bot Framework v4
PPTX
What is Power BI
PDF
A Basic Django Introduction
PDF
Integration Microservices
PPTX
.Net Core
PPTX
FULL stack -> MEAN stack
CQRS: Command/Query Responsibility Segregation
CloudMile Product & Service (EN)
React Native
Working with Microsoft Power Business Inteligence Tools - Presented by Atidan
Virtualization in Cloud Computing
Better Together: Delivering Graph Value with AWS & Neo4j - Antony Prasad The...
Power BI Create lightning fast dashboard with power bi & Its Components
Cloud Computing Principles and Paradigms: 9 aneka-integration of private and ...
Reactive Web Best Practices
Data Visualization Techniques in Power BI
The Benefits of Using React JS for Web Development!
Software architecture for high traffic website
Getting Started with BigQuery ML
Power BI
Introduction to the Microsoft Bot Framework v4
What is Power BI
A Basic Django Introduction
Integration Microservices
.Net Core
FULL stack -> MEAN stack
Ad

Similar to Drupal 3D - Intro to Using Web 3D with Drupal (20)

PDF
Castle Game Engine: intro, web, IFC, 3D scanning, mORMot
PDF
Power of WebGL (FSTO 2014)
PDF
Castle Game Engine and the joy of making and using a custom game engine
PDF
Web3D - Semantic standards, WebGL, HCI
PDF
AD109 Navigating the Jungle of Modern Web Development
PDF
Introduction to WebGL - 1st WebGL meetup Amsterdam
PPTX
Amsterdam HTML5 Game Developement Meetup - ThreeDee Media presentation
PPTX
Sx sw speaker proposal slides
PPTX
3D INTERNET
PDF
IT in 2017
PDF
Servo: A Web View From Somewhere Else
PDF
Building a Better Web with HTML5 and CSS3
PDF
HTML5 New Features and Resources
PDF
Blender presentation at SIGGRAPH 2013
PDF
The Appy Hour
PPTX
3D INTERNET Technical Seminar
PDF
The Chromium/Wayland project (Web Engines Hackfest 2017)
PDF
Thoughts on the 3D printing revolution and its consequences on the web's future
PDF
Serverless computing with Google Cloud
PDF
JavascriptMVC: Another choice of web framework
Castle Game Engine: intro, web, IFC, 3D scanning, mORMot
Power of WebGL (FSTO 2014)
Castle Game Engine and the joy of making and using a custom game engine
Web3D - Semantic standards, WebGL, HCI
AD109 Navigating the Jungle of Modern Web Development
Introduction to WebGL - 1st WebGL meetup Amsterdam
Amsterdam HTML5 Game Developement Meetup - ThreeDee Media presentation
Sx sw speaker proposal slides
3D INTERNET
IT in 2017
Servo: A Web View From Somewhere Else
Building a Better Web with HTML5 and CSS3
HTML5 New Features and Resources
Blender presentation at SIGGRAPH 2013
The Appy Hour
3D INTERNET Technical Seminar
The Chromium/Wayland project (Web Engines Hackfest 2017)
Thoughts on the 3D printing revolution and its consequences on the web's future
Serverless computing with Google Cloud
JavascriptMVC: Another choice of web framework
Ad

Recently uploaded (20)

PDF
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
PPTX
Slides PPTX World Game (s) Eco Economic Epochs.pptx
PPTX
presentation_pfe-universite-molay-seltan.pptx
PPT
tcp ip networks nd ip layering assotred slides
PDF
Cloud-Scale Log Monitoring _ Datadog.pdf
PPTX
Job_Card_System_Styled_lorem_ipsum_.pptx
PPTX
Power Point - Lesson 3_2.pptx grad school presentation
PPTX
Internet___Basics___Styled_ presentation
PDF
The New Creative Director: How AI Tools for Social Media Content Creation Are...
DOCX
Unit-3 cyber security network security of internet system
PPTX
artificialintelligenceai1-copy-210604123353.pptx
PDF
Decoding a Decade: 10 Years of Applied CTI Discipline
PPT
Design_with_Watersergyerge45hrbgre4top (1).ppt
PPT
Ethics in Information System - Management Information System
PPTX
Digital Literacy And Online Safety on internet
PPTX
PptxGenJS_Demo_Chart_20250317130215833.pptx
PPTX
international classification of diseases ICD-10 review PPT.pptx
PDF
WebRTC in SignalWire - troubleshooting media negotiation
PPTX
newyork.pptxirantrafgshenepalchinachinane
PDF
Introduction to the IoT system, how the IoT system works
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
Slides PPTX World Game (s) Eco Economic Epochs.pptx
presentation_pfe-universite-molay-seltan.pptx
tcp ip networks nd ip layering assotred slides
Cloud-Scale Log Monitoring _ Datadog.pdf
Job_Card_System_Styled_lorem_ipsum_.pptx
Power Point - Lesson 3_2.pptx grad school presentation
Internet___Basics___Styled_ presentation
The New Creative Director: How AI Tools for Social Media Content Creation Are...
Unit-3 cyber security network security of internet system
artificialintelligenceai1-copy-210604123353.pptx
Decoding a Decade: 10 Years of Applied CTI Discipline
Design_with_Watersergyerge45hrbgre4top (1).ppt
Ethics in Information System - Management Information System
Digital Literacy And Online Safety on internet
PptxGenJS_Demo_Chart_20250317130215833.pptx
international classification of diseases ICD-10 review PPT.pptx
WebRTC in SignalWire - troubleshooting media negotiation
newyork.pptxirantrafgshenepalchinachinane
Introduction to the IoT system, how the IoT system works

Drupal 3D - Intro to Using Web 3D with Drupal

  • 1. Drupal 3D Intro to Using Web 3D with Drupal Brian Hay brian@virtualrealms.com.au
  • 2. Brief Bio ● IT Generalist - GFX design & technical ● Mid-late 90s ○ Self-taught web, 3D & VR (VRML) ○ Taught web, multimedia & VRML at Qantm & QUT ● 2000-2005 - ran own business doing VR ● 2006 - discovered Drupal ● Recently getting back into 3D & VR ○ Unity, Blender, THREE.js, WebGL
  • 3. Virtual Realms Pty Ltd www.OrbitOwl.com www.Construct3D.com www.DrupalEnso.org
  • 4. General application ● This presentation is about Web 3D ● But techniques apply to integrating Drupal with any external app or service
  • 5. What is Web 3D? ● Web 3D = any technology that enables interactive 3D graphics in a web browser ● Historically: VRML, X3D, Papervision3D (Flash) and many, many others over the last 2 decades ● Until recently, all required proprietary 3D browser plugins or Flash or Java ● But that’s all changed with WebGL …
  • 6. WebGL is a game changer ● Plug-in free 3D in the browser with HTML5, javascript and WebGL ● Modern browsers natively support WebGL ○ Yes, even Microsoft IE (11) and upcoming “Edge”! ● Cross-platform and mobile support ● It just works! TM ○ … on modern hardware and web browsers
  • 7. What is WebGL? “WebGL (Web Graphics Library) is a JavaScript API for rendering interactive 3D computer graphics and 2D graphics within any compatible web browser without the use of plug-ins” ~ Wikipedia ● A web standard, started by Mozilla, maintained by Khronos Group, supported by all major browsers ● Based on OpenGL ES standard ● Uses HTML5 canvas element and DOM
  • 8. What is WebGL? ● WebGL is a low level API = heavy going for newbies ● But … there are higher level libraries like THREE.js and x3dom that make it a lot easier to work with WebGL ● Also, visual creation tools like Unity allow export to WebGL, so you don’t necessarily need to understand WebGL or THREE.js code
  • 11. Related ... ● VR = Virtual Reality, AR = Augmented Reality ● VR Headsets - Oculus Rift (Facebook), Samsung Galaxy Gear VR, Google Cardboard, HTC Vive, Microsoft HoloLens ● Magic Leap - virtual retinal display ● Leap Motion - hand gesture recognition with a small USB sensor ● Microsoft Kinect ● Mobiles - multitouch and tracking via GPS, accelerometers, cameras ● Mature content creation software: Unity, Unreal, CryEngine, Blender, 3dsmax, Maya, Photoshop, The Gimp, Krita etc ● After a few decades and many false starts VR is finally hitting the mainstream and attracting big $$ investment
  • 13. Case Studies - Drupal with Web 3D 1. LifeTec Virtual Smart Home 2. TJM Vehicle Builder (not my work)
  • 14. LifeTec Virtual Smart Home (VSH) ● Stage 1 of 3 - WIP ● Walk or drive a wheelchair through a traditional Queensland home to experience before and after accessible home modifications. ● Simple Drupal site to allow client editing of some VR content - points of interest text ● Site outputs JSON ● JSON loaded & parsed by VSH ● VR points of interest created
  • 15. LifeTec VSH - DEMO ● Content type: ○ VR Point of Interest (POI) ● Views: ○ List, create and edit VR POIs ○ Output POIs as JSON ● Made with: ○ Drupal 7, adminimal admin theme, admin menu, admin menu source, views, views json, field permissions, field readonly, maxlength, node save redirect, login destination, simplify
  • 16. Future Possibilities ● Use Drupal to manage, browse and customise all scene assets (a curated library of assets) ○ 3D models ○ Textures ○ Materials ○ Audio ○ Video ○ Text (& translations!) ○ Metadata ● Better integration between 3D scene & Drupal ○ 2-way using Drupal feeds, services, views JSON etc ● Drupal 8 complete WebGL frontend theme!
  • 17. TJM Vehicle Builder ● By Chris Brown (2pha) and iFactory Brisbane ● Drupal Commerce + THREE.js Vehicle builder frontend THREE.js material creation & preview
  • 18. TJM Vehicle Builder - DEMO ● Select vehicle make, model, series ● Customise colours & add accessories ● Add chosen options to Drupal Commerce cart ● Submit enquiry ● Session persistence (return to same vehicle)
  • 19. Web 3D Resources ● WebGL on Wikipedia ● WebGL browser compatibility table ● Official Khronos Group WebGL specs and docs ● JS libs to simplify working with WebGL: ○ THREE.js - by far the most popular! ○ Scene.js ○ x3dom (pronounced x-freedom) ● Web3D Consortium (ISO standards for 3D on the web)
  • 20. Drupal + Web 3D Resources ● TJM website with WebGL vehicle builder ○ Drupal Commerce + THREE.js ○ By Chris Brown (2pha) and iFactory, Brisbane ● CAM3D Three sandbox module ● X3DOM sandbox module
  • 21. THREE.js Examples (Non-Drupal) These are non-Drupal … but they could be! ● Clara.io - full 3D modelling and animation app in the browser ● Planner5D - 3D home interior design app ● Hero Forge Custom Miniatures - design and 3D print your own board game miniatures ● Games: GoreScript, HelloRun & Racer-S ● Data viz: globe ● And many more ...