# 3D Modelling/Create 3D Models

The following learning resource supports you as an author to create you own three-dimensional models (see also demo 3D models provided by Lee Stemkoski. Provided tools are open source and can be used either for video animation three-dimensional space (e.g. genetic processes that are not visible in a microscope) are you construct 3-D models there are placed in the camera image of mobile device on specific markers (e.g. in AR.js).

## Preparation

If you are following the Open Community Approach the created models can be adapted to local and regional requirements and constraints or specifically to target groups of learners that will use the models. When adaptation of models include specific information about the learner's environment then 3D models cannot be shared beyond the Digital Learning Environment in which the learner uses the open 3D model. In other use-cases the 3D model in the learning environment it is recommended to share the 3D models with the community of authors and learners on Wikiversity for further improvement (see also Open Innovation Ecosystem).
* currently 3D models cannot be integrated directly into Wikiversity, so files must be stored and shared on an other WebServer, that supports version control during the development process of the 3D models.
* in this learning resource we use GitHub and take advantage of the version control system to share the files in the /docs folder on GitHub. Feel free to use any other for the community available version control system. Version control is helpful to have the choice to revert changes due to drawbacks and challenges with the new version.
** Create a new GitHub account if you do not have on (e.g. "myacount").
** Login into GitHub with your account.

## 3D Software Packages

* 360-Degree AFrame Integrate 360 Images in Aframe for digital exploration of locations.
* 360-Degree Image in Wikiversity Create a link to embed 360-Degree Image from Wiki Commons in AFrame.
* WikiCommons4AFrame Create 360-degree scenes in AFrame as a ZIP for offline (and online) use or create links with a 350-degree image that is online available as for online use.
* Blender - Photorealistic 3D Modelling with Physics, Animation, ...: (e.g. Fluid Dynamics and Wind)
* Hugin - Create an spherical image for 360$^o$-Panorama Images
* AR.js - Augmented Reality in a browser with Marker Recognition with AR.js (Youtube Demo)
* Regard3D - Create a 3D models from several images with Regard3D (Youtube Demo) - (replace with WikiMedia Commons Videos if exists)
* Threes.js - Webbased 3D Modelling - including animation and import of 3D models generated in Blender
* Hugin Create a 360-degree image for Aframe (see 360 degree example)
* JSON3D4Aframe JSON Editor for AFrame and AR.js
* Create 360-degree Video with Vailant360 and Hugin.

## Learning Task

* (Regard3D) Create you own screencast of your 3D model you created with Regard3D (approx 10-15min as Walk Through) and provide the set of images on GitHub for other learners to work with (just as HuginSample for Hugin)
* (360-Degree AFrame) Create a 360 Degree image for AFrame with WikiCommons4AFrame
* (AR.js) Create a 3D model in JSON3D4Aframe and view the model on a Hiro marker. See also Mixare
* (Tracking) Explore the concept of motion tracking with Javascript on https://www.trackingjs.com as OpenSource framework. Compare the approach with tracking approach on AR.js.

## External Resources

* HuginSample Github repository with sample images of the Durlacher Saumarkt, Karlsruhe Durlach, Germany
* Hugin Download: http://hugin.sourceforge.net/
* GIMP Download for learning how to fix missing images with GIMP Clone Tool and projection fixing
* JSON3D4Aframe Webbased 3D Models constructed with geometric primitives (e.g. cubes, sphere, torus, rectangles, ...)
* WikiCommons4AFrame for using a 360 equirectangular image in Aframe as 360 degree images.

## Overview

| - | JSON3DAFrame | Hugin |
| Tool | JSON3D4Aframe | Hugin Software for 360 Degree Images in AFrame |
| Product | Water Molecule with Augmented Reality AR.js on Kanji Marker - create with JSON3D4Aframe. | equirectangular Image from WikiMedia Commons rendered with Aframe as 360-Degree Image (see Hugin) |