Граф коммитов

22 Коммитов

Автор SHA1 Сообщение Дата
Matthew A Johnson 0597cef238
Updating CI and dependencies. (#64)
This point release updates to the latest versions of most dependencies,
including compatibility with the latest NPM, pybind11, and updates
the pipelines to be compatible with more up-to-date practices.

Signed-off-by: Matthew Johnson <matjoh@microsoft.com>
2024-10-03 14:20:43 +01:00
Matthew A Johnson 892b2c4996
Cleanup for v1.1.0 (#58)
In prep for the 1.1 minor release a few final issues were addressed:

New Features
- Full pinch, zoom and rotate with two fingers is now supported

Bug fixes
- Dropdown menus will now correctly appear on top of canvases in the z-order
- Dropdown menus will align on the opposite side if not doing so would result
  appearing outside the viewbox
2023-03-20 11:24:46 +00:00
Matthew A Johnson 731b5a3cf7
Add Pan/Zoom for 2D Canvases (#57)
Point release adding pan/zoom functionality to 2D canvases.
2023-03-13 13:13:58 +00:00
Matthew A Johnson 032ca9b4a7
Focus point improvements (#55)
Point release adding the ability to pick the centroid of a mesh as
a focus point by clicking on it while in focus point selection mode.

Also includes an upgrade to WebGL 2, and some minor improvements with the build.
2023-01-20 14:07:23 +00:00
Matthew A Johnson 43507f6ed6
Adding visibility toggle shortcut (#54)
Adding visibility toggle shortcut
2023-01-11 09:44:16 +00:00
Matthew A Johnson fa26ac37ad
Point release fixing Jupyter rendering order. (#52)
Previously, when a Jupyter notebook containing Scenepic cells was
loaded after having been saved, the notebooks would appear out
of order within the notebook. Also, the full library was written into
each cell, resulting in a lot of duplicate Javascript for notebooks
which included heavy use of the library. The new solution uses a few
elements to avoid this:

- The library is written as an external script file in the same directory
  as the notebook. This has the advantage of making debugging the
  Typescript library easier (this is a return to previous functionality).
- The library is loaded once via a single `script` tag
- Each cell is assigned a unique ID that is used by scenepic to target it
- When reloading a saved notebook, order is preserved due to the use of
  the unique ids.

Signed-off-by: Matthew A Johnson <matjoh@microsoft.com>
2022-11-11 09:41:00 +00:00
Matthew A Johnson 770dd2cc2f
Fixing the missing methods in Python documention. (#51)
New Features
- The missing methods for a variety of classes have been added to the python docs
- The version of pybind11 has been bumped to the latest release

Signed-off-by: Matthew A Johnson <matjoh@microsoft.com>
2022-11-04 11:52:53 +00:00
Matthew A Johnson 575ed31f3e
Point release adding additional graph features. (#47)
New Features:
- Can specify text alignment and size for graph labels and values
- Can add vertical rules to separate out horizontal regions of the graph
- `save_html` can now separate out the script and library components
  (for easier testing of new Typescript library features)

Signed-off-by: Matthew A Johnson <matjoh@microsoft.com>
2022-09-07 17:58:44 +01:00
Matthew A Johnson b7c73e424e
Adding Python PYI stubs (#45)
Point release adding stub files for all Python classes. (addresses #17)

New Features:

Stub files for all classes properly expose the docstrings in VS Code and other
editors, thus making development in Python considerably easier.
2022-08-30 09:45:01 +01:00
Matthew A Johnson 4f3731e734
Web examples (#44)
* Adding code to generate web examples

Signed-off-by: Matthew Johnson (MSRC) <matjoh@microsoft.com>

* Bumping the version

Signed-off-by: Matthew Johnson (MSRC) <matjoh@microsoft.com>

* Adding more linting

Signed-off-by: Matthew Johnson (MSRC) <matjoh@microsoft.com>

Signed-off-by: Matthew Johnson (MSRC) <matjoh@microsoft.com>
2022-08-25 17:30:51 +01:00
Matthew A Johnson 64ce0124ec
Updating NPM dependencies (#42)
* Bumping npm package versions

* Bumping the version

* Adding exorcist back in

* Adding a brief comment
2022-08-24 14:29:01 +01:00
Matthew A Johnson ced3439e9b Fixing missing symbol error 2022-07-06 10:43:10 +01:00
Tom Cashman e89c6338db
Address issue with binding for numpy 1.23.0 by updating pybind11 (#35)
Matthew OOF, merging to get the fix for numpy binding issue.
2022-07-01 09:53:12 +01:00
Matthew A Johnson a6abfebbbb
Npm/update to 811 (#33)
* Bump minimist from 1.2.5 to 1.2.6

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating NPM to 8.11.0

* Removing 3.6, adding 3.10

* Bumping the visual studio version

* Typo

* Bumping cibuildwheels version

* Addressing issues with numpy 3.10 x86

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-20 13:19:54 +01:00
Matthew A Johnson 71dcdb3a4c
Version 1.0.7 Mesh Update improvements (#29)
Point release improving `MeshUpdate` thus adding the ability to update colors
per frame along with some minor additions.

New Features:
- Can now updated colors per frame for both meshes and instanced meshes
- `quaternion_multiply` adds the long-missing code to combine quaternion rotations
- `Camera.orbit` creates a sequence of orbiting cameras around a central point

Deprecation:
- `update_mesh_without_normals` has been deprecated in favor of the new method
  `update_mesh_positions`
2022-02-10 13:33:40 +00:00
Matthew A Johnson 783a036195
New camera control mode (#25)
Point release adding new camera mode as well as some improvements.

Improvements:

There is now a new camera control mode, "First Person", accessible by pressing Tab, which enables mouse-look and wasdqe movement controls (closes Support wasdqe keyboard shortcuts for translating the camera #22). The old mode, now called "Focus", is still available as the default.
Font scale is now configurable on VideoWriter
There is now a "reset camera" button on the control bar so that users without a keyboard can reset camera position
2021-12-11 00:57:17 +00:00
Matthew A Johnson 500c19ca8b
Features/frame settings (#23)
Point release adding per-frame layer settings.
2021-11-16 15:00:35 +00:00
Matthew A Johnson eed95135ce
Features/video text (#20)
* Adding text burning to the video writer

* Bumping the version

* Bumping package lock

* Minor change to wheels file

* Moving this out of the test directory
2021-11-02 12:56:46 +00:00
Matthew A Johnson f695a2916a
Bug fixes (#18)
* Updating homepage

* Addressing Issue #4

* Bumping the version

* Attempt at a fix for updating instanced meshes

* Adding tests and fixing bugs

* Updating changelog and release notes

* Trying to have pipelines install latest NPM

* [sigh]

* Bumping the whole NPM thing back for now
2021-10-26 22:01:03 +01:00
Matthew A Johnson a98d17af07
Hotfix/apple silicon builds (#14)
* Minor change to the docs

* Trying out this option for apple silicon support

* Bumping the version

* removing 3.6 mac testing

* Fixing C++/Python side of background color

* Making some UI changes

* Adding the ability to hide the status bar

* Fixing format errors
2021-10-20 23:24:51 +01:00
Matthew A Johnson be5f1760fb
addressing various items that did not make the 1.0.0 release (#12)
* Pointing back at main eigen repo

* Fixing the linting

* Minor changes

* Adding text OBJs

* Adding clang-format file

* Adding clang format file

* Adding first stab at clang-format integration

* Typo

* Applying clang format

* First attempt at a clang-format pipeline script

* Updating triggers

* Fixing triggers

* Updating the pipeline script

* Renaming the source folder

* Renaming the source folder

* Adding mesh info normals

* Finishing work on hello scenepic

* Adding comments

* Adding C++ version

* Putting color back + focus points

* Updating the IO test

* Fixing linux build

* Updating the release notes and changelog

* Potential fix for segfault issue

* Renaming compression test + potential fix

* Trying to track the problem down

* Moving things around in the README
2021-10-07 15:47:57 +01:00
Matthew Johnson (MSRC) 8ac35b1d93 initial commit 2021-10-04 15:56:28 +01:00