3rd person view

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

3rd person view

by BlockMen » Tue Sep 24, 2013 23:23

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: https://forum.minetest.net/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
Location: Montevideo, Uruguay
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Tue Sep 24, 2013 23:40

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
 

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

by Inocudom » Wed Sep 25, 2013 01:06

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.
The comedic value of my videos is how abysmal they are: https://www.youtube.com/channel/UC5cyeM ... YTfYFlih_A
 

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

by rubenwardy » Wed Sep 25, 2013 08:09

You can not see the cross hair, so you need to move the player to the left, relative to the camera. Like in GTA.
 

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

by jojoa1997 » Wed Sep 25, 2013 11:00

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: 1372
Joined: Sat Jul 06, 2013 06:33
Location: world
GitHub: hoodedice
IRC: hoodedice
In-game: hoodedice

by hoodedice » Wed Sep 25, 2013 11:28

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: 308
Joined: Sat Sep 24, 2011 01:03
Location: Underground

by Melkor » Sat Sep 28, 2013 18:20

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: https://forum.minetest.net/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 » Wed Oct 02, 2013 18:44

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

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

by Rhys » Wed Oct 02, 2013 18:47

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
Location: A forest in the midwest
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Wed Oct 02, 2013 20:29

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 » Fri Oct 04, 2013 23:01

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

by Mcc457 » Sat Oct 05, 2013 15:14

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: 1372
Joined: Sat Jul 06, 2013 06:33
Location: world
GitHub: hoodedice
IRC: hoodedice
In-game: hoodedice

by hoodedice » Sat Oct 05, 2013 15:17

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

by Mcc457 » Sun Oct 06, 2013 20:37

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 » Mon Oct 07, 2013 07:21

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
Location: Germany
GitHub: BlockMen

by BlockMen » Mon Oct 07, 2013 15:07

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

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

by Inocudom » Mon Oct 07, 2013 16:17

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


You don't plan to add this to the base game?
The comedic value of my videos is how abysmal they are: https://www.youtube.com/channel/UC5cyeM ... YTfYFlih_A
 

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

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

by jojoa1997 » Mon Oct 07, 2013 17:26

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 » Mon Oct 14, 2013 08:11

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 » Wed Oct 30, 2013 18:31

can you get me the link to download
 

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

by Johnyknowhow » Sun Nov 17, 2013 22:56

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.
I lost interest in Minetest for a couple of years and... I am still not really paying much attention. I rarely browse these forums anymore but it's nice to see old faces.

obligatory fancy signature goes here
 

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

by stormchaser3000 » Mon Nov 18, 2013 02:29

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
Location: Washington, USA
In-game: Minetestian

by Johnyknowhow » Mon Nov 18, 2013 05:45

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.
I lost interest in Minetest for a couple of years and... I am still not really paying much attention. I rarely browse these forums anymore but it's nice to see old faces.

obligatory fancy signature goes here
 

Next

Return to Partly official engine development



Who is online

Users browsing this forum: Majestic-12 [Bot] and 0 guests