22i / amc

quickly test - how the Minecraft mobs look like in Minetest
https://github.com/22i/minecraft-voxel-blender-models
GNU General Public License v3.0
12 stars 2 forks source link

Add entity models #18

Open Wuzzy2 opened 7 years ago

Wuzzy2 commented 7 years ago

I request more models for the following entities:

22i commented 7 years ago

@Wuzzy2 some progress here is the itemframe texture https://github.com/22i/amc/blob/master/textures/itemframes_itemframe_birch_plank.png

itemframe facedir https://github.com/22i/amc/blob/master/models/itemframes_itemframe1facedir.obj

itemframe wallmounted https://github.com/22i/amc/blob/master/models/itemframes_itemframe1wallmount.obj

for the Ender crystal it would be nice for it to be animated going up and down and crystals rotating but not sure how to make nodes animated like this? Is it posible to make nodes animated like a zombie would be? if not it might need to be entity

also there is bedrock with lit fire on top of it in the middle of ender crystal this will be tricky

Ender crystal facedir https://github.com/22i/amc/blob/master/models/amc_endercrystalfacedir.obj

Wuzzy2 commented 7 years ago

Ender crystal could be implemented half-entity, half node. Long story short, let that be my worry, I'll handle it.

The node is for the bedrock texture + nodebox, the entity is for the rotating and animated cube thingie.

So for the model I would only need the crystal itself, not the pedestal. This is also more flexible as the Y offset can be adjusted later.

I will comment on item frame later.

Wuzzy2 commented 7 years ago

The item frame looks good.

The paintings need to have a thickness of 1/16, they shouldn't be just a flat plane. And the backside of the painting needs to have the backside texture.

22i commented 7 years ago

@Wuzzy2 to make minecart with chest and variants and other mobs that hold items better

especialy what to use under the textures = with mobs redo

here is the simple 2 blocks together model that uses two different textures the lower cube uses the 64x32 amc_2 amc_2.png blue squid texture the top cube uses the 16x16 amc_1 amc_1.png red texture

right now i am using the overlay which is not the best textures = {{"amc_1.png^amc_2.png"}},

https://github.com/22i/amc/blob/master/init.lua#L2929

2 Textures test -overlay does not work since it overlays squid on its red top when overlaying textures = {{"amc_1.png^amc_2.png"}},

all red when overlaying - textures = {{"amc_2.png^amc_1.png"}}, che how it looks in blender

model attachments - ability to join 2 or more meshes together would be helpfull https://github.com/tenplus1/mobs_redo/issues/90

Wuzzy2 commented 7 years ago
i will need to know how to use two separate textures for one model

Ask the core devs, IRC or the forums. I don't know.

Don't worry about mobs in minecarts or boats. No additional meshes are needed for these, they just need to be attached; I can do this.

Hmm, when I think about this: Maybe the same trick could be done for all these special minecarts. I would only need cubes for most cases, except the hopper.

For the hopper: The current hopper nodebox could be meshified, and then I use the same mesh for both the node and the hopper in the minecart.

The obviou downside of this approach is that it pointlessly doubles the amount of rendered meshes. Not sure if this would seriously impact performance.

So yeah, before trying anything hacky, better to ask IRC and forums first.

22i commented 7 years ago

@Wuzzy2 i redid paintings to be with 1 thicknes check em out i also needed to add an overlay to make a proper backside texture since pixel perfection did not have it pixel perfection paintings amc_paintings_kristoffer_zetterstrand overlay for pixel perfection paintings amc_paintings_backside comparision with the minecraft default painting paintings_kristoffer_zetterstrand2

Wuzzy2 commented 7 years ago

IMO the paintings of PP need rework anyway because many images do not even look like paintings, more like wall decorations. This is not what I want! I was planning to replace some of the stranger paintings sooner or later.

I give feedback on models later.

Wuzzy2 commented 7 years ago

Painting meshes look good now, but how do I select a particular painting? It looks like the painting texture is hardcoded.

22i commented 7 years ago

not sure how to change the particular painting in lua yet other than in blender maybe this can help https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L4212

yep paintings might be hardcoded not sure but i did make a model for every painting in the texture to simplify it for now every painting on the paintings texture has its own model

in the folder rest of the 1 thick paintings https://github.com/22i/amc/tree/master/models/rest%20of%20the%201%20thick%20paintings

every painting model uses this texture below just different paintings in the texture amc_paintings_kristoffer_zetterstrand for example amc_painting16x16_2f.obj is the second painting from the top left amc_painting16x16_3f.obj is the third painting from the top left amc_painting16x16_4f.obj is the fourth painting from the top left

f = facedir

1×1 blocks 16x16 pixels 1×2 blocks 16×32 pixels 2×1 blocks 32×16 pixels 2×2 blocks 32×32 pixels 4×2 blocks 64×32 pixels 4×3 blocks 64×48 pixels 4×4 blocks 64×64 pixels

22i commented 7 years ago

here is the rest of the minecarts

Lua - search for minecart furnace https://github.com/22i/amc/blob/master/init.lua#L3621

Models:

https://github.com/22i/amc/blob/master/models/amc_minecart_block.b3d

https://github.com/22i/amc/blob/master/models/amc_minecart_chest.b3d

https://github.com/22i/amc/blob/master/models/amc_minecart_hopper.b3d

minecart inventory textures:

https://github.com/22i/amc/blob/master/textures/amc_minecart_furnace.png

https://github.com/22i/amc/blob/master/textures/amc_minecart_tnt.png

https://github.com/22i/amc/blob/master/textures/amc_minecart_chest.png

https://github.com/22i/amc/blob/master/textures/amc_minecart_hopper.png

https://github.com/22i/amc/blob/master/textures/amc_minecart_command_block.png

textures for furnace minecart:

https://github.com/22i/amc/blob/master/textures/amc_furnace_front_off.png

https://github.com/22i/amc/blob/master/textures/amc_furnace_side.png

https://github.com/22i/amc/blob/master/textures/amc_furnace_top.png

textures for tnt minecart:

https://github.com/22i/amc/blob/master/textures/amc_tnt_bottom.png

https://github.com/22i/amc/blob/master/textures/amc_tnt_side.png

https://github.com/22i/amc/blob/master/textures/amc_tnt_top.png

textures for chest minecart:

https://github.com/22i/amc/blob/master/textures/amc_normal.png

textures for hopper minecart:

https://github.com/22i/amc/blob/master/textures/amc_hopper_inside.png

https://github.com/22i/amc/blob/master/textures/amc_hopper_outside.png

https://github.com/22i/amc/blob/master/textures/amc_hopper_top.png

textures for commandblock minecart:

https://github.com/22i/amc/blob/master/textures/amc_command_block_back16.png

https://github.com/22i/amc/blob/master/textures/amc_command_block_front16.png

https://github.com/22i/amc/blob/master/textures/amc_command_block_side16.png

https://github.com/22i/amc/blob/master/textures/amc_command_block_conditional16.png

22i commented 7 years ago

here is the hopper meshified for facedir

Lua - search for hopper https://github.com/22i/amc/blob/master/init.lua#L3545

models:

https://github.com/22i/amc/blob/master/models/amc_hopper_down_f.b3d

https://github.com/22i/amc/blob/master/models/amc_hopper_onwall_f.b3d

textures:

https://github.com/22i/amc/blob/master/textures/amc_hopper_inside.png

https://github.com/22i/amc/blob/master/textures/amc_hopper_outside.png

https://github.com/22i/amc/blob/master/textures/amc_hopper_top.png

22i commented 7 years ago

here is the animated endercrystall

Lua - search for endercrystal https://github.com/22i/amc/blob/master/init.lua#L3509

model:

https://github.com/22i/amc/blob/master/models/amc_endercrystal.b3d

textures

https://github.com/22i/amc/blob/master/textures/amc_endercrystal.png

https://github.com/22i/amc/blob/master/textures/amc_endercrystal_inv.png

Wuzzy2 commented 7 years ago

The new minecart models work great! The ender crystal seems to work, but I need to test this later. Ender crystals have a low priority.

This issue now looks almost finished, the only thing which I'm missing is proper support for paintings. As long we haven't figured out a simple way to switch paintings, I can't really implement the painting in any useful manner. :-/

22i commented 7 years ago

test these painting these are more entity like and each time you summon one painting is randomly choosen

Lua and amc creative inventory ingame- search for painting entity https://github.com/22i/amc/blob/master/init.lua#L3892

models:

https://github.com/22i/amc/blob/master/models/amc_painting16x16.b3d

https://github.com/22i/amc/blob/master/models/amc_painting16x32.b3d

https://github.com/22i/amc/blob/master/models/amc_painting32x16.b3d

https://github.com/22i/amc/blob/master/models/amc_painting32x32.b3d

https://github.com/22i/amc/blob/master/models/amc_painting64x32.b3d

https://github.com/22i/amc/blob/master/models/amc_painting64x48.b3d

https://github.com/22i/amc/blob/master/models/amc_painting64x64.b3d

michieal commented 1 year ago

@22i Question, have you thought about doing a hanging sign model? I ask, because I was about to add them into MineClone2.