open MT-Skin Database

Post Reply
User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

open MT-Skin Database

by addi » Post

after that great response to this topic i worked again on it and its now atached to a database, wehere evrybody is free to add skins to the database.
http://minetest.fensta.bplaced.net/
Image
to run that page u need a modern browser that supports webGL, Html5, enabled JavaScript, css3, x3dom(*.x3d) (IE9 or less not supportet, use firefox or opera instead)

maybe ill add later a php only version for robots, and these people wich have javascript disabled.(eg. Sokomine ;P)
or maybe someone other can do that. The code is aviable as git repo and the licence is lgpl v3.

It dose not working for me
webgl has some huge dependencies to your hard and software. on this page can you check where the problem is. also its able to get more information there and informations how to fix it.
https://get.webgl.org

here is a kb article for firefox user how to enable wbgl:
https://support.mozilla.org/en-US/kb/up ... celeration

you can also force enable it in firefox in order to get it work:
type into the address bar about:config and search for webgl.force-enabled
if you found it turn it to true by a double click.
---

i need some people to help me with that project.
  • people that made skins: feel free to upload it i need some more to test it and how laggy it could be with more images(i just added some skins wich i found on this board)
  • people with php/mysql skills: if you want you can get the surcecode from git and help me to make the "php-only" version
  • people with javascript/css/html(5) skills: help me with the frontend (the git repo will comming soon)
  • people with modding-minetest/lua skills: help me to create an api wich mods can access the database
  • all other people: please try it out and say me your opinoin/critics and make suggestions!
LIVE (press F5 to update):
Image

some backgroundinformations for intresting people:
Spoiler
the 3d renderer is working with x3dom
x3dom is a invention of the frauenhofer
a very famous invention of the frauenhofer is eg. the .mp3 file too!
Spoiler
to upload the skin images it uses the new drag&drop and the file api of javascript.
the upload will be done by a ajax request wich posting the base 64coded image an the information to the server
Spoiler
to get the images it uses a AJAX request too. the server answers with a JSON object wich is readed by javascript and dynamicaly added to the page
Spoiler
cookies are small files that saving webpages to store your actual usersession id wich is be used for login sessions and for tracking you and make advertise.
this page dose save no cookies on your pc!
(information for these who want to help me: i want too keep this page clear of all cookies and external frameworks! please think on it if you want to do a pull request!)
Last edited by addi on Sun Apr 20, 2014 03:53, edited 2 times in total.

4aiman
Member
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

by 4aiman » Post

Great!
Separate thank for this one: http://adrido.koding.com/minetest/skin_ ... actery.png
:)

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

by addi » Post

4aiman wrote:Great!
Separate thank for this one: http://adrido.koding.com/minetest/skin_ ... actery.png
:)
oh this i have stolen from a minecraft forum :/
Last edited by addi on Sat Aug 10, 2013 12:06, edited 1 time in total.

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

Nice!

User avatar
jojoa1997
Member
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Post

i think we should be able to put our skins in there to look at it
Coding;
1X coding
3X debugging
12X tweaking to be just right

4aiman
Member
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

by 4aiman » Post

Maybe this could be merged with skins repo site?

Harmonica
Member
Posts: 15
Joined: Sat Jan 19, 2013 12:30
Location: italy

by Harmonica » Post

sorry.how can i change my skin? i have 0.4.4 version

User avatar
rubenwardy
Moderator
Posts: 6969
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

Cool!

I should add it to this: http://multa.bugs3.com/minetest/avatar

Is it possible to embed this, and give it a parameter to a skin?
Last edited by rubenwardy on Sat Jan 19, 2013 13:44, edited 1 time in total.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

rarkenin
Member
Posts: 668
Joined: Tue Nov 20, 2012 20:48

by rarkenin » Post

Harmonica wrote:sorry.how can i change my skin? i have 0.4.4 version
Changing the skin is per-server, using a server plugin. This site only lets you look at skins.
Admin pro tempore on 0gb.us:30000. Ask me if you have a problem, or just want help.
This is a signature virus. Add me to your signature so that I can multiply.
Now working on my own clone, Mosstest.
I guess I'm back for some time.

User avatar
kaeza
Moderator
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

by kaeza » Post

excellent job
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal

User avatar
jojoa1997
Member
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Post

Maybe have it upload the skin temporarily like the user icons here
Coding;
1X coding
3X debugging
12X tweaking to be just right

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

by addi » Post

rubenwardy wrote:Cool!

I should add it to this: http://multa.bugs3.com/minetest/avatar
oh there is alredy a database for skins. thats good :)
rubenwardy wrote: Is it possible to embed this, and give it a parameter to a skin?
yes embeding is possible without problems. all is made over a javascript function caled useTexture(string url)
examples:

Code: Select all

<img class="skin" width="64" height="32" src="skins/character_1.png" onclick="useTexture(this.src);"></img>
or:
<a href="javascript:useTexture('skins/character_1.png');" ></a>
or:
<a href="skins/character_1.png" onclick="useTexture(this.href);" ></a>
but the script needs some time to load. it would be better if u load at the page this script and then add the skin images dynamical with xhr (ajax, json, xml,...)

ill tidy up my code and than i can give u the source
jojoa1997 wrote:Maybe have it upload the skin temporarily like the user icons here
i can do that but thats not so easy because x3dom doesent support base64 coded images as an texture. but it supports canvas texture and canvas supports base64 images.
i can try to get that work and than it will work without upload!(just drag and drop the image there)
but ill not make that today - maybe next week

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

by Calinou » Post

Anti-aliasing adds "edges" between blocks of the model...
Other than that, looks nice. Maybe add the ability to change the background color and remove the debugging info by default, too.

[edit]
addi wrote:and a modern grafic card with an actual driver that supports openGl (some notebook versions may not supported)
Actually, you need WebGL support. Pretty much any graphics card supports it today.
Last edited by Calinou on Sat Jan 19, 2013 18:29, edited 1 time in total.

User avatar
Obiewan1111
Member
Posts: 198
Joined: Fri Dec 14, 2012 20:30
Location: Salisbury, Wiltshire, England

by Obiewan1111 » Post

This is amazing! +100000000000000000000000000000000000000000000000000000000000.
Youtube Channel; Minetest Gaming Videos

Is suggesting the Offtopic Section and getting it added an achievement? I guess it is!

User avatar
webdesigner97
Member
Posts: 1328
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97
Location: Cologne, Germany
Contact:

by webdesigner97 » Post

Love it! +100 for this innovative use of HTML5 and x3dom!

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

by addi » Post

lot of thanks for all your replies :D

i worked on it again and now its atached to a database.

i caled it open because there are 3 reasons:
1. evryone is alowed to upload minetest skins without registration
2. the surce code will be aviable later on a git repo
3. the license is lgpl

this is the new page:
http://minetest.fensta.bplaced.net/
also look at the first post to see some more information:

viewtopic.php?pid=64768#p64768

User avatar
Evergreen
Member
Posts: 2135
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen
Location: A forest in the midwest
Contact:

by Evergreen » Post

Awesome!
Back from the dead!

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

by addi » Post

thanks :)

i fixed the bug with the not working "browse" button and the page is fitting now the whole screen.

also its now aviable as git:

https://bitbucket.org/kingarthursteam/mt-skin-db
and here is the project page:
https://project.king-arthur.eu/projects ... st-skin-db
on this page you find all known bugs and you can also see the state of progress.

User avatar
philipbenr
Member
Posts: 1897
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

by philipbenr » Post

+99^99^99
this is awesome. I have uploaded 2 of my favorite skins...

oops, forgot to remove the red lettering...

User avatar
philipbenr
Member
Posts: 1897
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

by philipbenr » Post

I tried using partial transparency on a akin for the hair layer. It worked. My skin's hair is a bit more realistic.

Edit: It's loaded onto the database as Female Sam II If you want to see it.
Last edited by philipbenr on Wed Aug 21, 2013 20:44, edited 1 time in total.

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

by addi » Post

philipbenr wrote:I tried using partial transparency on a akin for the hair layer. It worked. My skin's hair is a bit more realistic.

Edit: It's loaded onto the database as Female Sam II If you want to see it.
you can use the new permalink to post the address here:
http://minetest.fensta.bplaced.net/#!pa ... ,filter:36
and with that link you can see all your uploaded skins:
http://minetest.fensta.bplaced.net/#!pa ... philipbenr
Hybrid Dog wrote:My x3dom doesn't work right. It only says sth like this:

X3DOM

LOADING SCENE...
hmm wich browser are you using?
can you run some of that examples: http://www.x3dom.org/?page_id=5?
Last edited by addi on Thu Aug 22, 2013 04:49, edited 1 time in total.

User avatar
Evergreen
Member
Posts: 2135
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen
Location: A forest in the midwest
Contact:

by Evergreen » Post

You need to have some way of moderating the skins, it would also be nice if the search bar worked.
Back from the dead!

User avatar
philipbenr
Member
Posts: 1897
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

by philipbenr » Post

yeah, and the report. I need one removed because of wrong licence. accident

User avatar
philipbenr
Member
Posts: 1897
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

by philipbenr » Post

addi wrote:
philipbenr wrote:I tried using partial transparency on a akin for the hair layer. It worked. My skin's hair is a bit more realistic.

Edit: It's loaded onto the database as Female Sam II If you want to see it.
you can use the new permalink to post the address here:
http://minetest.fensta.bplaced.net/#!pa ... ,filter:36
and with that link you can see all your uploaded skins:
http://minetest.fensta.bplaced.net/#!pa ... philipbenr
Hybrid Dog wrote:My x3dom doesn't work right. It only says sth like this:

X3DOM

LOADING SCENE...
hmm wich browser are you using?
can you run some of that examples: http://www.x3dom.org/?page_id=5?
I updated to firefox 23.0.1 and I'm having problems as well. I can access the examples above fine, but the skin database is messing-up. :\ weird. I think I'll downgrade.

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

by addi » Post

Hybrid Dog wrote:
addi wrote:...

hmm wich browser are you using?
can you run some of that examples: http://www.x3dom.org/?page_id=5?
firefox 23
no, I can't
philipbenr wrote:I updated to firefox 23.0.1 and I'm having problems as well. I can access the examples above fine, but the skin database is messing-up. :\ weird. I think I'll downgrade.
im using Firefox 23.1 too but to me all working correct :/

if you want to help me you could install the firebug plugin https://addons.mozilla.org/en-US/firefox/addon/firebug/
after installing please visit the skin_db and press F12. than F5, after that switch to the tab Console and please post me all errors you find there.

sorry but i dont know where the problem is :(
Evergreen wrote:You need to have some way of moderating the skins,
philipbenr wrote:yeah, and the report.
i finished now the report function. you can now click report and write a short message.
also i made short process with the LOL licence XD

Code: Select all

DELETE FROM `mt_skins` WHERE `license` LIKE "LOL"
i never hered about a license like "LOL" *lol*

the problem with the invalid license is, in Germany belongs all that not have a valid license 60 years after the authors dead to the author. in this time nobody is alowed tho share it.

I thought the people here are smart enough to know what a license, so I have not checked whether the license is entered correctly. maybe ill do it in the near feature.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest