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

by BlockMen » Sat Jan 18, 2014 10:17

Nothing new, just a new build for windows-users to test front-view and improved camera positioning:

https://www.dropbox.com/s/tqevf5pibo80ktl/minetest-0.4.9-3rdpv2.zip
 

User avatar
Casimir
Member
 
Posts: 1163
Joined: Fri Aug 03, 2012 16:59
GitHub: CasimirKaPazi
 

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

by Mcc457 » Sat Jan 18, 2014 18:19

This is so awesome! I wish there was a better way to thank you and everybody who puts aside time to develop these things! This is going as default in Fiveflags!
Working on a sub-game; mostly based texture packs, adventure and soon chemistry...
 

User avatar
Gambit
Member
 
Posts: 453
Joined: Sat Oct 29, 2011 19:31
Location: United States

by Gambit » Sun Jan 19, 2014 01:58

Hopefully there will be a top-down view and a 45 degree angle view added.
Current Projects: MineToon | PixelBOX
Gambit's Checkmate Server - 43.65.296.232 - port: 30001
 

User avatar
GingerHunter797
Member
 
Posts: 144
Joined: Sun Oct 13, 2013 15:36
Location: Indiana
In-game: GingerHunter797

by GingerHunter797 » Wed Jan 22, 2014 22:57

I REALLY love this. This is SO cool! I really hope this makes it into the next release. I just have one qualm about it... MC does the samething, and that is that the cross hairs are on the back of the chars head.I really dont like this because I cant see what im mining...
http://i.imgur.com/gqXXUaI.png

3DS Friend Code: 2122-7173-2797
Add me as a friend! :D

Want to play a fun game? http://voxelands.com/
 

gsmanners
Member
 
Posts: 159
Joined: Fri Jan 10, 2014 21:37

by gsmanners » Thu Jan 23, 2014 22:35

Rather than different modes, what this should do is let you have a button for making the camera freely move. It could default to middle mouse button, since that isn't used for anything, currently.
 

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

by Calinou » Fri Jan 24, 2014 21:15

gsmanners wrote:Rather than different modes, what this should do is let you have a button for making the camera freely move. It could default to middle mouse button, since that isn't used for anything, currently.


It could let people see anywhere (even in areas that are supposed to be private), so that should probably only be enabled if you have some privilege.
 

gsmanners
Member
 
Posts: 159
Joined: Fri Jan 10, 2014 21:37

by gsmanners » Sat Jan 25, 2014 04:50

That's a good idea. Have a fly cam if you have fly privs and a camera locked into looking at the player, otherwise.
Last edited by gsmanners on Sat Jan 25, 2014 04:50, edited 1 time in total.
 

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

by Inocudom » Sat Jan 25, 2014 05:08

gsmanners wrote:That's a good idea. Have a fly cam if you have fly privs and a camera locked into looking at the player, otherwise.


The camera should not be able to go through blocks unless the noclip priviledge is had.
You can now find my videos at BitChute: https://www.bitchute.com/channel/some_cheeky_jinuskian/
 

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 » Sat Jan 25, 2014 13:15

Inocudom wrote:
gsmanners wrote:That's a good idea. Have a fly cam if you have fly privs and a camera locked into looking at the player, otherwise.


The camera should not be able to go through blocks unless the noclip priviledge is had.
Right, it could be used for cheating.
Back from the dead!
 

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

by Inocudom » Sat Jan 25, 2014 15:12

Evergreen wrote:
Inocudom wrote:
gsmanners wrote:That's a good idea. Have a fly cam if you have fly privs and a camera locked into looking at the player, otherwise.


The camera should not be able to go through blocks unless the noclip priviledge is had.
Right, it could be used for cheating.


To further limit cheating, the camera's maximum distance from the player should be limited (this also prevents players from taking the camera all the way to the end of the world.)

For the sake of realism, first person view could allow the player to look down at his/her body from where his/her head is (and the camera would be inside the head, of course.) PilzAdam did attempt something like this before:
https://forum.minetest.net/viewtopic.php?pid=80739#p80739
Last edited by Inocudom on Sat Jan 25, 2014 15:17, edited 1 time in total.
You can now find my videos at BitChute: https://www.bitchute.com/channel/some_cheeky_jinuskian/
 

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

by BlockMen » Sun Jan 26, 2014 12:38

A free moveable camera would be an idea for somewhen far in the future. At least i wont do it next time.

Inocudom wrote:For the sake of realism, first person view could allow the player to look down at his/her body from where his/her head is (and the camera would be inside the head, of course.) PilzAdam did attempt something like this before:
https://forum.minetest.net/viewtopic.php?pid=80739#p80739


IMO it looks crap. Furthermore you cant place the camera inside of the head since you would see the mesh/model from inside then. And you get even more problems with the wield items since the models animations are then visible (like the digging arm) and would cause interferences.
 

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

by hoodedice » Sun Jan 26, 2014 14:04

BlockMen wrote:A free moveable camera would be an idea for somewhen far in the future. At least i wont do it next time.

Inocudom wrote:For the sake of realism, first person view could allow the player to look down at his/her body from where his/her head is (and the camera would be inside the head, of course.) PilzAdam did attempt something like this before:
https://forum.minetest.net/viewtopic.php?pid=80739#p80739


IMO it looks crap. Furthermore you cant place the camera inside of the head since you would see the mesh/model from inside then. And you get even more problems with the wield items since the models animations are then visible (like the digging arm) and would cause interferences.


What if we used another mesh, which would be overridden for other players on server, that would not have a head? And then fix the camera such that certain views, such as looking straight down at your neck is impossible?

I don't get what you mean by "And you get even more problems with the wield items since the models animations are then visible (like the digging arm) and would cause interferences"
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
BlockMen
Developer
 
Posts: 768
Joined: Fri Mar 01, 2013 17:24
Location: Germany
GitHub: BlockMen

by BlockMen » Sun Jan 26, 2014 14:48

hoodedice wrote:
BlockMen wrote:A free moveable camera would be an idea for somewhen far in the future. At least i wont do it next time.

Inocudom wrote:For the sake of realism, first person view could allow the player to look down at his/her body from where his/her head is (and the camera would be inside the head, of course.) PilzAdam did attempt something like this before:
https://forum.minetest.net/viewtopic.php?pid=80739#p80739


IMO it looks crap. Furthermore you cant place the camera inside of the head since you would see the mesh/model from inside then. And you get even more problems with the wield items since the models animations are then visible (like the digging arm) and would cause interferences.


What if we used another mesh, which would be overridden for other players on server, that would not have a head? And then fix the camera such that certain views, such as looking straight down at your neck is impossible?

I don't get what you mean by "And you get even more problems with the wield items since the models animations are then visible (like the digging arm) and would cause interferences"


With a headless mesh it would work, yes. That needs to be used just by client then, so one mesh more to download when connecting to server.

And maybe its better to understand when trying out ;) Remove https://github.com/BlockMen/minetest/blob/third_person_view/src/game.cpp#L3344 and https://github.com/BlockMen/minetest/blob/third_person_view/src/content_cao.cpp#L1129 then you will see what i mean.

Well, that could be done with that "client-side" headless model to, but i dont think that it should be done like that...
 

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

by hoodedice » Sun Jan 26, 2014 15:13

TOO MUCH CODE. HEAD STUCK IN LAPTOP HINGE.

Sorry man, but I don't know C++ yet =/
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
Inocudom
Member
 
Posts: 3072
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Sun Jan 26, 2014 18:59

BlockMen wrote:
hoodedice wrote:
BlockMen wrote:A free moveable camera would be an idea for somewhen far in the future. At least i wont do it next time.



IMO it looks crap. Furthermore you cant place the camera inside of the head since you would see the mesh/model from inside then. And you get even more problems with the wield items since the models animations are then visible (like the digging arm) and would cause interferences.


What if we used another mesh, which would be overridden for other players on server, that would not have a head? And then fix the camera such that certain views, such as looking straight down at your neck is impossible?

I don't get what you mean by "And you get even more problems with the wield items since the models animations are then visible (like the digging arm) and would cause interferences"


With a headless mesh it would work, yes. That needs to be used just by client then, so one mesh more to download when connecting to server.

And maybe its better to understand when trying out ;) Remove https://github.com/BlockMen/minetest/blob/third_person_view/src/game.cpp#L3344 and https://github.com/BlockMen/minetest/blob/third_person_view/src/content_cao.cpp#L1129 then you will see what i mean.

Well, that could be done with that "client-side" headless model to, but i dont think that it should be done like that...

From what I noticed, only the outside faces of the default player model's mesh are visible.
You can now find my videos at BitChute: https://www.bitchute.com/channel/some_cheeky_jinuskian/
 

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

by rubenwardy » Sun Jan 26, 2014 19:04

Inocudom wrote:From what I noticed, only the outside faces of the default player model's mesh are visible.


Yes, but when you look down, there will be a point where you can see the edges of the mesh.
 

User avatar
Misty
Member
 
Posts: 51
Joined: Sun Jun 16, 2013 02:09

by Misty » Thu Jan 30, 2014 05:30

Blockmen,

Great work.
I am waiting patiently for this to be added to Minetest.
Third person view will be wonderful for let's play, tutorial, and video screenshot videos.
( also It would just be fun to see how our characters look in the Minetest world. )
I play on Linux, so unfortunately a windows build, or a patch for Minetest on Windows isnt something I can use.

I'm going to scroll back and reread this topic in case I missed something about a linux download, but I wanted to let you know how excited I am to have this feature in the works. I've been meaning to say something for a while.
I watched the Videos and third person view is looking good, I want a cape to. :)
Certified 100% signature Virus free.
 

CWz
Member
 
Posts: 197
Joined: Tue Dec 24, 2013 17:01
Location: Banana Land
GitHub: chaoswormz
IRC: CWz
In-game: CWz

by CWz » Thu Jan 30, 2014 10:25

Misty wrote:I play on Linux, so unfortunately a windows build, or a patch for Minetest on Windows isnt something I can use.


you can compile from git.
Last edited by CWz on Thu Jan 30, 2014 10:27, edited 1 time in total.
I am CWz on the following servers: Bluelobster, turtletango, VanessaE's servers, linuxgaming, redcrab, Silvercrab, ChainLynx, lord of the test server. If you see CWz on server other then those then chances are it's a Fake. you can contact me on irc.freenode.net or by PM if you are not sure
 

User avatar
DeepGaze
Member
 
Posts: 332
Joined: Fri May 10, 2013 00:49
Location: Take your best guess
GitHub: DeepGaze
IRC: DeepGaze
In-game: DeepGaze

by DeepGaze » Thu Jan 30, 2014 10:32

f5 is for coordinates and developer console
Last edited by DeepGaze on Thu Jan 30, 2014 10:32, edited 1 time in total.
there's no place like 127.0.0.1
The deep life Minetest text page
minetest cards
 

gsmanners
Member
 
Posts: 159
Joined: Fri Jan 10, 2014 21:37

by gsmanners » Thu Jan 30, 2014 12:48

I think this is using F7.

Anyway, another way you could go would be to use the Skyrim method: Free look (with the camera snapped to the player) all the time except if the player is moving the character with directional keys (WASD). If the character is moving, then you lock the camera behind or in front of the character.
 

User avatar
Misty
Member
 
Posts: 51
Joined: Sun Jun 16, 2013 02:09

by Misty » Tue Feb 04, 2014 04:57

CWz yes, thanks. if I get desperate to try this I will compile from git.
Certified 100% signature Virus free.
 

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 » Tue Feb 04, 2014 13:59

Misty wrote:CWz yes, thanks. if I get desperate to try this I will compile from git.
Misty, in linux, compiling things is normal. It isn't just some "Last resort". Just download it from github, copy minetest_game to the game folder, then cmake. - DRUN_IN_PLACE=1 make -j3 ./minetest/bin/minetest. BAM
Back from the dead!
 

User avatar
webdesigner97
Member
 
Posts: 1325
Joined: Mon Jul 30, 2012 19:16
Location: Bergisch Gladbach, Germany
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97

by webdesigner97 » Tue Feb 04, 2014 16:43

Evergreen wrote:
Misty wrote:CWz yes, thanks. if I get desperate to try this I will compile from git.
Misty, in linux, compiling things is normal. It isn't just some "Last resort". Just download it from github, copy minetest_game to the game folder, then cmake. - DRUN_IN_PLACE=1 make -j3 ./minetest/bin/minetest. BAM

If it would be that simple one Windows... (I am quite sure that within the next 4 hours someone will post that Windows is sh*t)
 

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 » Tue Feb 04, 2014 17:19

webdesigner97 wrote:
Evergreen wrote:
Misty wrote:CWz yes, thanks. if I get desperate to try this I will compile from git.
Misty, in linux, compiling things is normal. It isn't just some "Last resort". Just download it from github, copy minetest_game to the game folder, then cmake. - DRUN_IN_PLACE=1 make -j3 ./minetest/bin/minetest. BAM

If it would be that simple one Windows... (I am quite sure that within the next 4 hours someone will post that Windows is sh*t)
Yes, it's not that simple on windows. :P
Back from the dead!
 

PreviousNext

Return to Partly official engine development



Who is online

Users browsing this forum: No registered users and 1 guest