Skip to content

Volume quality slider#283

Merged
floryst merged 14 commits intoKitware:mainfrom
sankhesh:volume_quality_slider
Apr 19, 2023
Merged

Volume quality slider#283
floryst merged 14 commits intoKitware:mainfrom
sankhesh:volume_quality_slider

Conversation

@sankhesh
Copy link
Collaborator

@sankhesh sankhesh commented Feb 14, 2023

Fixes #277 and #248

@netlify
Copy link

netlify bot commented Feb 14, 2023

Deploy Preview for volview ready!

Name Link
🔨 Latest commit e5d11d5
🔍 Latest deploy log https://app.netlify.com/sites/volview/deploys/63eb9ed6df518a0008d25ec8
😎 Deploy Preview https://deploy-preview-283--volview.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@sankhesh sankhesh force-pushed the volume_quality_slider branch from 6bb070f to f796fb4 Compare February 14, 2023 14:44
@sankhesh
Copy link
Collaborator Author

@aylward PTAL

@sankhesh sankhesh force-pushed the volume_quality_slider branch from f796fb4 to e5d11d5 Compare February 14, 2023 14:46
@aylward
Copy link
Contributor

aylward commented Feb 14, 2023

Looks great! The slider has a noticeable impact - but is there a way to increase realism even further when the maximum quality is selected? On my old system, it is still quite fast on the maximum quality setting - and at that setting we can definitely take more time to do renderings if the quality can be improved.

@floryst floryst linked an issue Feb 22, 2023 that may be closed by this pull request
@sankhesh sankhesh force-pushed the volume_quality_slider branch from e5d11d5 to f112453 Compare April 16, 2023 04:33
@netlify
Copy link

netlify bot commented Apr 16, 2023

Deploy Preview for volview-dev ready!

Name Link
🔨 Latest commit 8b0900f
🔍 Latest deploy log https://app.netlify.com/sites/volview-dev/deploys/643eb817edcd0100086c7d06
😎 Deploy Preview https://deploy-preview-283--volview-dev.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@aylward
Copy link
Contributor

aylward commented Apr 16, 2023

Absolutely beautiful! And stable on my phone!

Screenshot_20230416-071951

@sankhesh
Copy link
Collaborator Author

@aylward What do you think? -

image

@sankhesh sankhesh mentioned this pull request Apr 17, 2023
@sankhesh sankhesh force-pushed the volume_quality_slider branch from 8cf0f63 to ef58654 Compare April 17, 2023 15:57
@aylward
Copy link
Contributor

aylward commented Apr 17, 2023

Thinking about this - I don't think the quality is ever "low"

How about
Good - Better - Ultra - Experimental

One issue also is that there isn't much (enough) space between Ultra and Experimental in the about figure - looks like one label "Ultra Experimental"

Perhaps change Experimental to Beta?

Good - Better - Ultra - Beta

?

@sankhesh sankhesh force-pushed the volume_quality_slider branch from ef58654 to 9c07a31 Compare April 17, 2023 22:47
@sankhesh
Copy link
Collaborator Author

@aylward Good to merge?

Copy link
Contributor

@aylward aylward left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!!!!

Perhaps the "Don't show again" button could be shown in a different color or have a stronger outline around the button? It is a little hard to tell it is a button on my display.

@sankhesh sankhesh force-pushed the volume_quality_slider branch from 0455edb to 35a0502 Compare April 18, 2023 15:20
@sankhesh sankhesh force-pushed the volume_quality_slider branch from 20782e4 to 8b0900f Compare April 18, 2023 15:32
Comment on lines +56 to +57
const lightingModel = ref<keyof typeof LIGHTING_MODELS>('hybrid');
const selectLightingMode = (buttonTxt: string) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here is a stronger and more succinct typing for selectLightingMode:

Suggested change
const lightingModel = ref<keyof typeof LIGHTING_MODELS>('hybrid');
const selectLightingMode = (buttonTxt: string) => {
type LightingModel = keyof typeof LIGHTING_MODELS;
const lightingModel = ref<LightingModel>('hybrid');
const selectLightingMode = (buttonTxt: LightingModel) => {

@floryst
Copy link
Contributor

floryst commented Apr 18, 2023

Here is an idea I think would be good to have, but we can do this after this PR is merged: we can have a question mark icon that, when clicked, goes to a page in our documentation that explains what it means when we way "Ultra / Beta is unstable on some systems".

@aylward
Copy link
Contributor

aylward commented Apr 18, 2023 via email

@sankhesh sankhesh added this pull request to the merge queue Apr 19, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Apr 19, 2023
@sankhesh
Copy link
Collaborator Author

@floryst @aylward How do I bypass the merge queue? I just a see a button Merge when ready and it keeps waiting for the two jobs that don't have anything to do.

@floryst
Copy link
Contributor

floryst commented Apr 19, 2023

I just enabled merge queues in VolView to trial this feature. I think it's not fully set up yet. I'll handle it.

@floryst floryst added this pull request to the merge queue Apr 19, 2023
Merged via the queue into Kitware:main with commit 71d69c5 Apr 19, 2023
PaulHax pushed a commit to PaulHax/VolView that referenced this pull request Apr 24, 2025
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.

3D sample distance slider

4 participants