Jump to content

Putting a Minecraft skin together


Ruddy

Recommended Posts

Hey all, I'm new to java script and for those of you that play minecraft, you should know that you can have a skin. Them skins are stored at minecraft.net and are public. I would like to get the skin of a user and using java script put it together in a 2D view and enlarge the size.

 

I have come across something that does do this here: http://code.google.com/p/minecraft-skin-viewer/source/browse/trunk/js/mcSkinRenderer.js?r=2

 

This will put together a skin, but I have been at it for days trying to get the image bigger without getting it blurry. I can make it bigger but it always goes blurry, I know it can be done as I have seen sites do it but in 3D.

 

I want to get the head of the skin and enlarge it to 64px - 64px.

 

If anyone could write the code for this it would be amazing and if they have time write comments as I would love to learn this sort of thing.

 

 

Example of a skin : http://www.minecraft.net/skin/Ruddy2007.png

 

That is my skin.

Thank you and good luck.

Link to comment
Share on other sites

Well that is the code I have been using to do it, even tried working with the guy tho coded it and he couldnt do it. I think that is a cause for help. If so I will go elsewhere I would have just liked some help.

 

From that code im sure someone can find where I have gone wrong with the blurry image. And point in the right direction would me nice at least.

Link to comment
Share on other sites

I can make it bigger but it always goes blurry, I know it can be done as I have seen sites do it but in 3D.

 

There is a difference between using a simple Image object to display a model (that said without a vector image it will always go blurry), and using an actual model renderer like THREE with WebGL to display it in 3D.

 

A quick search on Google revealed: http://forums.bukkit.org/threads/web-html5-skin-viewer.4428/

 

Where you can download the code to view your model in 3D.

 

EDIT: going through the code revealed it assumes register_globals = On ! 0h n03s !!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.