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 an example that demonstrates how to set the texture of 3D meshes from images #4922

Closed
alice-i-cecile opened this issue Jun 4, 2022 · 0 comments · Fixed by #8909
Closed
Labels
A-Rendering Drawing game state to the screen C-Examples An addition or correction to our examples

Comments

@alice-i-cecile
Copy link
Member

How can Bevy's documentation be improved?

The existing texture example is very basic, and only shows how to set these up with simple colors.

We should demonstrate how to use custom images (and define a UV mapping). The 3D use of a TextureAtlas may also make sense in this example.

Prompted by this Discord help thread.

@alice-i-cecile alice-i-cecile added A-Rendering Drawing game state to the screen C-Examples An addition or correction to our examples labels Jun 4, 2022
github-merge-queue bot pushed a commit that referenced this issue Jun 23, 2023
…h (generate_custom_mesh) solve #4922 (#8909)

# Objective

- Fixes #4922

## Solution

- Add an example that maps a custom texture on a 3D mesh.

---

## Changelog

> Added the texture itself (confirmed with mod on discord before it
should be ok) to the assets folder, added to the README and Cargo.toml.

---------

Co-authored-by: Nicola Papale <nicopap@users.noreply.github.com>
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
Co-authored-by: Sélène Amanita <134181069+Selene-Amanita@users.noreply.github.com>
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-Examples An addition or correction to our examples
Projects
None yet
1 participant