3546 Commits

Author SHA1 Message Date
MirceaKitsune
664c7ff455 Joint positioning and rotation code, and fix a problem related to their lua API
Attempt to move the animation system to a more correct implementation, rather than using object properties. Incomplete and breaks functionality
2012-11-25 18:14:15 +02:00
MirceaKitsune
4e83886061 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
2012-11-25 18:14:15 +02:00
MirceaKitsune
2c87133e8c 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
2012-11-25 18:14:15 +02:00
MirceaKitsune
0d72b91382 Add a subfolder for models and transfer models from server to client
(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
2012-11-25 18:14:15 +02:00
MirceaKitsune
cee30c1091 Fix material properties and allow lighting. Models should now be affected by light instead of being black 2012-11-25 18:14:15 +02:00
MirceaKitsune
4576c01cb0 Properly read the mesh from LUA.
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)
2012-11-25 18:14:14 +02:00
MirceaKitsune
b87ab1926a 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. 2012-11-25 18:14:14 +02:00
Perttu Ahola
8d2b80dc17 Revert "Don't leak textures all over the place"
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 41c00e87d42580881d8c7001f39014814e3b55f2.
2012-11-25 16:39:07 +02:00
Ilya Zhuravlev
968351bf5f Fix trees growing into any type of node 2012-11-23 00:36:52 +04:00
xyzz
afc89f1f90 Merge pull request #268 from khonkhortisan/image_button
Allow transparent image_buttons
2012-11-22 09:13:18 -08:00
Anthony
0306947694 Fix server crash on /clearpassword
According to #253, using `/clearpassword` without an argument causes the server to crash from an assertion failure. I've resubmitted matttpt's patch as a pull request to aid in merging.
2012-11-20 16:45:30 +01:00
MirceaKitsune
6887d6a0b2 Add anaglyph settings to minetest.conf.example 2012-11-13 19:21:18 +02:00
MirceaKitsune
a700cf2de6 Default anaglyph to 0.1 2012-11-13 19:20:57 +02:00
MirceaKitsune
c3970c90a6 Anaglyph stereo support, created by xyz 2012-11-13 19:20:35 +02:00
xyzz
08cfea2bb6 Merge pull request #284 from RealBadAngel/master
Adding backgrounds to formspec
2012-11-12 11:50:58 -08:00
PilzAdam
65e8d20a57 Merge pull request #286 from PilzAdam/digging_animation
Add jordan4ibanez' better digging animation
2012-11-10 10:33:16 -08:00
PilzAdam
2f079e23fa Add jordan4ibanez' better digging animation 2012-11-10 17:36:56 +01:00
Vanessa Ezekowitz
dec99064c1 added GUI checkboxes in Settings tab for the aforementioned video settings. 2012-11-09 19:12:49 +02:00
Vanessa Ezekowitz
da8452a640 Added video settings filter options via config file - second try :-)
Set one or more of these in the config to turn the related option on:

mip_map = 1
anisotropic_filter = 1
bilinear_filter = 1
trilinear_filter = 1
2012-11-09 19:12:44 +02:00
Perttu Ahola
16f2e7c5cc Fix unnecessary network protocol incompatibility in ContentFeatures 2012-11-08 20:43:32 +02:00
RealBadAngel
4bafba37ac Adding background to Formspec 2012-11-08 19:22:37 +01:00
PilzAdam
1eacfbe7b4 Merge pull request #279 from RealBadAngel/patch-2
Formspec: Draw images before inventories. Allows to use image as backgro...
2012-11-05 08:12:12 -08:00
RealBadAngel
3e5fcb21ee Formspec: Draw images before inventories. Allows to use image as background. 2012-11-04 21:18:28 +01:00
PilzAdam
4a95515070 Merge pull request #274 from PilzAdam/falling
Fix a bug in falling code where entities get stuck
2012-11-03 15:14:14 -07:00
PilzAdam
b7200968fb Merge pull request #243 from xyzz/liquid_renewable
Add liquid_renewable property, allow non-renewable liquids.
2012-11-03 12:34:44 -07:00
PilzAdam
0299db1943 Merge pull request #273 from PilzAdam/air
Make air and ignore drop nothing
2012-11-03 10:36:46 -07:00
PilzAdam
dd9b654d7f Make air and ignore drop nothing 2012-11-03 18:29:01 +01:00
PilzAdam
addc8e7486 Fix a bug in falling code where entities get stuck 2012-11-03 18:07:49 +01:00
Kahrl
76aaeb827b Don't leak textures all over the place 2012-11-02 18:45:39 +02:00
Perttu Ahola
bee83c1cd8 Fix flowing liquid animation direction calculation 2012-11-02 18:05:42 +02:00
PilzAdam
fea339e881 Merge pull request #272 from PilzAdam/pow
Replace pow() with multiplikation to improve speed
2012-11-02 08:35:30 -07:00
PilzAdam
7afeee1a5b Replace pow() with multiplikation to improve speed 2012-11-02 16:24:57 +01:00
PilzAdam
764362e4da Merge pull request #270 from PilzAdam/master
Move falling to builtin
2012-11-01 11:00:57 -07:00
PilzAdam
08fbb52591 Add falling_node to special groups in lua-api.txt 2012-11-01 12:33:24 +01:00
PilzAdam
1db601cd06 Remove a useless comment 2012-10-31 19:08:00 +01:00
PilzAdam
c892f18215 Move falling to builtin 2012-10-31 19:06:11 +01:00
Kyle
99258a7ed8 Allow transparent image_buttons 2012-10-18 12:06:47 -07:00
Perttu Ahola
f4b8c46756 Add nodedef.on_blast() to lua_api.txt in order to support chained explosions of any explosives 2012-09-09 23:24:48 +03:00
Perttu Ahola
75c3f41fb2 Statically store always_collect field of __builtin:item 2012-09-09 23:14:41 +03:00
Perttu Ahola
06850bceac Add dtime_s to entity activation 2012-09-09 17:12:29 +03:00
Perttu Ahola
d558e9304f Fix ServerActiveObject stuff 2012-09-09 16:11:05 +03:00
Perttu Ahola
f025f43d72 Fix wielditem entity drawtype brightness control 2012-09-09 13:26:52 +03:00
Perttu Ahola
61ea35ecb9 Fix ObjectRef:punch() 2012-09-09 12:05:38 +03:00
Ilya Zhuravlev
0933c02893 Add liquid_renewable property. 2012-09-07 20:48:12 +04:00
Perttu Ahola
efe33d37b5 Version 0.4.3 2012-09-05 01:31:06 +03:00
Matthew I
382c968e07 Prevent world creation if the world already exists 2012-09-05 01:17:44 +03:00
Matthew I
cbe9f3b4e3 Enforce stricter world names using a blacklist
Blacklisted characters are: / \
2012-09-05 01:17:28 +03:00
Perttu Ahola
0b585dc311 Add aux1_descends to key change menu 2012-09-05 00:55:19 +03:00
Perttu Ahola
de5b589321 Version 0.4.3-rc0; increase PROTOCOL_VERSION due to backwards-incompatible InventoryList width field 2012-09-05 00:39:43 +03:00
Perttu Ahola
235178c09d Remove "Unknown inventory identifier" deserialization errors, because they can break forward compatibility 2012-09-04 23:02:56 +03:00