Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

An update to Anim8or, v1.00b, is available with a few bug fixes. Get your copy HERE. See the "ReadMe" file for details.

Author Topic: Spinning airplane prop  (Read 941 times)

earp

  • Newbie
  • *
  • Posts: 4
    • View Profile
Spinning airplane prop
« on: January 11, 2017, 12:45:12 am »

Can anyone help with creating a realistic spinning prop?
Logged

ENSONIQ5

  • Sr. Member
  • ****
  • Posts: 925
    • View Profile
    • Mission Backup Earth
Re: Spinning airplane prop
« Reply #1 on: January 11, 2017, 04:34:52 am »

There are several ways to do this.  This example is a quick (1 hour) demo of one way to do it, based on the method used by some flight simulators.

The basic principal is this:

1) Multiple copies of the prop are created, each more transparent than the last (I used 4, you could use more if preferred).  As the prop spins up each copy lags a bit, so the faster the prop spins the more 'separated' the copies become.  This simulates how the human eye tracks fast moving objects.
2) At a certain point, the prop copies are replaced by a disc that rotates backwards and forwards, simulating a stroboscopic effect.  Replacement in this case is done by switching the visibility of the prop copies off in the same frame that the disc's visibility is switched on.

I spent no time creating a proper bump map for the spinning disc and just used the prop texture.  The effect would be enhanced with a fine radial bump so the specular response is greatest at two opposite sides, depending on available lighting.

For some reason I'm not able to upload the .an8 file for you to pick apart. Also, apologies to any aeroplane enthusiasts for the awful prop modelling :p

Logged

neirao

  • Sr. Member
  • ****
  • Posts: 569
  • Neirao
    • View Profile
Re: Spinning airplane prop
« Reply #2 on: January 12, 2017, 07:28:12 pm »

there a script for use in scene mode, to rotate the things! im not remember where...
Logged

kreator

  • Hero Member
  • *****
  • Posts: 1113
  • Anim8or, Blender, & Carrara. A Great Combination!
    • View Profile
    • Anim8orWorld
Re: Spinning airplane prop
« Reply #3 on: January 13, 2017, 07:35:16 am »


Rotation controller scripts

float $speed;
$speed =12;
$orientation=(sin($speed*time),0,0,cos($speed*time));


float $speed;
$speed =12;
$orientation=(0,sin($speed*time),0,cos($speed*time));

float $speed;
$speed =12;
$orientation=(0,0,sin($speed*time),cos($speed*time));


Propeller image attached
« Last Edit: January 13, 2017, 07:42:29 am by kreator »
Logged
O

neirao

  • Sr. Member
  • ****
  • Posts: 569
  • Neirao
    • View Profile
Re: Spinning airplane prop
« Reply #4 on: January 13, 2017, 07:57:54 pm »

yes!!!! :)
Logged