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

[Feature request] Add semi-transparent reference plane at XY intersection #330

Open
RobLinkA opened this issue Dec 11, 2024 · 13 comments
Open

Comments

@RobLinkA
Copy link

To improve the spatial orientation when adjusting 3D models, it would be helpful to add a semi-transparent reference plane option at the XY axes intersection:

Current situation:

  • Grid lines are available at the XY intersection
  • While helpful, grid lines alone sometimes don't provide enough visual reference

Proposed feature:

  • Add an optional semi-transparent plane at the XY intersection
  • The plane would complement the existing grid
  • Transparency would allow visibility of elements behind the plane
  • Could be toggled on/off like the grid

Benefits:

  • Better visual reference for horizontal alignment
  • Easier to judge model position relative to the ground plane
  • More intuitive spatial orientation when rotating or positioning models

This would be particularly useful when:

  • Adjusting model height
  • Ensuring proper horizontal orientation
  • Positioning multiple models relative to each other
@simonbethke
Copy link
Contributor

Yea, sounds easy to implement and honestly, this could really be helpful. :)

@slimbuck
Copy link
Member

Just to confirm, I imagine adding 3 toggles, one for controlling each grid plane (xy, xz, yz) - does that sound right?

@RobLinkA
Copy link
Author

I think firstly just xy grid plane will be fine :-)

@RobLinkA
Copy link
Author

And the toggle name could be like "Ground Plane"

@slimbuck
Copy link
Member

Oh wait I do misunderstand.

You would like to augment the existing grid to make it slightly semitransparent so that it's easier to judge the height of the model you're editing.

Is that right?

@slimbuck
Copy link
Member

(BTW small thing, the grid is in the XZ plane :) )

@slimbuck
Copy link
Member

slimbuck commented Dec 12, 2024

I actually love this idea @RobLinkA (if I understand you correctly). Having an accurate semitransparent plane to aid in placement could really help.

Believe it or not, such a thing wouldn't be super straightforward to implement, because splats are semitransparent themselves and of course rendering multiple different overlapping semitransparent stuff is usually a huge pain.

I think I might be able to do something in the splat shader itself though. I will give it a try when I have time.

Thanks so much for the suggestion!

@RobLinkA
Copy link
Author

RobLinkA commented Dec 12, 2024

Yes, this will help a lot!
For example, if I want to check whether this surface is horizontal, it is not accurate to just look at the coordinate axis position. If there is a translucent plane, it can help me confirm more accurately.
20241212173204

@simonbethke
Copy link
Contributor

A slightly different Idea that could do the same job would be to project some kind of shadow on the xy-plane.
(and in a later iteration 1-2 years from now, I would like to have multiple views at the same time. So I can have an orthographic side-view... however, shortterm we do need the XY-Axis to be shown in orthographic side views)

@RobLinkA
Copy link
Author

Yeah orthographic side-view is the best solution

@simonbethke
Copy link
Contributor

simonbethke commented Dec 12, 2024

There is an orthographic side view... you have to click the labels here:
image

it just doesn't show where the ground is at all...

@RobLinkA
Copy link
Author

Besides the XZ plane, I think the Y axis can add another vertical line. So that I can get a stable center line when the model rotates, making the animation smoother and more stable. For models such as human characters, it can also help confirm whether the axis passes through the center of head.
20241217012847

@slimbuck
Copy link
Member

BTW the grid is now rendered in the ortho views #354 too.

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

3 participants