Resource icon

Animated bird flocks tutorial and sample 2021-03-04

Login or Register an account to download this content

To get the other two different flocks from the link to circle above the course
put the kn5 files into the track's folder and add to the models ini file

Code:
[DYNAMIC_OBJECT_0]
PROBABILITY=100
MULT=1,1
FILE=flock_1_dyn.kn5
POS_MODE=RANDOM
RND_POS_CENTER=-500,-600,0
RND_POS_RANGE=0,0,0
VEL_MODE=RANDOM
RND_VEL_BASE=1,0,1
RND_VEL_RANGE=0.8,0,0.8

[DYNAMIC_OBJECT_1]
PROBABILITY=100
MULT=1,1
FILE=flock_2_dyn.kn5
POS_MODE=RANDOM
RND_POS_CENTER=-5000,-520,0
RND_POS_RANGE=0,0,0
VEL_MODE=RANDOM
RND_VEL_BASE=1.5,0,1.5
RND_VEL_RANGE=0.8,0,0.8

For the CSP extension
Code:
[SHADER_REPLACEMENT_...]
MATERIALS=flock_1
PROP_0 = distortion, 7
PROP_1 = frequency, 0.75

[WRAP_MESHES_...]
NAME = flock_2
MESHES = flock_2
PIVOT_POS = 461.35, -815.67, 383.63

[ANIMATED_...]
NODE = flock_2
WINDMILL_DIR = 1, 1, 1
WINDMILL_DIR_EXP = 0
WINDMILL_DIR_BOTH_SIDES = 1
SPIN_AXIS = 0.01, 1, 0.01
SPEED_MULT = 0.0012
WIND_SPEED_KMH_MIN = 0
WIND_SPEED_KMH_MAX = 120
WIND_SPEED_KMH_STOP = 140
LAG_UP = 0.0
LAG_DOWN = 0.0
LAG_BRAKING = 0.0

[WRAP_MESHES_...]
NAME = flock_1
MESHES = flock_1
PIVOT_POS = 461.35, -815.67, 383.63

[ANIMATED_...]
NODE = flock_1
WINDMILL_DIR = 1, 1, 1
WINDMILL_DIR_EXP = 0
WINDMILL_DIR_BOTH_SIDES = 1
SPIN_AXIS = 0.01, 1, 0.01
SPEED_MULT = 0.0012
WIND_SPEED_KMH_MIN = 0
WIND_SPEED_KMH_MAX = 120
WIND_SPEED_KMH_STOP = 140
LAG_UP = 0.0
LAG_DOWN = 0.0
LAG_BRAKING = 0.0

And lastly - the settings for anti-aliasing matter a lot with such tiny silhouettes. When using 4x and no FXAA the flocks look their best in 1080p. With FXAA and 0x MSAA they are ok but a bit less visible.

Attachments

  • Screenshot_chevy_chevelle1970_wicklow_m_5-2-121-3-57-30.jpg
    Screenshot_chevy_chevelle1970_wicklow_m_5-2-121-3-57-30.jpg
    413.4 KB · Views: 121
  • Screenshot_chevy_chevelle1970_wicklow_m_5-2-121-3-58-40.jpg
    Screenshot_chevy_chevelle1970_wicklow_m_5-2-121-3-58-40.jpg
    227 KB · Views: 112
  • Screenshot_chevy_chevelle1970_wicklow_m_5-2-121-3-58-34.jpg
    Screenshot_chevy_chevelle1970_wicklow_m_5-2-121-3-58-34.jpg
    210.4 KB · Views: 112
  • Screenshot_chevy_chevelle1970_wicklow_m_5-2-121-3-58-23.jpg
    Screenshot_chevy_chevelle1970_wicklow_m_5-2-121-3-58-23.jpg
    261.3 KB · Views: 112
  • Screenshot_chevy_chevelle1970_wicklow_m_5-2-121-3-58-12.jpg
    Screenshot_chevy_chevelle1970_wicklow_m_5-2-121-3-58-12.jpg
    262.3 KB · Views: 107
  • Screenshot_chevy_chevelle1970_wicklow_m_5-2-121-3-57-45.jpg
    Screenshot_chevy_chevelle1970_wicklow_m_5-2-121-3-57-45.jpg
    344.3 KB · Views: 122
  • Screenshot_chevy_chevelle1970_wicklow_m_5-2-121-3-57-37.jpg
    Screenshot_chevy_chevelle1970_wicklow_m_5-2-121-3-57-37.jpg
    335.4 KB · Views: 121
  • Like
Reactions: krissoak

What are you racing on?

  • Racing rig

    Votes: 528 35.2%
  • Motion rig

    Votes: 43 2.9%
  • Pull-out-rig

    Votes: 54 3.6%
  • Wheel stand

    Votes: 191 12.7%
  • My desktop

    Votes: 618 41.2%
  • Something else

    Votes: 66 4.4%
Back
Top