Skip to content

Commit

Permalink
Polish README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
archibate committed Aug 19, 2020
1 parent 3d5274d commit 690851a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,17 @@ Taichi THREE is an extension library of the [Taichi Programming Language](https:

New in 0.0.3
------------

**Full camera control:** use `scene.camera.from_mouse(gui)` after a `gui.get_event()` call (without arguments) to control the camera with the mouse.
* Drag with the left mouse button pressed to orbit the camera.
* Drag with the right mouse button or use the wheel to zoom in and out.
* Drag with the middle mouse buttom to pan the camera.

Other updates:
* Backface culling for perspective cameras
* Used the area method to compute barycentric coordinates
* Clip the triangle bounding box to prevent drawing outside the camera
* Support binding textures to models.
* Backface culling for perspective cameras.
* Used the area method to compute barycentric coordinates.
* Clip the triangle bounding box to prevent drawing outside the camera.



Expand Down Expand Up @@ -116,5 +118,5 @@ while gui.running:
Checkout the [`examples/`](https://github.com/taichi-dev/taichi_three/tree/master/examples) directory for more runnable examples.

Loading models
---
--------------
Taichi-three uses a **left-handed** coordinate system where the +Z axis points **from** the camera **towards** the object. Therefore when exporting meshes from a modeling software (e.g., Blender), the axis directions should be set as "+Z forward, +Y up" so that the model will be oriented corrected in the taichi-three camera.
Binary file removed assets/a.png
Binary file not shown.

0 comments on commit 690851a

Please sign in to comment.