Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vleue/bevy_bistro_playground
Bevy playground with the Bistro scene showcasing lights
https://github.com/vleue/bevy_bistro_playground
bevy bistro rust
Last synced: about 2 months ago
JSON representation
Bevy playground with the Bistro scene showcasing lights
- Host: GitHub
- URL: https://github.com/vleue/bevy_bistro_playground
- Owner: vleue
- Created: 2022-01-20T21:32:05.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-13T16:29:36.000Z (about 2 years ago)
- Last Synced: 2023-03-05T07:30:29.476Z (almost 2 years ago)
- Topics: bevy, bistro, rust
- Language: Rust
- Homepage:
- Size: 6.45 MB
- Stars: 6
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bevy Bistro Playground
Bevy playground with the Bistro scene from https://developer.nvidia.com/orca/amazon-lumberyard-bistro
![](bevy_bistro_playground.png)
## How to use
Download the scenes, and reexport `BistroExterior.fbx` and `BistroInterior_Wine.fbx` as GLTF files (in `.glb` format). Move the glb files to the assets folder.
## What it does
Both scenes will be loaded, with a few modifications:
* Interior:
* Front door is removed as it is not perfectly aligned with front door of exterior scene
* Point lights are spawned on the ceiling lights
* Exterior:
* Front door glass is made transparent
* Streetlight glass is made transparent
* Point lights are spawned on the street lights
* Point lights are spawned on the lanternsWith all lights added, there are 21 point lights.
In a real game, those changes should be done on the scenes themselves before being loaded in Bevy. This is done in Bevy here to work with the original scenes without modifications on them.
A directional light is added that will change direction based on the time, and the ambient light vary with the angle of the directional light. This simulates a day/night cycle.
## Known issues
The normals are wrong, as they are not in the expected format by Bevy. This is easily fixed in the exported scene.