3D World

STEP BY STEP

MAKE A RE­AL­IS­TIC OCEAN SIM WITH X-PAR­TI­CLES

- Programming Languages · Programming · Tech

01 CHECK WHICH VER­SION OF X-PAR­TI­CLES IS IN­STALLED

The 'xpocean' ob­ject was re­leased as a part of X-par­ti­cles in the sum­mer of 2020, so make sure that the lat­est build is in­stalled via the X-par­ti­cles li­cence man­ager. The 'xpocean' ob­ject is avail­able through ei­ther the X-par­ti­cles menu, or as part of the 'Gen­er­a­tors' set when an X-par­ti­cles sys­tem is cre­ated. If ev­ery­thing is where it should be, cre­ate a new 'xpocean' ob­ject.

02 AD­JUST THE SCALE OF THE OCEAN

Cre­at­ing a suc­cess­ful 'xpocean' ob­ject is a bal­anc­ing act of the ob­ject’s size ver­sus its seg­ments. It's a good idea to al­ways work with a real scale for an as­set like this, so if you want big waves make a big 'xpocean' ob­ject by ad­just­ing its width and height first. Put a cam­era in the scene as quickly as pos­si­ble as well, as this will show what the cam­era can 'see' and there­fore the 'xpocean' ob­ject can be sized to the cam­era cone.

03 OCEAN SIZE

When the 'xpocean' ob­ject's width and height are set, make the 'Ocean Size' the same as the largest of the width and height di­men­sions. Con­tinue to ad­just the 'Ocean Size' if the scale does not match the de­sired out­put. Ad­just­ing both the 'Wave Height' and 'Small­est Wave' pa­ram­e­ters can also have im­pacts on ap­pear­ance. Be care­ful with the 'Chop­pi­ness' pa­ram­e­ter as if it is ad­justed too high it will cause over­lap­ping poly­gons

04 AN­I­MA­TION CON­TROL

The 'xpocean' ob­ject an­i­mates straight out the box, and the pa­ram­e­ters for the an­i­ma­tion are all eas­ily ad­justable. The crit­i­cal con­trols are 'Wind Speed' and 'Wind Di­rec­tion'. The 'Time Scale' pa­ram­e­ter acts as a fast for­ward or slow down time con­trol. This is use­ful for tim­ing epic an­i­ma­tions of large ships, for ex­am­ple. When the an­i­ma­tion pa­ram­e­ters are set, ad­just the Height and Width Seg­ments pa­ram­e­ters to give a more de­tailed mesh.

 ??  ??
 ??  ??
 ??  ??
 ??  ??

Newspapers in English

Newspapers from Australia