Skip to content

Curious to know how you created the blue rectangular box around the 3D object #283

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

Open
Pravithaks opened this issue May 2, 2025 · 1 comment

Comments

@Pravithaks
Copy link

Image
Hi,
I would like to know how you created this blue box shown in this image? I have checked multiple scripts such as VolumeRenderedObject.cs, DirectVolumeRenderingShader.shader, SlicerRenderingEditorWindow.cs to get the information regarding the rectangle. If you could share it, that would be helpful.

Looking forward to hearing from you soon.

@mlavik1
Copy link
Owner

mlavik1 commented May 6, 2025

Hi!

Good question, I had already forgotten about that one 😅
It's actually quite simple, it's just a textured material, using a texture that has green colour on the edges.

Image

It's using the CrossSectionPlane.shader, which basically just applies a texture.

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

No branches or pull requests

2 participants