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

Expose debug rendering functionality #1016

Closed
mvaligursky opened this issue Apr 24, 2023 · 6 comments
Closed

Expose debug rendering functionality #1016

mvaligursky opened this issue Apr 24, 2023 · 6 comments

Comments

@mvaligursky
Copy link

expose functionality from this engine PR
playcanvas/engine#5261

image

@jiajasper for UX design.

@kpal81xd
Copy link

kpal81xd commented Dec 20, 2023

So i was initially thinking of something like this where you would add a property to the camera component as an alternative for adding a new menu in the launcher or viewport since that requires an additional select menu to manage each cameras shader pass

image

image

@mvaligursky
Copy link
Author

I think we care about rendering inside the Editor's viewport only, using Editor's camera. We do not need to handle camera's in the launcher / game, as those are owned by the user, and they can implement debug rendering themselves if they need to.

And so I think maybe we need a drop down on top of the 3d view in the Editor, perhaps directly left of the Perspective dropdown?
Screenshot 2023-12-20 at 13 57 00

@Maksims
Copy link

Maksims commented Dec 20, 2023

I think we care about rendering inside the Editor's viewport only, using Editor's camera. We do not need to handle camera's in the launcher / game, as those are owned by the user, and they can implement debug rendering themselves if they need to.

And so I think maybe we need a drop down on top of the 3d view in the Editor, perhaps directly left of the Perspective dropdown? Screenshot 2023-12-20 at 13 57 00

It can be as an icon with a drop-down just like perspective drop down would be amazing!

@kpal81xd
Copy link

Sounds ill get started on a PR for that!

@willeastcott
Copy link
Contributor

The question is....what icon would it be? 🤔

@mvaligursky
Copy link
Author

I just realised. If we have the Editor camera selected, this will be only visible in the Editor. But if in the Editor you select a game camera to be active, this will be reflected in the launcher as well! That'd be so awesome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants