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
Revert "Support calculating normals for indexed meshes" #12716
Labels
A-Rendering
Drawing game state to the screen
C-Bug
An unexpected or incorrect behavior
D-Trivial
Nice and easy! A great choice to get started with Bevy
Milestone
Comments
alice-i-cecile
added
C-Bug
An unexpected or incorrect behavior
A-Rendering
Drawing game state to the screen
D-Trivial
Nice and easy! A great choice to get started with Bevy
labels
Mar 25, 2024
Is this supposed to have separate |
adithramachandran
added a commit
to adithramachandran/bevy-fork-dev
that referenced
this issue
May 12, 2024
…2716) # Objective - Refactor the changes merged in bevyengine#11654 to compute flat normals for indexed meshes instead of smooth normals. ## Solution - Partially revert the changes in bevyengine#11654 to compute flat normals for both indexed and unindexed meshes in `compute_flat_normals` - Create a new method, `compute_smooth_normals`, that computes smooth normals for indexed meshes - Create a new method, `compute_normals`, that computes smooth normals for indexed meshes and flat normals for unindexed meshes by default. Use this new method instead of `compute_flat_normals`. ## Testing - Run the example with and without the changes to ensure that the results are identical.
adithramachandran
added a commit
to adithramachandran/bevy-fork-dev
that referenced
this issue
May 12, 2024
…2716) # Objective - Refactor the changes merged in bevyengine#11654 to compute flat normals for indexed meshes instead of smooth normals. ## Solution - Partially revert the changes in bevyengine#11654 to compute flat normals for both indexed and unindexed meshes in `compute_flat_normals` - Create a new method, `compute_smooth_normals`, that computes smooth normals for indexed meshes - Create a new method, `compute_normals`, that computes smooth normals for indexed meshes and flat normals for unindexed meshes by default. Use this new method instead of `compute_flat_normals`. ## Testing - Run the example with and without the changes to ensure that the results are identical.
adithramachandran
added a commit
to adithramachandran/bevy-fork-dev
that referenced
this issue
May 12, 2024
…2716) # Objective - Refactor the changes merged in bevyengine#11654 to compute flat normals for indexed meshes instead of smooth normals. ## Solution - Partially revert the changes in bevyengine#11654 to compute flat normals for both indexed and unindexed meshes in `compute_flat_normals` - Create a new method, `compute_smooth_normals`, that computes smooth normals for indexed meshes - Create a new method, `compute_normals`, that computes smooth normals for indexed meshes and flat normals for unindexed meshes by default. Use this new method instead of `compute_flat_normals`. ## Testing - Run the example with and without the changes to ensure that the results are identical.
adithramachandran
added a commit
to adithramachandran/bevy-fork-dev
that referenced
this issue
May 14, 2024
…2716) # Objective - Refactor the changes merged in bevyengine#11654 to compute flat normals for indexed meshes instead of smooth normals. ## Solution - Partially revert the changes in bevyengine#11654 to compute flat normals for both indexed and unindexed meshes in `compute_flat_normals` - Create a new method, `compute_smooth_normals`, that computes smooth normals for indexed meshes - Create a new method, `compute_normals`, that computes smooth normals for indexed meshes and flat normals for unindexed meshes by default. Use this new method instead of `compute_flat_normals`. ## Testing - Run the example with and without the changes to ensure that the results are identical.
github-merge-queue bot
pushed a commit
that referenced
this issue
May 16, 2024
…add support for calculating smooth normals (#13333) # Objective - Refactor the changes merged in #11654 to compute flat normals for indexed meshes instead of smooth normals. - Fixes #12716 ## Solution - Partially revert the changes in #11654 to compute flat normals for both indexed and unindexed meshes in `compute_flat_normals` - Create a new method, `compute_smooth_normals`, that computes smooth normals for indexed meshes - Create a new method, `compute_normals`, that computes smooth normals for indexed meshes and flat normals for unindexed meshes by default. Use this new method instead of `compute_flat_normals`. ## Testing - Run the example with and without the changes to ensure that the results are identical.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-Rendering
Drawing game state to the screen
C-Bug
An unexpected or incorrect behavior
D-Trivial
Nice and easy! A great choice to get started with Bevy
Originally posted by @IceSentry in #11654 (comment)
The text was updated successfully, but these errors were encountered: