NickAcPT / nmsr-rs

NickAc's Minecraft Skin Renderer - Render Minecraft skins with true perspective
https://nmsr.nickac.dev/
Apache License 2.0
33 stars 4 forks source link

How can I achieve the rendering effect as shown in the image? #12

Open zxl777 opened 1 month ago

zxl777 commented 1 month ago

I would like to achieve the rendering effect as shown in the image. Could you please guide me on which source file and which part should be modified? Thank you.

image
NickAcPT commented 1 month ago

Heya @zxl777, thanks for reaching out!

Which effect from that image are you trying to replicate? Is it the drop-shadow, or something else entirely?

zxl777 commented 1 month ago

@NickAcPT Thank you for the quick reply. Adjust the swing amplitude of the hands and feet and the shooting angle, as well as the drop-shadow.

NickAcPT commented 1 month ago

Adjust the swing amplitude of the hands and feet and the shooting angle, as well as the drop-shadow.

@zxl777 When you say adjusting the shooting angle, do you mean the camera rotation? If so, that's already been implemented and deployed in production, but not yet documented because I haven't had the time to work on a homepage rewrite 😅

I am more than happy to add a parameter for specifying limb rotation.

What about the drop shadow? What is the use-case for having that be in the image itself? Could you please elaborate?

Thanks ^-^

zxl777 commented 1 month ago

Since I only display HD static images of Minecraft skins in the app, having shadows on the 3D model would enhance the sense of three-dimensionality and give it a more textured look.

NickAcPT commented 1 month ago

Since I only display HD static images of Minecraft skins in the app, having shadows on the 3D model would enhance the sense of three-dimensionality and give it a more textured look.

@zxl777 hmmm, interesting. what app are we talking about? And what technology are you using to display the images? Is this effect not achievable client-side?

zxl777 commented 1 month ago
image

@NickAcPT This app was developed by me. The attached image shows its performance from a few years ago, and now it's time for an upgrade.