Post by ScrafFD (Brooke) on Mar 28, 2020 15:49:32 GMT -8
REAL HEAD MOTION v1.42
www.mediafire.com/file/yq7h61n29c2v4c6/Real_Head_Motion_1.042.zip/file
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 *
In attachment at end of Post. In the ZIP File.
Installation
Real Head motion is now compiled with Visual Studio 2015, you may need to install the according C++ Redistributable, you can download them here : www.microsoft.com/en-sg/download/details.aspx?id=48145
Install only if you get DLL errors when running the program.
Open program and click [Register DLLs]. .
Uninstallation
Open program and click [Unregister DLLs], then delete Folder. Your done.
User Interface
Is the same Interface than before, with 2 additional buttons.
upload_2017-1-1_16-13-59.png
Un/Register DLLs : Use to register or unregister Freetrack and trackIR Dlls to the Windows registry.
Look Options is same as before
upload_2017-1-1_16-14-15.png
Now you can unzip RHM where ever you want, because the Settings.XML is now save in Documents/RealHeadMotion/Settings.xml
The program simulate inner ear bumps filtration. You can tune the filtration using sliders.
Settings are automatically saved when exiting.
This version works only with AsettoCorsa 64bit :
Older version with Freepie can be found here : www.assettocorsa.net/forum/i...d-motion-0-9-5-deprecated-with-freepie.33164/
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.
Pitch/Roll checkbox : when checked , RHM will use the track Pitch/Roll instead of using the car Pitch/Roll. This information come from the Car tire contact information.
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.
Velocity Look LR Slider: parameter to have a look left/right depending on car angular velocity. The angular velocity is the speed of rotation of the car. Note that when sliding sideways , this value is low, because the car is actually not rotating. So for example: for drift purpose, you have to use this parameter and also Steer Look ahead LR to obtain wanted drift behavior ( look on left when sliding left )
Slip Angle Look LR Slider: parameter to have a look left/right depending on angle between car direction and car linear velocity.
Velocity Smoothing Slider: Filtering value for Angular velocity and Slip Angle to smooth.
Accel G Roll Slider: parameter to have a roll left/right depending car G lateral accel. It's NOT G effect on head, it's the motion that driver do to counter G Effect, so when turning right ,the head will roll to right
G Accel Smoothing Slider: Filtering value for G lateral accel to smooth.
Please note that Steer Look ahead LR is cumulating with Velocity Look LR: So if you set both to 90° you can have a 180° rotation. Same with Steer Look Roll and Accel G's roll
*** 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 :
Big button : click to bind a button,key or axis.
Small button : Unbind action.
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
Look Behind
Look behind function is a bit special, please read carrefully.
Look behind use the F6 camera, what is doing, is, when you press "Look Behind" it press F6 keyboard on Assetto Corsa
And when you release "Look Behind" it press F1 to get you back to driving view.
So you before using this feature, each time you launch A.C. you have to configure F6 camera on the Back view
To configure, you just need to press F6 several time until getting the back view.
Debug Windows
upload_2017-1-1_16-16-15.png
In Assetto Corsa
Uncheck "Lock onboard camera to horizon"
Limitations / Known Issues
RHM doesn't use when I run Assetto Corsa in Force 32 bit.
It's a known issue, I will try soon to figure this out. It seems that Freetrack.dll works only in 64b. So I will try to use TrackIR shared memory directly instead of FreeTrack shared memory in forced 32b.
RHM seems to run correctly but it is not working in game.
RHM uses Freetrack trackIR emulation to move camera onboard, so it will not work with other devices that move also use TrackIR emulation ( Like face track or a real Track IR )
Glance left/right look behind don't work anymore even when not running RHM app.
Assetto Corsa detect a trackIR because RHM use Freetrack trackIR emulation, 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.
Why there's not look behind button.
To make this work properly I should be able to move the camera in center of the car, otherwise you will just see the seat behind you. Unfortunatelly, translation of camera is ATM not possible in Asetto Corsa.
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
1.0.4.2 : - fixed crash if xml settings doesn't have GUID saved for action binding
- fixed keyboard GUID was not initialized
1.0.4 : - Per car settings
- device binding now use GUID instead of name, fix for Japanese language
1.0.2 : - Updated with latest AC Shared Memory.
- Settings.xml now saved into user/Documents/RealHeadMotion
- Added buttons to reg/unreg Freetrack DLLs
- Added new method to get Track pitch/roll ( Tire contact method )
- Added [x] button to close Debug window and Look Options window.
1.0.1 : - Removed the 'calibrate' button, and added an Unbind button.
1.0.0 : - Removed Freepie and directly use Freetrack dlls
0.9.5 : - fix Shared memory handle init for correct open in read only
0.9.4 : - Added look behind binding, please read explanations above
0.9.3 : - Fix SlipAngle when going reverse
- Fix filter value for smoothing back to old range
0.9.2 : - Fix Look over shoulder when no binding on shoulder buttons
- Added SlipAngle Look LR, in addtion to other 2 look LR ( Angular Velocity / Steering )
0.9.1 : - Look options and bindings are now in separte windows
0.9.0 : Added Angular Velocity Look LR
- Added G Lat Roll LR
- Now update is done in a independant thread, and dialog updated in TimeTick : CPU usage greatly reduced and should fix stuterring issues
- If no XML , correctly init with default values 0.8.1 : Update to new track IR range in A.C. 1.1
0.8.1 : Update to new track IR range, AC 1.1
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
Futur dev
Including head motion from G forces.
www.mediafire.com/file/yq7h61n29c2v4c6/Real_Head_Motion_1.042.zip/file
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 *
In attachment at end of Post. In the ZIP File.
Installation
Real Head motion is now compiled with Visual Studio 2015, you may need to install the according C++ Redistributable, you can download them here : www.microsoft.com/en-sg/download/details.aspx?id=48145
Install only if you get DLL errors when running the program.
Open program and click [Register DLLs]. .
Uninstallation
Open program and click [Unregister DLLs], then delete Folder. Your done.
User Interface
Is the same Interface than before, with 2 additional buttons.
upload_2017-1-1_16-13-59.png
Un/Register DLLs : Use to register or unregister Freetrack and trackIR Dlls to the Windows registry.
Look Options is same as before
upload_2017-1-1_16-14-15.png
Now you can unzip RHM where ever you want, because the Settings.XML is now save in Documents/RealHeadMotion/Settings.xml
The program simulate inner ear bumps filtration. You can tune the filtration using sliders.
Settings are automatically saved when exiting.
This version works only with AsettoCorsa 64bit :
Older version with Freepie can be found here : www.assettocorsa.net/forum/i...d-motion-0-9-5-deprecated-with-freepie.33164/
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.
Pitch/Roll checkbox : when checked , RHM will use the track Pitch/Roll instead of using the car Pitch/Roll. This information come from the Car tire contact information.
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.
Velocity Look LR Slider: parameter to have a look left/right depending on car angular velocity. The angular velocity is the speed of rotation of the car. Note that when sliding sideways , this value is low, because the car is actually not rotating. So for example: for drift purpose, you have to use this parameter and also Steer Look ahead LR to obtain wanted drift behavior ( look on left when sliding left )
Slip Angle Look LR Slider: parameter to have a look left/right depending on angle between car direction and car linear velocity.
Velocity Smoothing Slider: Filtering value for Angular velocity and Slip Angle to smooth.
Accel G Roll Slider: parameter to have a roll left/right depending car G lateral accel. It's NOT G effect on head, it's the motion that driver do to counter G Effect, so when turning right ,the head will roll to right
G Accel Smoothing Slider: Filtering value for G lateral accel to smooth.
Please note that Steer Look ahead LR is cumulating with Velocity Look LR: So if you set both to 90° you can have a 180° rotation. Same with Steer Look Roll and Accel G's roll
*** 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 :
Big button : click to bind a button,key or axis.
Small button : Unbind action.
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
Look Behind
Look behind function is a bit special, please read carrefully.
Look behind use the F6 camera, what is doing, is, when you press "Look Behind" it press F6 keyboard on Assetto Corsa
And when you release "Look Behind" it press F1 to get you back to driving view.
So you before using this feature, each time you launch A.C. you have to configure F6 camera on the Back view
To configure, you just need to press F6 several time until getting the back view.
Debug Windows
upload_2017-1-1_16-16-15.png
In Assetto Corsa
Uncheck "Lock onboard camera to horizon"
Limitations / Known Issues
RHM doesn't use when I run Assetto Corsa in Force 32 bit.
It's a known issue, I will try soon to figure this out. It seems that Freetrack.dll works only in 64b. So I will try to use TrackIR shared memory directly instead of FreeTrack shared memory in forced 32b.
RHM seems to run correctly but it is not working in game.
RHM uses Freetrack trackIR emulation to move camera onboard, so it will not work with other devices that move also use TrackIR emulation ( Like face track or a real Track IR )
Glance left/right look behind don't work anymore even when not running RHM app.
Assetto Corsa detect a trackIR because RHM use Freetrack trackIR emulation, 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.
Why there's not look behind button.
To make this work properly I should be able to move the camera in center of the car, otherwise you will just see the seat behind you. Unfortunatelly, translation of camera is ATM not possible in Asetto Corsa.
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
1.0.4.2 : - fixed crash if xml settings doesn't have GUID saved for action binding
- fixed keyboard GUID was not initialized
1.0.4 : - Per car settings
- device binding now use GUID instead of name, fix for Japanese language
1.0.2 : - Updated with latest AC Shared Memory.
- Settings.xml now saved into user/Documents/RealHeadMotion
- Added buttons to reg/unreg Freetrack DLLs
- Added new method to get Track pitch/roll ( Tire contact method )
- Added [x] button to close Debug window and Look Options window.
1.0.1 : - Removed the 'calibrate' button, and added an Unbind button.
1.0.0 : - Removed Freepie and directly use Freetrack dlls
0.9.5 : - fix Shared memory handle init for correct open in read only
0.9.4 : - Added look behind binding, please read explanations above
0.9.3 : - Fix SlipAngle when going reverse
- Fix filter value for smoothing back to old range
0.9.2 : - Fix Look over shoulder when no binding on shoulder buttons
- Added SlipAngle Look LR, in addtion to other 2 look LR ( Angular Velocity / Steering )
0.9.1 : - Look options and bindings are now in separte windows
0.9.0 : Added Angular Velocity Look LR
- Added G Lat Roll LR
- Now update is done in a independant thread, and dialog updated in TimeTick : CPU usage greatly reduced and should fix stuterring issues
- If no XML , correctly init with default values 0.8.1 : Update to new track IR range in A.C. 1.1
0.8.1 : Update to new track IR range, AC 1.1
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
Futur dev
Including head motion from G forces.