3rd person view

User avatar
Inocudom
Member
 
Posts: 2889
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.
 

User avatar
BlockMen
Member
 
Posts: 768
Joined: Fri Mar 01, 2013 17:24
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

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
Member
 
Posts: 768
Joined: Fri Mar 01, 2013 17:24
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

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: 2889
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.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
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: 185
Joined: Tue Dec 24, 2013 17:01

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
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: 2131
Joined: Sun Jan 06, 2013 01:22
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
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

User avatar
webdesigner97
Member
 
Posts: 1307
Joined: Mon Jul 30, 2012 19:16
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: 2131
Joined: Sun Jan 06, 2013 01:22
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
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

CheerfulCherub
Member
 
Posts: 59
Joined: Sat Jan 25, 2014 23:03

by CheerfulCherub » Mon Mar 03, 2014 02:34

I tried this on Minetest Direct X dev and it didn't work, what name are you suppose to give it, or just not working on that version.
 

User avatar
webdesigner97
Member
 
Posts: 1307
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97

by webdesigner97 » Mon Mar 03, 2014 06:29

This is not a mod which you just copy and rename...
 

User avatar
Capaverdeferro
Member
 
Posts: 68
Joined: Mon Feb 03, 2014 22:21

by Capaverdeferro » Tue Apr 01, 2014 15:17

linux?
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Tue Apr 01, 2014 17:59

Capaverdeferro wrote:linux?
*sigh* Just git clone the repository and compile it.
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

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

by Inocudom » Tue Apr 01, 2014 18:20

Why has this not been added to Minetest yet?
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Tue Apr 01, 2014 18:49

Inocudom wrote:Why has this not been added to Minetest yet?

The code used to achieve the 3rd person view is hacky.
It either needs to use pre-defined animations (which is bad) or wait for the server to answer (which is laggy).
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
BlockMen
Member
 
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen

by BlockMen » Sat Apr 05, 2014 19:34

sfan5 wrote:The code used to achieve the 3rd person view is hacky.

Not anymore.
sfan5 wrote:It either needs to use pre-defined animations (which is bad) or wait for the server to answer (which is laggy).

Why should that be bad? Thats the only way to allow costum models (with other framerates) and to prevent laggy (walking and digging) animations.
 

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

by Inocudom » Sun Apr 06, 2014 11:30

BlockMen wrote:
sfan5 wrote:The code used to achieve the 3rd person view is hacky.

Not anymore.
sfan5 wrote:It either needs to use pre-defined animations (which is bad) or wait for the server to answer (which is laggy).

Why should that be bad? Thats the only way to allow costum models (with other framerates) and to prevent laggy (walking and digging) animations.

...And that is all of the discussion concerning this feature? Really? I guess nobody really cares about it, which is a shame.

Freeminer has this feature in it, but the community of that fork pretty much forced me to eternally divorce it.
 

4aiman
Member
 
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

by 4aiman » Sun Apr 06, 2014 13:54

It seems that Blockmen has no idea HOW laggy it is..
Also it's "custom". "CUSTOM", dude, first "U" and then "O", NOT otherwise! You can't just swap letters and pretend that no one cares! For ages different people has told you about this and still you're "costumized" that word so it fits you...
What's worse, you're making this mistake in your mods too!
And then Russian pupils start asking why it's a mistake, 'cause some Blockmen (which should be spelled with "a", not "e", BTW) has wrote it at some English forum which makes him right and those pupils teacher and parents wrong.
Please STOP making this stupid mistake and spell it like this: "custom". Note, that "cost" is NOT the word to check the spelling of "custom" - they're NOT related.
Тьфу, коробит аж!
*IDK how to translate the above one into English, but it's a nice way to say that "this mistake makes me mad"*

Incudom, have you ever seen how it works within Freeminer? It's HORRIBLE. Animations are all messed up.
Last edited by 4aiman on Sun Apr 06, 2014 13:54, edited 1 time in total.
 

User avatar
BlockMen
Member
 
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen

by BlockMen » Sun Apr 06, 2014 15:48

4aiman wrote:It seems that Blockmen has no idea HOW laggy it is..
Also it's "custom". "CUSTOM", dude, first "U" and then "O", NOT otherwise! You can't just swap letters and pretend that no one cares! For ages different people has told you about this and still you're "costumized" that word so it fits you...
What's worse, you're making this mistake in your mods too!
And then Russian pupils start asking why it's a mistake, 'cause some Blockmen (which should be spelled with "a", not "e", BTW) has wrote it at some English forum which makes him right and those pupils teacher and parents wrong.
Please STOP making this stupid mistake and spell it like this: "custom". Note, that "cost" is NOT the word to check the spelling of "custom" - they're NOT related.
Тьфу, коробит аж!
*IDK how to translate the above one into English, but it's a nice way to say that "this mistake makes me mad"*

Incudom, have you ever seen how it works within Freeminer? It's HORRIBLE. Animations are all messed up.



1) I know that my english is not good and that i make mistakes, but i never said that my english good. Furthermore im not a teacher so im not in charge that pupils learn correct english.

2) When i have seen a hint on misspelling i corrected it, so what the hell are you talking about?

3) I know that "BlockMen" is not spelled correct in the sense of a blocky man, but i have chosen that nick because it is everywhere available. And since when has a nick be spelled correct or be logical, 4aiman?

4) This is absolutely OFFtopic and would be better placed in a pm if your real intention would be to help.

5) I dont know if anything got messed up in FM, but that code proller included in FM worked fine in MT. The animation of your character in 3rd person view cant be laggy except you are running the game on an electric toothbrush.

And if you think it is that bad, why dont you fix it? Seems that raging over other ppl and their spelling makes more fun...
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Sun Apr 06, 2014 15:53

4aiman wrote:It seems that Blockmen has no idea HOW laggy it is..
Also it's "custom". "CUSTOM", dude, first "U" and then "O", NOT otherwise! You can't just swap letters and pretend that no one cares! For ages different people has told you about this and still you're "costumized" that word so it fits you...
What's worse, you're making this mistake in your mods too!
And then Russian pupils start asking why it's a mistake, 'cause some Blockmen (which should be spelled with "a", not "e", BTW) has wrote it at some English forum which makes him right and those pupils teacher and parents wrong.
Please STOP making this stupid mistake and spell it like this: "custom". Note, that "cost" is NOT the word to check the spelling of "custom" - they're NOT related.
Тьфу, коробит аж!
*IDK how to translate the above one into English, but it's a nice way to say that "this mistake makes me mad"*

Incudom, have you ever seen how it works within Freeminer? It's HORRIBLE. Animations are all messed up.


That was uncalled for.
 

4aiman
Member
 
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

by 4aiman » Sun Apr 06, 2014 18:25

https://forum.minetest.net/viewtopic.php?pid=136140#p136140
https://forum.minetest.net/viewtopic.php?pid=118680#p118680
https://forum.minetest.net/viewtopic.php?pid=118097#p118097
https://forum.minetest.net/viewtopic.php?pid=113017#p113017
https://forum.minetest.net/viewtopic.php?pid=97121#p97121

Uncalled, huh? Search for "costum". I'm sorry for doing this, but it's the only way to not allow some "costum" variables into the engine.

3rd person needs work. A lot. I don't need this feature, but it should be fixed for multiplayer.
For me it's more important to fix Pseudorandom:Next documentation which is currently lying to us.
Last edited by 4aiman on Sun Apr 06, 2014 18:33, edited 1 time in total.
 

Amaz
Member
 
Posts: 328
Joined: Wed May 08, 2013 08:26
GitHub: Amaz1
IRC: Amaz
In-game: Amaz

by Amaz » Sun Apr 06, 2014 19:47

I can't compile this on Ubuntu... Cmake runs fine as does make, until it gets to the minetestserver exectable. When it has compiled(?) that, it returns this error:
[spoiler]
[ 62%] Building CXX object src/CMakeFiles/minetestserver.dir/voxelalgorithms.cpp.o
Linking CXX executable ../bin/minetestserver
[ 62%] Built target minetestserver
make: *** [all] Error 2
[/spoiler]
And I don't see any error messages up to that point... And I'm just compiling as it says to in the readme.
Any help would be greatly appreciated! Thanks!
Last edited by Amaz on Sun Apr 06, 2014 19:52, edited 1 time in total.
 

User avatar
hoodedice
Member
 
Posts: 1372
Joined: Sat Jul 06, 2013 06:33

by hoodedice » Sun Apr 06, 2014 20:00

4aiman wrote:https://forum.minetest.net/viewtopic.php?pid=136140#p136140
https://forum.minetest.net/viewtopic.php?pid=118680#p118680
https://forum.minetest.net/viewtopic.php?pid=118097#p118097
https://forum.minetest.net/viewtopic.php?pid=113017#p113017
https://forum.minetest.net/viewtopic.php?pid=97121#p97121

Uncalled, huh? Search for "costum". I'm sorry for doing this, but it's the only way to not allow some "costum" variables into the engine.

3rd person needs work. A lot. I don't need this feature, but it should be fixed for multiplayer.
For me it's more important to fix Pseudorandom:Next documentation which is currently lying to us.


Dude. At that time, I was working on my fork of that mod, and I was getting errors because I was misspelling 'costum'. But then again, it's just a code and as long as you get the code right, it shouldn't be a problem.

What are you doing? Are you working on this patch? Are you working on that mod? Does the misspelling of 'custom' cause any difficulties for you, apart from the general OCD which all grammar nazis get? I worked on it, so I have a right to complain, because it was a general problem in a variable name. Which could be easily fixed. So it was no biggie and I stopped asking.


Now, as far as the patch itself is concerned, I did try the windows build out, and it works well, with no problems apart from the 'pointer in front of head' one. As such, I still request for a GTA 4 style over-the-shoulder-cam to be added, if possible.
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
 

4aiman
Member
 
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

by 4aiman » Mon Apr 07, 2014 07:32

@ hoodedice:
I've answered your questions via PM.
You're free to tell anyone what I've wrote to you or to repost it here if you think that's necessary or someone would ask you (on which behalf I doubt).

@ Amaz:
Please, describe the activity you're performing to build: commands, listings, debug output etc.
 

PreviousNext

Return to Minetest Engine

Who is online

Users browsing this forum: No registered users and 13 guests

cron