- How can I draw a complete rectangle with mesh?
- How can I draw a texture to a mesh properly?
- What are UV texture coordinates and how they work?
- How to apply physics to the mesh? (love.physics is encouraged)
Working with Meshes
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Working with Meshes
I'm a complete beginner when working with meshes. I don't know how it works and how it draws. I tried to learn about meshes by making some code, of course. I provided a LÖVE file attachment below. What I need to know are:
- Attachments
-
- Mesh.love
- (3.68 KiB) Downloaded 186 times
Re: Working with Meshes
Anyone? I really need the help to continue forward on my project. I searched through the internet but none of them is English-friendly (words that I don't understand). Any kind of answer is appreciated. You can answer only one of the questions.
Re: Working with Meshes
Well, there is a tutorial page which is pretty explanatory on that matter over here
https://love2d.org/wiki/love.graphics.newMesh
that should help you getting started
Then for custom meshes with different UV (texture) coordinates you should look at basics of UV mapping
https://love2d.org/wiki/love.graphics.newMesh
that should help you getting started
Then for custom meshes with different UV (texture) coordinates you should look at basics of UV mapping
Re: Working with Meshes
Ah, you know how stupid I am. I never realize that there's a code snippet at the bottom of the page. Thank you for your help!
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 1 guest