Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Author Topic: Spinning airplane prop  (Read 6629 times)

earp

  • Newbie
  • *
  • Posts: 4
    • View Profile
Spinning airplane prop
« on: January 10, 2017, 07:45:12 pm »

Can anyone help with creating a realistic spinning prop?
Logged

ENSONIQ5

  • Hero Member
  • *****
  • Posts: 1012
    • View Profile
    • Mission Backup Earth
Re: Spinning airplane prop
« Reply #1 on: January 10, 2017, 11:34:52 pm »

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: 624
  • Neirao
    • View Profile
Re: Spinning airplane prop
« Reply #2 on: January 12, 2017, 02:28:12 pm »

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

kreator

  • Hero Member
  • *****
  • Posts: 1146
  • Anim8or, Blender, & Carrara. A Great Combination!
    • View Profile
    • Anim8orWorld
Re: Spinning airplane prop
« Reply #3 on: January 13, 2017, 02: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, 02:42:29 am by kreator »
Logged
O

neirao

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

yes!!!! :)
Logged