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

Add pipeline args util class #426

Merged
merged 2 commits into from
Jun 17, 2024

Conversation

anishmgoyal
Copy link
Collaborator

@anishmgoyal anishmgoyal commented Feb 13, 2024

Utility for creating graphics pipelines. This class creates descriptors for shader inputs (standard material, unlit material, error material, debug material). It also creates samplers, etc, to simplify the creation of graphics pipelines.

footballhead added a commit to footballhead/bigwheels that referenced this pull request Apr 15, 2024
I added an ArcballCamera to google#428 and noticed that it wasn't working as
expected.

ArcballCamera wasn't updating mViewProjectionMatrix after modifying
mViewMatrix. This was causing the ArcballCamera to not work correctly
when combined with the classes introduced in google#426.
footballhead added a commit to footballhead/bigwheels that referenced this pull request Apr 15, 2024
I added an ArcballCamera to google#428 and noticed that it wasn't working as
expected.

ArcballCamera wasn't updating mViewProjectionMatrix after modifying
mViewMatrix. This was causing the ArcballCamera to not work correctly
when combined with the classes introduced in google#426.
apazylbe pushed a commit to footballhead/bigwheels that referenced this pull request Apr 17, 2024
I added an ArcballCamera to google#428 and noticed that it wasn't working as
expected.

ArcballCamera wasn't updating mViewProjectionMatrix after modifying
mViewMatrix. This was causing the ArcballCamera to not work correctly
when combined with the classes introduced in google#426.
Keenuts pushed a commit that referenced this pull request Apr 17, 2024
I added an ArcballCamera to #428 and noticed that it wasn't working as
expected.

ArcballCamera wasn't updating `mViewProjectionMatrix` after modifying
`mViewMatrix`. This was causing the ArcballCamera to not work correctly
when combined with the classes introduced in #426.
include/ppx/scene/scene_pipeline_args.h Outdated Show resolved Hide resolved
include/ppx/scene/scene_pipeline_args.h Outdated Show resolved Hide resolved
include/ppx/scene/scene_pipeline_args.h Outdated Show resolved Hide resolved
include/ppx/scene/scene_pipeline_args.h Show resolved Hide resolved
src/ppx/scene/scene_pipeline_args.cpp Outdated Show resolved Hide resolved
@apazylbe apazylbe requested review from Keenuts and removed request for chaoticbob May 8, 2024 15:14
@Keenuts
Copy link
Member

Keenuts commented May 13, 2024

I think this should be tested in some way before we merge it.
Would it be possible to use this in one of the samples (or copy a sample and convert is to use this) so we can at least have some "coverage"?

@apazylbe
Copy link
Collaborator

apazylbe commented Jun 7, 2024

I think this should be tested in some way before we merge it. Would it be possible to use this in one of the samples (or copy a sample and convert is to use this) so we can at least have some "coverage"?

@footballhead Does your sample use the changes in this PR?

@footballhead
Copy link
Collaborator

I think this should be tested in some way before we merge it. Would it be possible to use this in one of the samples (or copy a sample and convert is to use this) so we can at least have some "coverage"?

@footballhead Does your sample use the changes in this PR?

Yes. It's also used in #428 so that might be worth reviewing and checking in.

@apazylbe
Copy link
Collaborator

Any objections to merging this?

anishmgoyal and others added 2 commits June 17, 2024 09:58
Co-authored-by: Hai Nguyen <chaoticbob@users.noreply.github.com>
Co-authored-by: Aliya Pazylbekova <apazylbe@users.noreply.github.com>
@apazylbe apazylbe merged commit baf1e4a into google:main Jun 17, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants