3rd person view

For people working on the C++ code.
User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

3rd person view

by BlockMen » Post

Hello everyone,
here my first try to add a 3rd person view to Minetest.

video: http://www.youtube.com/watch?v=87H-TQY-Xzs
Image

Its based on PilzAdams changes to see the own player when looking down, see this post.

Update: viewtopic.php?id=9041
Last edited by BlockMen on Sat Apr 12, 2014 19:01, edited 1 time in total.

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

Awesome!

If you accept a little constructive criticism (I know this is WIP), I think it would be better if the pivot for pitch is the player as with the yaw. (Sorry if I'm unclear; I'm not very much into 3D jargon).

Anyway, I hope this can be merged some day!
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
Linxx
Member
Posts: 406
Joined: Wed May 16, 2012 00:37

by Linxx » Post

*0* *foams*

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Post

Just make sure that it is better than what is in Minecraft. Also, make sure that in first person the player can see his/her own player model's body when looking down. That gives the impression that he/she is more than just a floating camera.

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

by rubenwardy » Post

You can not see the cross hair, so you need to move the player to the left, relative to the camera. Like in GTA.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

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

by jojoa1997 » Post

I like this but I think that when you should look down your view should have the middle or focus on the head. Though great job maybe with refinement it could be added to minetest.
Coding;
1X coding
3X debugging
12X tweaking to be just right

User avatar
hoodedice
Member
Posts: 1374
Joined: Sat Jul 06, 2013 06:33
GitHub: hoodedice
IRC: hoodedice
In-game: hoodedice
Location: world
Contact:

by hoodedice » Post

I would like it to have a little '3rd person shooter' aspect to it, but great job anyway !
7:42 PM - Bauglio: I think if you go to staples you could steal firmware from a fax machine that would run better than win10 does on any platform
7:42 PM - Bauglio: so fudge the stable build
7:43 PM - Bauglio: get the staple build

User avatar
Melkor
Member
Posts: 369
Joined: Sat Sep 24, 2011 01:03
Location: Underground

by Melkor » Post

this is great, i hope this manage to get into the main engine.!

I can imagine the possibilities.

Maybe add support for LUA for the control of camera position:

1st person mode (with o without body)
like here: viewtopic.php?pid=80871#p80871

or:

3rd Person Mode (over the shoulder, over the head, etc)

OR

Detached Camera (the player controls camera, but not the character in game)

Static Camera (the player controls the character, but camera stay in a fixed place)

(this last two are good if you want to make a movie o something like)

thanks PilzAdams and BlockMen.

Rhys
Member
Posts: 379
Joined: Wed May 22, 2013 15:22

by Rhys » Post

Don't know what to do with out you, BlockMen. +2!

Rhys
Member
Posts: 379
Joined: Wed May 22, 2013 15:22

by Rhys » Post

And, if this was implemented in the game, it should have a tick box like for Creative.

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

Rhys wrote:And, if this was implemented in the game, it should have a tick box like for Creative.
No, it should have some hotkey. Possibly f6, or something like that.
Back from the dead!

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

by jojoa1997 » Post

Could you post the patch and how to enable third person?
Coding;
1X coding
3X debugging
12X tweaking to be just right

User avatar
Mcc457
Member
Posts: 84
Joined: Sat Sep 07, 2013 17:53
Location: Earth..nah too usual; Minetest
Contact:

by Mcc457 » Post

This is amazing! Next step would be to move the view around or add a skin function.
Working on a sub-game; mostly based texture packs, adventure and soon chemistry...

User avatar
hoodedice
Member
Posts: 1374
Joined: Sat Jul 06, 2013 06:33
GitHub: hoodedice
IRC: hoodedice
In-game: hoodedice
Location: world
Contact:

by hoodedice » Post

Mcc457 wrote:This is amazing! Next step would be to move the view around or add a skin function.
skinning is already implemented.
7:42 PM - Bauglio: I think if you go to staples you could steal firmware from a fax machine that would run better than win10 does on any platform
7:42 PM - Bauglio: so fudge the stable build
7:43 PM - Bauglio: get the staple build

User avatar
Mcc457
Member
Posts: 84
Joined: Sat Sep 07, 2013 17:53
Location: Earth..nah too usual; Minetest
Contact:

by Mcc457 » Post

hoodedice wrote:
Mcc457 wrote:This is amazing! Next step would be to move the view around or add a skin function.
skinning is already implemented.
Do you mean skinning you own player for just you to see or could people on a server all have different skins?
Working on a sub-game; mostly based texture packs, adventure and soon chemistry...

zyy571137
Member
Posts: 12
Joined: Mon Oct 07, 2013 06:45
Location: Hainan

by zyy571137 » Post

It looks great! where we can get the code, or the runnable binary version? I want this!
Last edited by zyy571137 on Mon Oct 07, 2013 07:24, edited 1 time in total.

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

by BlockMen » Post

I will post the patch if its worth to be posted ;)

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Post

BlockMen wrote:I will post the patch if its worth to be posted ;)
You don't plan to add this to the base game?

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

by rubenwardy » Post

He is showing you. :P
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

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

by jojoa1997 » Post

rubenwardy wrote:He is showing you. :P
I meant the code. The only reason I would think if he doesn't show the code is if he is still working on it.
Coding;
1X coding
3X debugging
12X tweaking to be just right

zyy571137
Member
Posts: 12
Joined: Mon Oct 07, 2013 06:45
Location: Hainan

by zyy571137 » Post

The video looks great, It looks good enough , post it please, I want to enjoy this cool :)
BlockMen wrote:I will post the patch if its worth to be posted ;)

viv100
Member
Posts: 80
Joined: Sat Aug 10, 2013 16:36

by viv100 » Post

can you get me the link to download

User avatar
Johnyknowhow
Member
Posts: 358
Joined: Fri Sep 21, 2012 15:17
In-game: Minetestian
Location: Washington, USA

by Johnyknowhow » Post

oh gosh BlockMen,
that is cool,
THAT IS COOL,
THAT IS COOL!
PLZPLZPLZ POST A DOWNLOAD! PLZPLZPLZ
Last edited by Johnyknowhow on Mon Nov 18, 2013 05:56, edited 1 time in total.
It's weird looking back on my old posts as an adult. Miss some of the old times though. Johnyknowhow#5272

User avatar
stormchaser3000
Member
Posts: 422
Joined: Sun Oct 06, 2013 21:02
GitHub: stormchaser3000

by stormchaser3000 » Post

please all it needs is some modification to add a hot key for interchangeability
Last edited by stormchaser3000 on Mon Nov 18, 2013 02:30, edited 1 time in total.

User avatar
Johnyknowhow
Member
Posts: 358
Joined: Fri Sep 21, 2012 15:17
In-game: Minetestian
Location: Washington, USA

by Johnyknowhow » Post

All it needs is front and back view,
And z to turn your head,
Or..... Maybe not,
But you could use f5 like in minecraft for front and back,
The order could be: 1st person, 3rd person back, 3rd person front,
but i still want a non-finished version, with just a keybind that you cant set,
Last edited by Johnyknowhow on Thu Nov 21, 2013 22:03, edited 1 time in total.
It's weird looking back on my old posts as an adult. Miss some of the old times though. Johnyknowhow#5272

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest