Page 1 of 6

3D-Player

PostPosted: Thu Jan 26, 2012 16:29
by Krisi
I finally finished my Patch for 3D Player!

Image


Features:
- a walk animation for legs and arms
- and a rotating head

It is not 100 % finished but it works.

For Developers (like c55):
'Ive changed two code files:
content_cao.cpp
serverremoteplayer.cpp

but the other code files should be up to date.

Download (11.02.12)
This is not a LUA Mod! To use my patch you must compile the source code (look in the readme.txt)
Compiled (Ubuntu 64): http://ubuntuone.com/6hm8yUS2GaeeWD9Tm7FPSc
Only the two code files and player textures: http://ubuntuone.com/7AwtAFR0UJb8Po8hjoy3Dq

Obsolete: See this http://minetest.net/forum/viewtopic.php?pid=54974#p54974

PostPosted: Thu Jan 26, 2012 16:31
by neko259
Great! Can this be used for mobs too?
I'd be glad to see this in upstream.

PostPosted: Thu Jan 26, 2012 16:40
by rinoux
Krisi you're my hero ! 3d player in 3d world it makes sense.

PostPosted: Thu Jan 26, 2012 16:48
by neko259
Can you also make hand texture correspond player texture (it's 'hand' part)?

PostPosted: Thu Jan 26, 2012 16:52
by sfan5
+9223372036854775808
/\
|
(ERROR) Int64 Overflow
The number is too high xD

:D

PostPosted: Thu Jan 26, 2012 17:01
by MrThebuilder3
you are amazing! +ERROR NUMBER CRASH TOO LARGE

PostPosted: Thu Jan 26, 2012 17:51
by neko259
Legs move very strangely. Everything else seems to be ok.

PostPosted: Thu Jan 26, 2012 18:14
by Krisi
sfan5 wrote:+9223372036854775808
(ERROR) Int64 Overflow

:D

I think you have a 32 bit system and in the package are some compile information from my system.
Download Minetest from github, unpack it and replace the "src" folder from the github Minetest with the folder from my patch.

Edit: i forgot: the "data" folder too.

That should help

PostPosted: Thu Jan 26, 2012 18:15
by rahonejm
more importance for Windows plz

PostPosted: Thu Jan 26, 2012 18:19
by Krisi
rahonejm wrote:more importance for Windows plz

why? you must just compile the patch and that works on windows too (ok, its a little harder)

PostPosted: Thu Jan 26, 2012 18:24
by sfan5
Krisi wrote:
sfan5 wrote:+9223372036854775808
(ERROR) Int64 Overflow

:D

I think you have a 32 bit system and in the package are some compile information from my system.
Download Minetest from github, unpack it and replace the "src" folder from the github Minetest with the folder from my patch.

Edit: i forgot: the "data" folder too.

That should help

I know how to apply your patch
I ment:
You become so much + that some thing crahes -> (ERROR) Int64 Overflow
Basically i ment this "+ERROR NUMBER CRASH TOO LARGE"

PostPosted: Thu Jan 26, 2012 19:24
by redcrab
Great , hope this will be in mainstream soon :)

PostPosted: Thu Jan 26, 2012 20:15
by cisoun
Nice work!! But I don't think it's gonna be on mainstream...

PostPosted: Thu Jan 26, 2012 20:28
by Calinou
/me wants that in official game unless it kills FPS.
/me looks at FPS.
/me is skeptical.

Still, nice job. ;)

PostPosted: Thu Jan 26, 2012 20:35
by neko259
Calinou wrote:/me wants that in official game unless it kills FPS.
/me looks at FPS.
/me is skeptical.

Still, nice job. ;)

If it kills FPS, it can be added as an option (like fancy trees and transparent water).

PostPosted: Thu Jan 26, 2012 20:52
by Jordach
neko259 wrote:
Calinou wrote:/me wants that in official game unless it kills FPS.
/me looks at FPS.
/me is skeptical.

Still, nice job. ;)

If it kills FPS, it can be added as an option (like fancy trees and transparent water).


It does eat fps he's at 2.

also the drawtime is too much!

PostPosted: Thu Jan 26, 2012 20:54
by neko259
I haven't noticed any performance changes. My graphics card is too good? :3

PostPosted: Thu Jan 26, 2012 20:58
by Krisi
Calinou wrote:/me wants that in official game unless it kills FPS.
/me looks at FPS.
/me is skeptical.

Still, nice job. ;)

The model consists 6 cubes and so it kills only so many FPS like 6 Blocks.
The only thing that kills FPS is that now will be almost new things integrated via LUA.

PostPosted: Thu Jan 26, 2012 21:32
by jordan4ibanez
GOOD JOB OMGGG THANK YOU!!! :D

PostPosted: Thu Jan 26, 2012 21:38
by Jordach
having fun compiling??

PostPosted: Thu Jan 26, 2012 21:48
by sdzen
an option for the things that affect compatibitlilty would be perfect

PostPosted: Thu Jan 26, 2012 22:01
by redcrab
take the"full source package" ... compiled... run and .... no texture :(

Image

PostPosted: Thu Jan 26, 2012 22:11
by jordan4ibanez
yes same for me

PostPosted: Thu Jan 26, 2012 22:19
by redcrab
take the"full source package" ... compiled... run and .... TEXTURED :)

the fact is ... client is not enough .... the server have to be modified aswell

Image

PostPosted: Thu Jan 26, 2012 22:38
by jordan4ibanez
you should make it so the textures are local..and get cached into the server!

PostPosted: Thu Jan 26, 2012 22:49
by rinoux
Can we have a custom texture ?

PostPosted: Thu Jan 26, 2012 22:51
by redcrab
rinoux wrote:Can we have a custom texture ?


Yes , the texture is located in xxx/data/mods/default/textures/mt_player.png and mt_player_1.png

PostPosted: Thu Jan 26, 2012 23:21
by Krisi
Jordach wrote:
neko259 wrote:
Calinou wrote:/me wants that in official game unless it kills FPS.
/me looks at FPS.
/me is skeptical.

Still, nice job. ;)

If it kills FPS, it can be added as an option (like fancy trees and transparent water).


It does eat fps he's at 2.

also the drawtime is too much!

Yes ^^
But thats because i have currently a 30 Euro Graphic Card and to make the screenshot i had started two minetest windows on a 1080p screen and so the screenshot is better i activated 16x AA.

PostPosted: Thu Jan 26, 2012 23:40
by rinoux
redcrab wrote:
rinoux wrote:Can we have a custom texture ?


Yes , the texture is located in xxx/data/mods/default/textures/mt_player.png and mt_player_1.png


Sorry I was not clear, i mean: can we use our local texture on servers for example on stagingredcrabserver ?

PostPosted: Fri Jan 27, 2012 00:30
by redcrab
rinoux wrote:
redcrab wrote:
rinoux wrote:Can we have a custom texture ?


Yes , the texture is located in xxx/data/mods/default/textures/mt_player.png and mt_player_1.png


Sorry I was not clear, i mean: can we use our local texture on servers for example on stagingredcrabserver ?


Yes ... the textures provided with this 3D avatar provided by krisi are those coming from Cisoun I guess.. No particular constraints to be use with any other custom textures. Anyway the server has to be patched aswell... 3Davatar client is not enough.

@krisi : Am i right ?... server patching is mandatory ?