Skip to content
Snippets Groups Projects
  1. Nov 25, 2012
    • MirceaKitsune's avatar
      Allow the LUA API to set animations to meshes as well as the animation speed.... · fb0c4318
      MirceaKitsune authored
      Allow the LUA API to set animations to meshes as well as the animation speed. Also update animations only when needed.
      
      Support for animation blending, though for some reason it doesn't work.
      
      Don't enable animation transitions by default for many reaosons
      
      Object property to store individual bone positions. LUA can specify a bone name followed by a bone position. No functionality yet. Bone rotation to be added in the following commit
      
      Same system for bone rotation, plus a few other things I missed
      fb0c4318
    • MirceaKitsune's avatar
      Get the mesh working through the memory cache properly. Most credit goes to... · 9c8ba427
      MirceaKitsune authored
      Get the mesh working through the memory cache properly. Most credit goes to celeron55 for the help on this code
      
      Get the texture from memory as well
      
      Add .x to the list of supported formats
      
      Update LUA API documentation
      9c8ba427
    • MirceaKitsune's avatar
      Add a subfolder for models and transfer models from server to client · f9675bd2
      MirceaKitsune authored
      (obj, md2 and md3 are currently allowed)
      
      Get rid of the texture string and use the existing textures array. Segmented meshes have multiple materials, and this will allow us to texture each. Do not switch to this commit yet!
      
      If a texture string is left empty in LUA, don't modify that material. Useful so a script can change specific textures without affecting others
      f9675bd2
    • MirceaKitsune's avatar
      Fix material properties and allow lighting. Models should now be affected by... · cb40b351
      MirceaKitsune authored
      Fix material properties and allow lighting. Models should now be affected by light instead of being black
      cb40b351
    • MirceaKitsune's avatar
      Properly read the mesh from LUA. · 0a020dbc
      MirceaKitsune authored
      Players can now be set to meshes using the following test script:
      
      function switch_player_visual()
      		prop = {
      			mesh="player.obj",
      			texture="player.png",
      			visual="mesh",
      		}
      	for _, obj in pairs(minetest.get_connected_players()) do
      		obj:set_properties(prop)
      	end
      	minetest.after(1.0, switch_player_visual)
      end
      minetest.after(1.0, switch_player_visual)
      0a020dbc
    • MirceaKitsune's avatar
      3D model support for players using Irrlicht. Also ready the basis for mesh... · ac97a7f7
      MirceaKitsune authored
      3D model support for players using Irrlicht. Also ready the basis for mesh support on nodes / items via LUA (to be done). Supports any mesh format compatible with Irrlicht, but animations are not set up yet.
      ac97a7f7
    • Perttu Ahola's avatar
      Revert "Don't leak textures all over the place" · e02b9574
      Perttu Ahola authored
      This causes textures to be deleted before they are no longer accessed,
      resulting in a segmentation fault. This needs to be rewritten in such a way
      that textures are deleted when the client disconnects from a server.
      
      This reverts commit 41c00e87.
      e02b9574
  2. Nov 22, 2012
  3. Nov 10, 2012
  4. Nov 09, 2012
  5. Nov 08, 2012
  6. Nov 04, 2012
  7. Nov 02, 2012
  8. Oct 18, 2012
  9. Sep 09, 2012
  10. Sep 07, 2012
  11. Sep 05, 2012
  12. Sep 04, 2012
  13. Sep 03, 2012
  14. Sep 02, 2012
  15. Sep 01, 2012
Loading