Search found 58 matches
- Wed Apr 27, 2016 7:48 pm
- Forum: Support and Development
- Topic: 3D rotation
- Replies: 3
- Views: 2666
Re: 3D rotation
I think in your transformation code you can move your cube to origin (0,0,0), then rotate it around desired axis and then move back to the point where it was.
- Wed Apr 27, 2016 10:19 am
- Forum: Support and Development
- Topic: Problem with normal mapping
- Replies: 6
- Views: 3236
Re: Problem with normal mapping
Couldn't get your love file to work, it says err.png However, i think you dont really need to draw anything simultaneously. If i get things correctly, you calculate your diffuse in your shader and then draw it as final image. Here is my old code with normal mapping experiments, hope it helps. You ca...
- Tue Apr 26, 2016 11:06 pm
- Forum: Support and Development
- Topic: SpriteBatch:attachAttribute() and geometry instancing [SOLVED]
- Replies: 2
- Views: 1753
Re: SpriteBatch:attachAttribute() and geometry instancing
Have you ever thought about bringing your sprite to front or to back relatively to another sprite? Well, now you can. In the example below, when you use function swapSpriteGeometry() you can switch two sprites with each other and it will bring one to front and one to back without re-creating them. l...
- Tue Apr 26, 2016 5:30 pm
- Forum: Support and Development
- Topic: SpriteBatch:attachAttribute() and geometry instancing [SOLVED]
- Replies: 2
- Views: 1753
Re: SpriteBatch:attachAttribute() and geometry instancing
I think i actually made it to work the way i want. However shearing is still unavailable, but feel free to modify code to add shear transormation - i personally have never used it. Previously i've been asked about why i need anything like that (geometry instancing) in LÖVE, here is an example video:...
- Tue Apr 26, 2016 12:45 pm
- Forum: Support and Development
- Topic: Working with Meshes
- Replies: 3
- Views: 3422
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 images_9_98_VoiceMaze_UV_coord...
- Tue Apr 26, 2016 10:22 am
- Forum: Support and Development
- Topic: SpriteBatch:attachAttribute() and geometry instancing [SOLVED]
- Replies: 2
- Views: 1753
SpriteBatch:attachAttribute() and geometry instancing [SOLVED]
I'm currently excited about SpriteBatch:attachAttribute function and i'm trying to mock-up some kind of silly mesh instancing based on that function. Now, while attaching VertexColor attribute works completely as i was expecting (i created helper class which allows me to change colors of already exi...
- Fri Mar 25, 2016 3:02 pm
- Forum: Libraries and Tools
- Topic: Tiled noise blender
- Replies: 2
- Views: 2176
Re: Tiled noise blender
I thought about that, and i also, while creating this and that particle editor, thought that it would be nice to create full-blown (full-half-blown) automated material editor for all kinds of things (textures, particles, scripted special effects etc), however both tools are created part on a whim, p...
- Fri Mar 25, 2016 9:39 am
- Forum: Libraries and Tools
- Topic: Tiled noise blender
- Replies: 2
- Views: 2176
Tiled noise blender
I've been playing around with noise texture generation, to create them tiled out of nothing and came up with another mess of a helper class. Many of you probably tried to use built in noise function to generate values, however i found that "as it is" its not that easy to make it tileable i...
- Sat Jan 30, 2016 9:44 pm
- Forum: Libraries and Tools
- Topic: APE (Another Particle Editor) for LÖVE2D
- Replies: 21
- Views: 32596
Re: APE (Another Particle Editor) for LÖVE2D
Thanks, fixed that. getImage() no longer a method in particle system, now it should work when you use quads.
- Sat Jan 30, 2016 8:33 pm
- Forum: Libraries and Tools
- Topic: APE (Another Particle Editor) for LÖVE2D
- Replies: 21
- Views: 32596
Re: APE (Another Particle Editor) for LÖVE2D
Glad to see this thing gets feedback, thanks! I've updated some code to address some issues stated here. Thanks, I just tried it. A couple of gui elements seem to be broken, in the wrong place or not reacting but for the most part it works. Some of the math is also broken, some numbers can not be re...