Page 1 of 7

open MT-Skin Database

PostPosted: Sat Jan 19, 2013 11:25
by addi
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/upgrade-graphics-drivers-use-hardware-acceleration

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:

+ x3dom

+ uploading

+ get and schow images

+ about cookies

PostPosted: Sat Jan 19, 2013 11:51
by 4aiman

PostPosted: Sat Jan 19, 2013 12:00
by addi
4aiman wrote:Great!
Separate thank for this one: http://adrido.koding.com/minetest/skin_view/skins/charactery.png
:)


oh this i have stolen from a minecraft forum :/

PostPosted: Sat Jan 19, 2013 12:06
by PilzAdam
Nice!

PostPosted: Sat Jan 19, 2013 12:36
by jojoa1997
i think we should be able to put our skins in there to look at it

PostPosted: Sat Jan 19, 2013 13:14
by 4aiman
Maybe this could be merged with skins repo site?

PostPosted: Sat Jan 19, 2013 13:20
by Harmonica
sorry.how can i change my skin? i have 0.4.4 version

PostPosted: Sat Jan 19, 2013 13:44
by rubenwardy
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?

PostPosted: Sat Jan 19, 2013 14:51
by rarkenin
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.

PostPosted: Sat Jan 19, 2013 14:57
by kaeza
excellent job

PostPosted: Sat Jan 19, 2013 15:02
by jojoa1997
Maybe have it upload the skin temporarily like the user icons here

PostPosted: Sat Jan 19, 2013 16:40
by addi
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:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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

PostPosted: Sat Jan 19, 2013 18:15
by Calinou
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.

PostPosted: Sat Jan 19, 2013 19:59
by Obiewan1111
This is amazing! +100000000000000000000000000000000000000000000000000000000000.

PostPosted: Sun Jan 20, 2013 10:13
by webdesigner97
Love it! +100 for this innovative use of HTML5 and x3dom!

PostPosted: Sat Aug 10, 2013 12:02
by addi
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:

https://forum.minetest.net/viewtopic.php?pid=64768#p64768

PostPosted: Sat Aug 10, 2013 12:06
by Evergreen
Awesome!

PostPosted: Wed Aug 14, 2013 14:07
by addi
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/minetest-skin-db
on this page you find all known bugs and you can also see the state of progress.

PostPosted: Wed Aug 14, 2013 19:23
by philipbenr
+99^99^99
this is awesome. I have uploaded 2 of my favorite skins...

oops, forgot to remove the red lettering...

PostPosted: Wed Aug 21, 2013 20:42
by philipbenr
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.

PostPosted: Thu Aug 22, 2013 04:48
by addi
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/#!page:1,filtertype:Id,filter:36
and with that link you can see all your uploaded skins:
http://minetest.fensta.bplaced.net/#!page:1,filtertype:Author,filter:philipbenr

Hybrid Dog wrote:My x3dom doesn't work right. It only says sth like this:
[h]X3DOM[/h]
LOADING SCENE...


hmm wich browser are you using?
can you run some of that examples: http://www.x3dom.org/?page_id=5?

PostPosted: Thu Aug 22, 2013 23:08
by Evergreen
You need to have some way of moderating the skins, it would also be nice if the search bar worked.

PostPosted: Fri Aug 23, 2013 00:48
by philipbenr
yeah, and the report. I need one removed because of wrong licence. accident

PostPosted: Fri Aug 23, 2013 20:44
by philipbenr
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/#!page:1,filtertype:Id,filter:36
and with that link you can see all your uploaded skins:
http://minetest.fensta.bplaced.net/#!page:1,filtertype:Author,filter:philipbenr

Hybrid Dog wrote:My x3dom doesn't work right. It only says sth like this:
[h]X3DOM[/h]
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.

PostPosted: Sat Aug 24, 2013 05:06
by addi
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
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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.

PostPosted: Sat Aug 24, 2013 19:23
by philipbenr
thank you for removing my other skin that had a messed up licence. I'm glad this is working, because I love sharing my work.

PostPosted: Sun Aug 25, 2013 17:01
by Exilyth
addi wrote:to run that page you need a modern browser that supports webGL, Html5, enabled JavaScript, css3, x3dom(*.x3d)


Too bad it needs javascript, I would have tried it out otherwise.

PostPosted: Mon Aug 26, 2013 05:32
by addi
Exilyth wrote:
addi wrote:to run that page you need a modern browser that supports webGL, Html5, enabled JavaScript, css3, x3dom(*.x3d)


Too bad it needs javascript, I would have tried it out otherwise.


what do you prefer instead of JavaScript? Java?,Flash?,ActiveX?,Adobe Air?, a client to download?

later ill make a php version for robots and this people wich have javascript disabled. but there its impossible to get a 3d preview. it can only list the raw skin files.

PostPosted: Tue Aug 27, 2013 20:55
by Inocudom
This database is very useful.

PostPosted: Tue Aug 27, 2013 21:13
by philipbenr
yes, very.