diff --git a/README.md b/README.md index 8b6f394..d5c93a2 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,8 @@ Some major changes were done to make the mod easier to maintain: ## Changes: '!' is for bugs in 2012 version that are fixed (as opposed to features that were changed/added) in this fork +* (2017-02-13) Made multi-sided Topaz Block (WIP) +* (2017-02-13) Made Blender project for gem rendering (see Developer Notes below for usage) * (2017-02-12) Add farming hoes * (2017-02-11) Add recipe to create default:diamond from dye:blue + birthstones:diamond for playability (for when other mods like technic need diamonds for things) * (2017-02-11) Add crafting recipe to convert block back into 9 gems @@ -113,6 +115,21 @@ MORE but with hardness values available from 18carat.co.uk link above: * Apatite,3.16-3.23,5,137 * Calcite,2.69-2.71,3,53 +### Developer Notes +xcf file has colors used for manual tinting +Blender Cycles project has nodes with custom labels with the following values: +* If you rotate the gems, rotation must be applied, since absorption is manually done along object z axis (see "Blender gem tutorial" link below for why) +Name,GemColor,IOR**,Scatter,Gloss,Clarity,Absorption +Topaz, E5A55F, 1.62, .5, .5, 1.0, 0.0 + +### Special Thanks +Blender gem tutorial +https://www.youtube.com/watch?v=3EN6mAFDqaI +by Marijus Jacevičius + +Complete IOR List +** http://forums.cgsociety.org/archive/index.php?t-513458.html + ## Minetest 2017 API notes (see http://wiki.minetest.net/Groups and https://github.com/minetest/minetest/blob/142e2d3b74ad886eed83b0fc9d6cfea100dae10a/doc/lua_api.txt#L736 ) diff --git a/etc/1.etc in GitHub minetest-birthstones.lnk b/etc/1.etc in GitHub minetest-birthstones.lnk new file mode 100644 index 0000000..a9e6673 Binary files /dev/null and b/etc/1.etc in GitHub minetest-birthstones.lnk differ diff --git a/etc/1.textures in C games Minetest ENLIVEN.lnk b/etc/1.textures in C games Minetest ENLIVEN.lnk new file mode 100644 index 0000000..2bc7f3d Binary files /dev/null and b/etc/1.textures in C games Minetest ENLIVEN.lnk differ diff --git a/etc/alt/birthstones_topaz_block_east-32.png b/etc/alt/birthstones_topaz_block_east-32.png new file mode 100644 index 0000000..ca74224 Binary files /dev/null and b/etc/alt/birthstones_topaz_block_east-32.png differ diff --git a/etc/alt/birthstones_topaz_block_east.png b/etc/alt/birthstones_topaz_block_east.png new file mode 100644 index 0000000..05b977d Binary files /dev/null and b/etc/alt/birthstones_topaz_block_east.png differ diff --git a/etc/alt/birthstones_topaz_block_north-32.png b/etc/alt/birthstones_topaz_block_north-32.png new file mode 100644 index 0000000..71958e3 Binary files /dev/null and b/etc/alt/birthstones_topaz_block_north-32.png differ diff --git a/etc/alt/birthstones_topaz_block_north.png b/etc/alt/birthstones_topaz_block_north.png new file mode 100644 index 0000000..f6811d9 Binary files /dev/null and b/etc/alt/birthstones_topaz_block_north.png differ diff --git a/etc/alt/birthstones_topaz_block_top-32.png b/etc/alt/birthstones_topaz_block_top-32.png new file mode 100644 index 0000000..89aecff Binary files /dev/null and b/etc/alt/birthstones_topaz_block_top-32.png differ diff --git a/etc/alt/birthstones_topaz_block_top.png b/etc/alt/birthstones_topaz_block_top.png new file mode 100644 index 0000000..c9b4bde Binary files /dev/null and b/etc/alt/birthstones_topaz_block_top.png differ diff --git a/etc/birthstones_topaz_block_east.1-32.png b/etc/birthstones_topaz_block_east.1-32.png new file mode 100644 index 0000000..1cd129c Binary files /dev/null and b/etc/birthstones_topaz_block_east.1-32.png differ diff --git a/etc/birthstones_topaz_block_east.png b/etc/birthstones_topaz_block_east.png deleted file mode 100644 index 2c314bd..0000000 Binary files a/etc/birthstones_topaz_block_east.png and /dev/null differ diff --git a/etc/birthstones_topaz_block_north.1-32.png b/etc/birthstones_topaz_block_north.1-32.png new file mode 100644 index 0000000..3b36839 Binary files /dev/null and b/etc/birthstones_topaz_block_north.1-32.png differ diff --git a/etc/birthstones_topaz_block_north.png b/etc/birthstones_topaz_block_north.png deleted file mode 100644 index 7e7c698..0000000 Binary files a/etc/birthstones_topaz_block_north.png and /dev/null differ diff --git a/etc/birthstones_topaz_block_top.1-32.png b/etc/birthstones_topaz_block_top.1-32.png new file mode 100644 index 0000000..941a3aa Binary files /dev/null and b/etc/birthstones_topaz_block_top.1-32.png differ diff --git a/etc/birthstones_topaz_block_top.png b/etc/birthstones_topaz_block_top.png deleted file mode 100644 index d2dd509..0000000 Binary files a/etc/birthstones_topaz_block_top.png and /dev/null differ diff --git a/etc/minetest birthstones expertmm.blend b/etc/minetest birthstones expertmm.blend index b571ae6..8205f64 100644 Binary files a/etc/minetest birthstones expertmm.blend and b/etc/minetest birthstones expertmm.blend differ diff --git a/nodes.lua b/nodes.lua index 98e5ee1..8514cf5 100644 --- a/nodes.lua +++ b/nodes.lua @@ -172,9 +172,10 @@ minetest.register_node( "birthstones:sapphireblock", { groups = {cracky = 1, level = 3}, sounds = default.node_sound_stone_defaults(), }) +-- tile_images: +Y, -Y, +X, -X, +Z, -Z. In English: top, bottom, right, left, back, front. - http://dev.minetest.net/minetest.register_node minetest.register_node( "birthstones:topazblock", { description = "Topaz Block", - tile_images = { "birthstones_topaz_block.png" }, + tile_images = { "birthstones_topaz_block_top.png", "birthstones_topaz_block_top.png", "birthstones_topaz_block_east.png", "birthstones_topaz_block_east.png", "birthstones_topaz_block_north.png", "birthstones_topaz_block_north.png" }, is_ground_content = true, groups = {cracky = 1, level = 3}, sounds = default.node_sound_stone_defaults(),