sprockets Shelton's new Char: Hans It's just donuts by ItsJustMe 3D Printing Free model: USS Midnight Rodger Reynolds' 1950s Street Car Madfox's Pink Floyd Video Tinkering Gnome's Elephant
sprockets
Recent Posts | Unread Content
Jump to content
Hash, Inc. - Animation:Master

Altimeter


Recommended Posts

  • Replies 12
  • Created
  • Last Reply

Top Posters In This Topic

So, you have an expression that shows how far above the zero mark of the y axis the bone for the altimeter is? Nice!

 

Looks like a very nice model. Could we see wireframes?

 

I would be interested in examining the project as I'm still learning about expressions and how to use them.

Link to comment
Share on other sites

I tried but each time I try to do a shaded w wireframe I get a failure message of InitBoundRenderInfo what ever that means

 

Here is the model file and the image files used to create the model

the null labeled ground is actualy what the altimeter is measuring the Y offset from the big hand shows 100 feet and the little hand shows 1000 feet

 

edit:

oh and it was done in V13 with the most recent patches installed

Altimeter.zip

Link to comment
Share on other sites

Nice job on the altimeter.

 

Could you make a distance traveled meter with the distance displayed in feet?

 

David

Shouldn't be too hard. you could turn the altimeter into a distance meter by chaning the first expression from

 

(ground.transform.Y)*3048/36

 

to

 

sqrt((ground.transform.X)^2 +(ground.transform.Y)^2 +(ground.transform.Z)^2)*30.48/36

 

where

30.48 is no of cm per foot

and

36 is number of degrees per tick mark

 

edit

that will give you straigh line distance. I think I could do curved line distance also but the math would be much harder

Link to comment
Share on other sites

Nice job on the altimeter.

 

Could you make a distance traveled meter with the distance displayed in feet?

 

David

Shouldn't be too hard. you could turn the altimeter into a distance meter by chaning the first expression from

 

(ground.transform.Y)*3048/36

 

to

 

sqrt((ground.transform.X)^2 +(ground.transform.Y)^2 +(ground.transform.Z)^2)*30.48/36

 

where

30.48 is no of cm per foot

and

36 is number of degrees per tick mark

 

edit

that will give you straigh line distance. I think I could do curved line distance also but the math would be much harder

 

Actually I was thinking of a digital looking display as opposed to an analog dial.

How hard would that be?

 

Thanks,

David

Link to comment
Share on other sites

Actually I was thinking of a digital looking display as opposed to an analog dial.

How hard would that be?

 

Thanks,

David

 

not impossible but notably harder

it would be much like actualy writing the firmware for a digital display. there would be a ton of if statements. each digit would be a seven segment display each segment would nead its own code each segment is either on or off for any numerical value.

 

so we are looking at around 70 lines of code per digit.

there are short cuts in modeling that could seriouly reduce the amount of code, but they won't become aparant until I think about it more

Link to comment
Share on other sites

Actually I was thinking of a digital looking display as opposed to an analog dial.

How hard would that be?

 

Thanks,

David

 

not impossible but notably harder

it would be much like actualy writing the firmware for a digital display. there would be a ton of if statements. each digit would be a seven segment display each segment would nead its own code each segment is either on or off for any numerical value.

 

so we are looking at around 70 lines of code per digit.

there are short cuts in modeling that could seriouly reduce the amount of code, but they won't become aparant until I think about it more

 

What if the display was a series of rotary numbers similar to an odometer on a vehicle?

 

Thanks,

David

Link to comment
Share on other sites

 

 

What if the display was a series of rotary numbers similar to an odometer on a vehicle?

 

Thanks,

David

 

if the numbers were like an odometer then the only thing you would have to change is the axis of rotation. that would be easy

your distance meter would probibly be more use full if you used insead of the RSS between the root bone and the null, you used the RSS of the difference between two nulls

sqrt( (nll1.translate.X - nll2.translate.X)^2 + (nll1.translate.Y - nll2.translate.Y)^2 +(nll1.translate.Z - nll2.translate.Z)^2 * 36 / 30.48

 

note that I miswrote before you multiply by the number of degrees per notch and divide by the unit conversion

the hardest part of that is doing the decalling.

 

it will work but it will look like kie an odometer from a car from the early prewar years. the numbers will never sit nicely on a line. if you want them to sit nicly on a line that will take some tricky math to make it work.

Link to comment
Share on other sites

Actually I was thinking of a digital looking display as opposed to an analog dial.

How hard would that be?

 

Thanks,

David

 

not impossible but notably harder

it would be much like actualy writing the firmware for a digital display. there would be a ton of if statements. each digit would be a seven segment display each segment would nead its own code each segment is either on or off for any numerical value.

 

so we are looking at around 70 lines of code per digit.

there are short cuts in modeling that could seriouly reduce the amount of code, but they won't become aparant until I think about it more

 

What if each number was an on-off pose slider.

Link to comment
Share on other sites

 

What if each number was an on-off pose slider.

 

That might work. I might play with that Idea when i build the ammo counter. which will be after the artificial horizon, the mag compass, the airspeed indicator, the Gmeter. climb indicator....

 

Lot left to do.

 

In the mean time here is a short video of the altimeter working while the plane is rolling. next to it is a clock that is working. it is just hard to tell because there is no light on it

Gaugetest02.wmv

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...