PDA

View Full Version : Velocity Display - Help Needed


Joel Hooks
10-11-2002, 07:55 PM
There was an IPAS routine for 3ds R4 called Tempo that helped to calculate MPH and velocity.

Has anybody seen a script or utility that might help in this, or know of a method to get correct MPH inside of 3dsmax r5?

Equinoxx
10-11-2002, 08:33 PM
a co-worker of mine wrote one, but unfortunatelly, i ain't got it here at home . .. if no-one provides a solution over the weekend, i could get it to you on monday i suppose . . . how's that ??

it's in KPH [kilometers per hour] tho .. . . but i'll see if i can get him to make it in mph too ;)

Joel Hooks
10-11-2002, 08:52 PM
That would be so helpful to me. If he could convert it that would be great, otherwise I can do the math! It will certainly be better than the hokey way I am working now. hehe

Thanks! :bounce:

visualboo
10-12-2002, 01:19 AM
EQ, post that sucker :D

Equinoxx
10-12-2002, 11:48 AM
will do . . . tho i need to ask his permission ofcourse,
but i'm sure he won't mind . . .

Equinoxx
10-14-2002, 10:36 AM
well then, here it is

MvH Tools - Speed Display 1.0 (http://equinoxx.cgcommunity.com/temp/mvh_tools_speeddisplay.zip)

it's only in kilometers per hour tho . . . so you need to do the math yourself ;)

Joel Hooks
10-14-2002, 07:34 PM
Equinoxx: I hate to be dense. I load the script, found it in the customize interface, gave it a key, and added it to a menu, but I can't get it to display. Whats the trick?

Thanks!

Joel Hooks
10-14-2002, 08:14 PM
Well, I found the dummy it made, so I think I am set now. I was even able to figure out how to display MPH.

I wish I understood scripting. so handy.

visualboo
10-14-2002, 08:31 PM
I was even able to figure out how to display MPH.
please elaborate...

[edit] I wish you could use it on more than one object in a scene at once. :(

Joel Hooks
10-14-2002, 09:02 PM
I changed this line:

)
distPerHour / unitDiv
)

to:

)
distPerHour / unitDiv * 0.621371
)


He gives the multiplier there in the code. Depending on your current units it uses the multipliers that he gives, so I just guessed that that line was the final value :)

KPH * 0.621371 = MPH

Worked like a champ.

visualboo
10-14-2002, 09:33 PM
and change this line>

Manip.sldname = $.name + " - Km/h"

to

Manip.sldname = $.name + " - MPH"

CGTalk Moderation
01-13-2006, 07:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.