Skip to content

PierreEVEN/ThreeFlightSimulator

Repository files navigation

ThreeJsDemo

A primitive flight simulator running on web browser with ThreeJS made in 2 months

The goal behind this project was to improve my shader programming skills and to get some basic knowledges with web langages.

Report of the project (FR)

Features

  • Web assembly for high performance generation algorithms
  • Infinite procedural landscape generation
  • Basic foliage system
  • Basic atmospheric scattering shader
  • Tree impostors

Live demo

A live demo of this project is available here (please keep in mind that the high settings require a high-end GPU. Prefer lower presets for laptop or mobile devices)

Pictures

cockpitView from a quickly modeled 3D cockpit

impostorsImpostor rendering (every tree on this screen is a 2-polygone plane)

ShadowsExperimentation with the threeJS's cascaded shadow module. (i didn't achieved to a good result, and the efforts required to improve the rendering was too much for a side project)

atmospheric_scattering

Atmospheric scattering

quadtree

Quadtree