-
Notifications
You must be signed in to change notification settings - Fork 0
Feat camera and render now #71
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
Merged
Merged
Changes from 2 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
72763bf
feat(New RPCs): Added update_camera & render_now
SpliiT 6feda1f
rm assert false
SpliiT 0f75aac
pull from next
SpliiT d685b6c
Apply prepare changes
SpliiT b6847ab
rm bool_render
SpliiT a592b35
rm bool render
SpliiT e3ff63b
Apply prepare changes
SpliiT 1d46ddf
view -1
SpliiT 98ae5f5
Merge branch 'feat_camera_and_render_now' of https://github.com/Geode…
SpliiT 0d6e030
publisher & schemas
JulienChampagnol b0c0577
cleanup & refactor
JulienChampagnol 46aa313
Apply prepare changes
JulienChampagnol 8df62e7
cleanup
JulienChampagnol f680570
Merge branch 'feat_camera_and_render_now' of https://github.com/Geode…
JulienChampagnol File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
src/opengeodeweb_viewer/rpc/viewer/schemas/render_now.json
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "rpc": "render_now", | ||
| "type": "object", | ||
| "properties": { | ||
| "view": { | ||
| "type": "integer", | ||
| "default": -1 | ||
| } | ||
| }, | ||
| "required": [] | ||
| } |
58 changes: 58 additions & 0 deletions
58
src/opengeodeweb_viewer/rpc/viewer/schemas/update_camera.json
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| { | ||
| "rpc": "update_camera", | ||
| "type": "object", | ||
| "properties": { | ||
| "camera_options": { | ||
| "focal_point": { | ||
| "type": "array", | ||
| "items": { | ||
| "type": "number" | ||
| }, | ||
| "minItems": 3, | ||
| "maxItems": 3 | ||
| }, | ||
| "view_up": { | ||
| "type": "array", | ||
| "items": { | ||
| "type": "number" | ||
| }, | ||
| "minItems": 3, | ||
| "maxItems": 3 | ||
| }, | ||
| "position": { | ||
| "type": "array", | ||
| "items": { | ||
| "type": "number" | ||
| }, | ||
| "minItems": 3, | ||
| "maxItems": 3 | ||
| }, | ||
| "view_angle": { | ||
| "type": "number" | ||
| }, | ||
| "clipping_range": { | ||
| "type": "array", | ||
| "items": { | ||
| "type": "number" | ||
| }, | ||
| "minItems": 2, | ||
| "maxItems": 2 | ||
| }, | ||
| "required": [ | ||
| "focal_point", | ||
| "view_up", | ||
| "position", | ||
| "view_angle", | ||
| "clipping_range" | ||
| ] | ||
| }, | ||
| "bool_render": { | ||
| "type": "boolean", | ||
| "default": true | ||
| } | ||
| }, | ||
| "required": [ | ||
| "camera_options", | ||
| "bool_render" | ||
| ] | ||
| } | ||
This file contains hidden or 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.