Now more than one Filename can be defined.
To use more than one Filename, one SelectionMethod also must be defined.
There are two methods available now:
RandomSelection and SequentialSelection
Objects may be also randomly transformed. This feature can help making realistic vegetation and other features much easier.
Available transformations:
- Rotation - angle range in degrees
RandomRotY ( -180 180 )
Also available RandomRotX and RandomRotZ
- Translation - range in meters
RandomTranslationY ( -0.5 0.5 )
Also available RandomTranslationX and RandomTranslationZ
Example of a new REF definition:
Code: Select all
Static (
Class ( "Animated People" )
Filename ( DPF1A.s )
Filename ( DPF2A.s )
Filename ( DPF3A.s )
Filename ( DPF4A.s )
Filename ( DPF5A.s )
Filename ( DPF6A.s )
Filename ( DPF7A.s )
Filename ( DPM1A.s )
Filename ( DPM2A.s )
Filename ( DPM3A.s )
Filename ( DPM4A.s )
Filename ( DPM5A.s )
Filename ( DPM6A.s )
Align ( None )
SelectionMethod ( RandomSelection )
RandomRotY ( -180 180 )
RandomTranslationY ( -0.5 0.5 )
Description ( "Random People" )
)
For existing objects, you can select them, and use "Random Transformation" botton:
And result: