-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Doc] Add docs for GGUI's new features #5647
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Member
Morcki
commented
Aug 5, 2022
•
edited
Loading
edited
- For those who need depth information of the current scene, you can now fetch the depth buffer from Vulkan to taichi Field using ti.ui.Window.get_depth_buffer(field) in ti.ui.Window, note that you should declare a taichi field with shape matching the window shape beforehand. Alternatively, you can get depth info in a numpy array using ti.ui.Window.get_depth_buffer_as_numpy().
- GGUI now supports drawing 3d lines via Scene.lines(vertices, width). Use multiple lines to assist your scene construction and to display the boundary.
- GGUI added support for drawing mesh instance. You can pass a list of transformation matrices and call ti.ui.Scene.mesh_instance(vertices, transforms=TransformMatrixField) to place mounts of instances of mesh into different places.
- You can optionally turn on show_wareframe=True in Scene.mesh and Scene.mesh_instanceto show the wareframe of the mesh to examine your objects in GGUI.
✅ Deploy Preview for docsite-preview ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
for more information, see https://pre-commit.ci
YuCrazing
changed the title
[Doc] Add docs about some new feature of GGUI
[Doc] Add docs for GGUI's new features
Aug 6, 2022
writinwaters
suggested changes
Aug 8, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Editorial updates. Please double check if I garbled with the intended meaning.
Co-authored-by: Vissidarte-Herman <[email protected]>
Co-authored-by: Vissidarte-Herman <[email protected]>
Co-authored-by: Vissidarte-Herman <[email protected]>
Co-authored-by: Vissidarte-Herman <[email protected]>
Co-authored-by: Vissidarte-Herman <[email protected]>
Co-authored-by: Vissidarte-Herman <[email protected]>
Co-authored-by: Vissidarte-Herman <[email protected]>
Co-authored-by: Vissidarte-Herman <[email protected]>
for more information, see https://pre-commit.ci
Co-authored-by: Vissidarte-Herman <[email protected]>
Co-authored-by: Vissidarte-Herman <[email protected]>
PENGUINLIONG
requested changes
Aug 8, 2022
Co-authored-by: Vissidarte-Herman <[email protected]>
Co-authored-by: Vissidarte-Herman <[email protected]>
Co-authored-by: Vissidarte-Herman <[email protected]>
Co-authored-by: Vissidarte-Herman <[email protected]>
Co-authored-by: Vissidarte-Herman <[email protected]>
Co-authored-by: Vissidarte-Herman <[email protected]>
Co-authored-by: Vissidarte-Herman <[email protected]>
Co-authored-by: Vissidarte-Herman <[email protected]>
Co-authored-by: Vissidarte-Herman <[email protected]>
ailzhang
pushed a commit
to ailzhang/taichi
that referenced
this pull request
Aug 10, 2022
* improve docs about new features of GGUI * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * rename wareframe to wireframe * update some docs * update docs * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * rename to Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Vissidarte-Herman <[email protected]>
ailzhang
pushed a commit
to ailzhang/taichi
that referenced
this pull request
Aug 10, 2022
* improve docs about new features of GGUI * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * rename wareframe to wireframe * update some docs * update docs * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * rename to Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Vissidarte-Herman <[email protected]>
ailzhang
added a commit
that referenced
this pull request
Aug 10, 2022
* [autodiff] Fix AdStackAllocaStmt not correctly backup (#5692) * [autodiff] Fix AdStackAllocaStmt not correctly backup * remove redundant replace * add comments * add polar decompose test * erase outdated AdStackAllocaStmt * [Doc] Add introduction to forward mode autodiff (#5680) * [autodiff] Add introduction to forward mode autodiff * Apply suggestions from code review Co-authored-by: Ailing <[email protected]> * Apply suggestions from code review Co-authored-by: Ailing <[email protected]> * [Doc] Add docs for GGUI's new features (#5647) * improve docs about new features of GGUI * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * rename wareframe to wireframe * update some docs * update docs * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * Update docs/lang/articles/visualization/ggui.md Co-authored-by: Vissidarte-Herman <[email protected]> * rename to Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Vissidarte-Herman <[email protected]> * [bug] Support indexing via np.integer for field (#5712) * [autodiff] Clear all dual fields when exiting context manager (#5716) * [Doc] [type] Add introduction to quantized types (#5705) * [Doc] [type] Add introduction to quantized types * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix * Apply suggestions from code review Co-authored-by: Ailing <[email protected]> * Shuffle * Fix type Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Ailing <[email protected]> * [test] Fix autodiff test for unsupported shift ptr (#5723) * [misc] Update version to v1.1.0 Co-authored-by: Mingrui Zhang <[email protected]> Co-authored-by: Mocki <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Vissidarte-Herman <[email protected]> Co-authored-by: Yi Xu <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.