Skip to content

Commit dc57cd0

Browse files
committed
chore: display weapon screenshot
1 parent af28ec1 commit dc57cd0

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> Three.js model loader for 3d object (**.obj**) files.
44
5-
5+
![screenshot](assets/screenshot2.png)
66

77
### Requirements
88

@@ -47,10 +47,10 @@ This project has no dependencies since it only contains static website files. Ot
4747

4848
> This is the recommended usage for rendering object models as all Three.js scenes are already set-up in the **Viewer** object.
4949
50-
1. Include the required Three.js files in your website (from the **/public/js** directory):
50+
1. Include the required Three.js files in your website (from the **/public/js** directory):<br>
5151
`three.min.js`, `DDSLoader.js`, `MTLLoader.js`, `TGALoader.js`, `OBJLoader.js`.
5252

53-
2. Include the custom loader and model viewer (from the **/public** directory):
53+
2. Include the custom loader and model viewer (from the **/public** directory):<br>
5454
`loader.js`, `viewer.js`
5555

5656
3. Load your object model(s) using **async-await**, but do not add them to the **scene**. See [**Object Loader (Basic Usage)**, #4]() for more usage information.
@@ -59,16 +59,16 @@ This project has no dependencies since it only contains static website files. Ot
5959
let b = await loadModel(...)
6060
let c = await loadModel(...)
6161

62-
4. Initialize a new **Viewer** object with the loaded models from #1 as parameters.
62+
4. Initialize a new **Viewer** object with the loaded models from #1 as parameters.<br>
6363
`const viewer = new Viewer([a, b, c])`
6464

6565

6666
### Object Loader (Basic Usage)
6767

68-
1. Include the required Three.js files in your website (from the **/public/js** directory):
68+
1. Include the required Three.js files in your website (from the **/public/js** directory):<br>
6969
`three.min.js`, `DDSLoader.js`, `MTLLoader.js`, `OBJLoader.js`.
7070

71-
2. Include the custom loader and model viewer (from the **/public** directory):
71+
2. Include the custom loader and model viewer (from the **/public** directory):<br>
7272
`loader.js`, `simple.js`
7373

7474
3. Initialize a ThreeJS scene, camera and renderer. See `public/simple.js` **init()** for more information.

assets/screenshot.png

79.4 KB
Loading

assets/screenshot2.PNG

75.5 KB
Loading

0 commit comments

Comments
 (0)