Skip to content

Commit b80e4c5

Browse files
author
Sascha Braun
committed
UPDATE asset factory function to add app as param
ADD model to asset manager ADD obj / fbx model loading
1 parent 857e29f commit b80e4c5

23 files changed

+4109
-72
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,18 @@ Only core features will be present in this package: You will be able to extend t
1111
However, for now, there are still some shipped in features. Some features are bound to change as the library evolves.
1212

1313
- Asset manager to automatically load and unload your assets.
14-
- Custom asset factory functions to load (asynchronously) custom geometries, materials and textures.
14+
- Custom asset factory functions to load custom geometries, materials, textures and models
1515

1616
- Scene manager able to handle multiple scenes. Only once scene at a time may be active however
1717
- Meshes, cameras and lights and groups with reactive property bindings
1818
- Behaviour components for data manipulation: Can be placed in the object, scene or application scope, depending on the seeked result.
1919

20-
- Other default components such as fog.
20+
- Other default components such as fog, grid and axes.
2121

2222
- First version of a input manager based on [pinput](https://github.com/ichub/pinput)
2323

2424
**Todo:**
2525

26-
- Remove scene active prop (can be done with an v-if attribute)
27-
2826
- Add cube texture component
2927
- Add default materials and geometries
3028

23 KB
Binary file not shown.
23.4 KB
Binary file not shown.
23.2 KB
Binary file not shown.
23.3 KB
Binary file not shown.
Loading

public/assets/textures/crate.jpg

816 KB
Loading

public/assets/textures/crate.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"asset": "/assets/textures/crate.jpg",
3+
"mapping": 300,
4+
"repeat": [1, 1],
5+
"offset": [0, 0],
6+
"center": [0, 0],
7+
"rotation": 0,
8+
"wrap": [1001, 1001],
9+
"format": 1022,
10+
"minFilter": 1008,
11+
"magFilter": 1006,
12+
"anisotropy": 1,
13+
"flipY": true
14+
}

0 commit comments

Comments
 (0)