aboutsummaryrefslogtreecommitdiff
path: root/src/mesh.h
AgeCommit message (Collapse)Author
2017-12-04Use Irrlicht's mesh cache for animated meshes.Lars Hofhansl
Fixes #6676. Allow animated meshes to be cached in Irrlicht's builtin mesh cache. Use Material.EmmissiveColor instead of manipulating the mesh' vertex colors.
2017-08-17C++ modernize: Pragma once (#6264)Loïc Blot
* Migrate cpp headers to pragma once
2017-06-01Do not shade inventory items with textures (#5869)Dániel Juhász
This commit restores the old behavior: if an inventory item has an own inventory texture, it will not be shaded.
2017-04-22Fix a memory leak (#5636)Dániel Juhász
2017-04-21Soft node overlay (#5186)Dániel Juhász
This commit adds node overlays, which are tiles that are drawn on top of other tiles.
2017-01-23Add hardware node coloring. Includes:Dániel Juhász
- Increase ContentFeatures serialization version - Color property and palettes for nodes - paramtype2 = "color", "colored facedir" or "colored wallmounted"
2016-11-12Halo: Highlight selected faceRealBadAngel
This is a slightly modified and cleaned up version of #3774 by RealBadAngel. By sofar: Remove color change (just make it lighter) and some minor cleanups.
2016-02-11Use single box for halo meshRealBadAngel
2016-02-08Cleanup selection mesh code, add shaders for halo and selection boxesRealBadAngel
2015-07-21Add wielded (and CAOs) shaderRealBadAngel
2014-11-23Port createForsythOptimizedMesh from Irrlicht 1.8RealBadAngel
Mesh rotation helpers.
2014-11-08Implement WieldMeshSceneNode which improves wield mesh renderingKahrl
- Don't create and cache an extruded mesh for every (non-node) item. Instead use a single one per image resolution. - For cubic nodes reuse a single wield mesh too - Improve lighting of the wielded item - Increase far value of wield mesh scene camera, fixes #1770 - Also includes some minor refactorings of Camera and GenericCAO.
2014-10-18Add meshnode drawtype.RealBadAngel
2013-07-03Move generateTextureFromMesh to TextureSource to fix a texture leakKahrl
TextureSource has a list of textures to delete (m_texture_trash) so this provides a proper, non-hacky way to delete RTT textures. Also, the prior, hacky way of deleting them seems to be broken (see pull request #803). To avoid header file clutter by repeating the same long list of arguments over and over again, store the arguments of generateTextureFromMesh in a struct called TextureFromMeshParams. Also fix issue #782 (Only use bilinear (and others) on item textures when settings allow it).
2013-02-24Update Copyright YearsSfan5
2013-02-24Change Minetest-c55 to MinetestPilzAdam
2012-06-17Optimize headersPerttu Ahola
2012-06-05Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola
GPLv2/later, by agreement of major contributors
2012-01-12The huge item definition and item namespace unification patch (itemdef), see ↵Kahrl
http://c55.me/minetest/wiki/doku.php?id=changes:itemdef
2011-12-03inventorycube: use all three specified textures; also moved mesh creation / ↵Kahrl
modification functions to mesh.cpp; in lua, inventorycube is now called minetest.inventorycube