Skip to content
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

[re_renderer] shader import cleanup & wgsl typedefs #229

Merged
merged 5 commits into from
Oct 26, 2022

Conversation

Wumpf
Copy link
Member

@Wumpf Wumpf commented Oct 26, 2022

Sadly I found a bug in Naga while doing the type aliases - gfx-rs/naga#2105

Checklist

  • I have read and agree to Contributor Guide and the Code of Conduct
    * [ ] I've included a screenshot or gif (if applicable)
    * [ ] I've added a line to CHANGELOG.md (if this is a big enough change to warrant it)

@Wumpf Wumpf merged commit 0829049 into main Oct 26, 2022
@Wumpf Wumpf deleted the andreas/shader-import-cleanup branch October 26, 2022 20:56
emilk pushed a commit that referenced this pull request Oct 26, 2022
* moved out some shader utility functions
* add shader type aliases
* fix use of let/var
emilk added a commit that referenced this pull request Oct 27, 2022
* Add documentation for the new space transform hierarchy system

* pylint

* Remove calls to rerun.log_camera and space=…

* Python SDK: Remove space= arguments and log_camera

* Remove old viewport panel

* Remove the Camera data type and object type

* Fix the vscode extensions list

* Remove `space` field from objects

* More "space" removal

* Add "crates" to recommended VSCode extension list

* one more

* Add line to changelog

* Remove space from benchmark (we don't need it!)

* Refactor out function should_have_default_view

* Automatically add space views if the viewport is missing a space

* Bug-fix

* Nicer split

* Improve USAGE.md text

* Link to USAGE.md from changelog line

* Explain transform relationship

* Even better USAGE.md

* Explain what Rerun means with "Space"

* Add log_unknown_transform

* Add CoordinateSystem data type

* Replace `set_space_up` with `log_world_coordinate_system`

* Better plumbing of the space coordinate systems

* Handle no views

* Log camera coordinate systems and use it

* Remove CameraSpaceConvention

* Move SpaceCamera to own file

* Move SpaceCamera to own file

* Rename "Extrinsics" to "Rigid3"

* python format and lint

* Make intrinsics resolution optional

* Code cleanup

* Unify everything as "ViewCoordinates"

* Respect world view coordinates when setting up default 3D eye

* Fix mistaken confusion of rub-space and user cam-space

* Fix correct axes preview of camera in 3d space

* Add a TODO about camera frustum

* Rename intrinsics to pinhole

* For convenience, log_rigid3_transform also takes a xyz argument

* Document view coordinates

* Misc cleanup

* Fix direction of the clock example so that X=right and Y=up

* cargo doc fix

* wording

Co-authored-by: Nikolaus West <niko@grapic.co>

* better docstring

Co-authored-by: Nikolaus West <niko@grapic.co>

* [re_renderer] shader import cleanup & wgsl typedefs (#229)

* moved out some shader utility functions
* add shader type aliases
* fix use of let/var

* log_rigid3_transform -> log_rigid3

* Improve docs

* More improved docs

* Remove deprecated docs about automatic space names

* rename "3d" to "world"

* Add info about log_unknown_transform to USAE.md

* log_rigid3: add parent_from_child and child_from_parent parameters

* log_pinhole: rename argument to child_from_parent

Co-authored-by: Nikolaus West <niko@grapic.co>
Co-authored-by: Andreas Reich <andreas@rerun.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants