Altimeter and Speedometer
There are two tools in the max scene - Altimeter and Speedometer. Altimeter shows Z coordinate of the selected object. Speedometer shows speed of the selected object. Both tools are 3dsmax text objects with custom attributes. Custom attributes let you select display units or pick the new object to measure. There are also two slider objects to display altitude and speed in viewport. These sliders might be deleted if there is no need in them.
Script is written in 3ds Max 2016. It will work in all later versions and probably some of the early versions of 3ds Max.
Speedometer and Altimeter distance units: Units, Meters, Kilometers, Centimeters, Millimeters, Miles, Nautical Miles, Feet, Inches
Speedometer time units: Frame, Second, Minute, Hour
If Speedometer units are Nautical Miles/Hour it will be displayed as knots.
'Precision decimals' controls how many numbers will be displayed in value after dot.
For example: (4) ##.####, (2) ##.##, (6) ##.######, (0) ##
Update version 1.1
+ added 'Precision decimals' control for displayed value.
How to use it:
1. Merge .max file into your scene.
2. Attach point object pt_SPD_and_ALT_Meter to the object for which you want to calculate speed and altitude
3. Select Speedometer text object. In Modify panel under custom attributes you can choose display units or pick another object for calculations.
4. Select Altimeter text object. In Modify panel under custom attributes you can choose display units or pick another object for calculations.
Attachment | Size |
---|---|
altimeter_and_speedometer_v1.0.max | 568 KB |
altimeter_and_speedometer_v1.1.max | 796 KB |
Comments
speed tied to fps
we frequently use different or non-standard fps... can you either add an option tobe able to set your own time base or tie it to the project fps?
i think its using standard 30fps but we use 100fps or even 1000fps in some of our anims so the resulting values are off.
Works well, thank you.
Works well, thank you.