Jump to content

Real Head Motion by magicfr 0.8.0


VELOCIPEDE

Recommended Posts

What this Apps is doing

Biological facts
The feel of equilibrium, acceleration, gravity, and so bumps are not feel by the eye but with the inner hear. Wich is made of liquid and crystals in circular tunnels.

When the inner hear feels bumps and head motion, it instinctly moves your eyes to soften/filter/remove those bumps.

2 experiences to demonstrate that.
1) when put somebody on a chair, in complete dark, you film his eyes with an infrared caemras, you turn the chair, is eyes will roll too, even if he see nothing

2) this one you can do it yourself, looks at in front of you, at your screen, now shake your head, the vision will not move.

When there is conflicting information from inner hear and eye, you feel strange, it's difficult to focus on the road, and you can have nausea.

What happens in a car
When you are driving, you are looking the road, and all the bumps are filter/corrected by your inner hear, so the viewing of the track is smooth and it's the car cockpit that moving around you.

What happens in a Sim
Because you are sitting and a standing chair/seat, you head is not moving at all, so the inner ear is not working, the eye don't correct the bumps.
That's make 2 issues :
1) you can't focus on the road, the road is shaking and not smooth, it's difficult to drive
2) you can get nausea because you have conflicting information from eyes and inner hear.

How it should be in a Sim
The camera should stayed focus on the track and not locked to car cockpit,that's what my App is doing by filtering bumps and slopes.

***************** Download ****************

You can download there :

https://sites.google.com/site/midid...otion-plugin/realheadmotion-for-assetto-corsa

Installation
You must download and install FreePIE FreePIE.1.5.0.0.msi from link in bottom of page for the main RHM site (link above ) , it contain Console version compiled by "MMS" from Assetto Corsa forum, thanks to him. Don't forget to uninstall older version of FreePIE.

Real Head motion is now compiled with Visual Studio 2013, you may need to install the according C++ Redistributable, you can download them here : http://www.microsoft.com/fr-fr/download/details.aspx?id=40784
Install only if you get DLL errors when running the program.

Download lateset RealHeadMotion zip archive from link in bottom of page ( click the down arrow )
Unzip archive in a folder where you want, the folder must NOT be read only, or it will not able to save the save file.

Then you start RealHeadMotion.exe program

upload_2014-6-22_18-35-25-png.22620

Then you must configure FreePIE console and script location, use the [...] to browse.
FreePIE location : click [...] and browse for FreePIE.Console.exe file, should be in C:\Program Files (x86)\FreePIE\ from default install , NOT FreePIE.exe
Script Location : click [...] and browse for ACRealHeadMotion.py where you unziped Real Head Motion.

*** IMPORTANT *** Don't put any RealHeadMotion file in C:\Program Files, or any System directory, because of windows security FreePIE will be not able to run the script, and RHM will be not able to save settings. You can put in directory like C:\Games\RHM_AC, or any other dir/drive.

Once both are set, FreePIE should be run automatically. You can check that with opening the Debug Windows.
When Assetto corsa is running it will be writen in the Debug Info text, with car and track name.

upload_2014-6-21_21-4-51-png.22543

The program simulate inner ear bumps filtration. You can tune the filtration using sliders.

Settings are automatically saved in RealHeadMotionSettings.xml when exiting.

Refresh rate configuration

You must edit RealHeadMotionSettings.xml when the program is not running
edit line

Code:
    <RefreshRate Val="100"/>

Valid values are between 1fps and 1000fps

Legend

Pitch/Roll filter
: the amount of vibration/bump filtering, the more to the right, the more the head/eyes will remain stable
Pitch/Roll Min Angle : the angle when the head start to catchup the car orientation, before that it stay lock to world horizon.

Steering Look Ahead LR Slider: parameter to have a look left/right when turning wheel left/right the bigger, the more angle it will look left/right.

Steering Look Ahead LR Min Max : range of wheel steering ( 0 to 1 ) to start,stop the Steering Yaw. Example, min 0.25, max 0.75, it will start turn head when steering >025 and it will reach maximum head yaw, when steering reach 0.75

Steering Look Ahead Roll : same but for roll ( lean left right ) when turing steering wheel

Steer Smoothing : Filtering value for Steering input , to smooth the look ahead motion.

*** Edit Box for Min Max values *** Value must be validate with ENTER, background will turn red if value is not validated, if value is not validated it will not be saved to XML file.

Binding Action :


*** Before Binding, you must Calibrate Devices 1 time when you lanch RHM App ***

Big button : click to bind a button,key or axis.
Smoothing slider : To smooth the input
Dead zone slider: Add a deadzone to input
Val : current real time value ( take account of smoothing and deadzone )

Angle Settings

Look Left Right Angle : Amount of angle when looking left right
Look Shoulder Angle : Amount of angle when looking above shoulder left right
Look Up Down Angle : Amount of angle when looking up and down
Pitch Offset : Static pitch offset.

Look over shoulder "simulation"

If you don't bind the look over shoulder button, you can still simulate it, for that you have to presse Look Left then Look Right while still holding Look Left, it will do a Look over Left shoulder.
If you press first Look Right, it will do a Look over right shoulder

In Assetto Corsa

Uncheck "Lock onboard camera to horizon"

Limitations / Known Issues

RHM seems to run correctly but it is not working in game.
RHM uses FreePIE and use the trackIR emulation to move camera onboard, so it will not work with other devices that move the head ( TrackIR, Occulus Rift )

Glance left/right look behind don't work anymore even when not running RHM app.
Assetto Corsa detect a trackIR with FreePIE, glance left/right and look behind don't work anymore with the in game binding.
Workaround :
Bind your key directly in Real Head Motion software.

If you want to use the in game binding you must uninstall FreePIE, until Kunos add a feature to disactivate TrackIR detection in game.

Versions
0.8.0 : Update to new shared memory 0.22
0.7.9 : choose refresh rate in XML settings
0.7.8 : all slider have an edit box, select slider with Left button , then right click on slider, Enter to valid.
0.7.7 : - All edit box are now editable, when edited background turn red until validated with ENTER.
0.7.6.1 - Fix Steering Smoohting maths.
0.7.6 - added max shoulder angle to 180°
- potential fix to flickering
- fixed shoulder simulation activating with high smoothing for look LR
- Apps running at 100fps
0.7.5 - encapsuling FreePIE path and script path with quotes ( " ) to deal with patch with space or special char in it.
0.7.4 - Direct Input and binding look button are back
- added look shoulder left/right
- added pitch offset
0.7.3 - Edit box goes Red when not validated ( press ENTER )
0.7.0 - Recode from scratch,because I don't have access to my source code stored in other PC that is gone to support for reparation.
0.6.7 - add Roll to steer Yaw
0.6.6 - add start minimized check box
- version automatic print in title
0.6.5 - Now check in Windows process if FreePIE console is really running
- Add Restart button, to kill and restart FreePIE
- If checkbox ShowDebugInfo is checked, it will run FreePIE console not hided
0.6.4 - Fixed application closing when binding look Right
- Added now DPad is working to bind button
0.6.3 - Add pitch offset
0.6.2 - Add more error info if can't running FreePIE
- Removed Exit button, and use system menu instead with minimize and close button.
0.6.1 -Now save file is XML so support for versionning without loosing settings
- Steering Yaw max angle set to 45° from 30°
0.6 - Integration of FreePIE console version
0.5.5 - Fixed saving slider position
- Added axis look deadzone slider
- Added Steering Yaw feature
0.5.4 -Adding look back button ( = LookLeft + lookRight = Look above Left Shoulder )
- fixed moving filter slider didn't take effect until relaunching app, now working realtime
- added sliders to choose look angle ( 30° to 90° ) and Look above shoulder ( 120° to 160° )
- adding file versioning of save file, no need to delete save file with new version ( but still can't load older version )
0.5.3 Pushing Button left then button right in same time, looks behind to the left ( 160° ), and vice-versa
0.5.2 Check box to print debug info or not, debug info take quite some CPU ( 5% on I5 )
0.5.1 release, fix binding going +INF with buttons
0.5:
- fix black screens
- fixsound loss
- fixsevere shacking with high AC fps
- fixphantom bindings
0.4.2 : now run at 200fps, fix binding action init default value
0.4.1 : fix shacking , optimize script and code for better refresh method
0.4 : fix loading save crashes when not all buttons binded
0.3 : added saving settings on exit
0.2 : added directInput support and look buttons.
0.1 : only filterting

 

fonte AC forum

Link to comment
Share on other sites

  • 4 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.