7/22/14 Update

Things I did today:

  • Created a complex boundary for flowers.  This way, the flowers won’t be constrained to a rectangular shape.  Instead, they spread out around the models and text in a U-shape.  This makes the garden look more natural; rounded in stead of sharp.
  • Added a bit of fuzz around the edges of the garden.  The program will add a random value between -2 and 2 to the X and Z values of the new flower position.
  • Broke the code in MoveFlowers() up into more methods, bool CheckForAcceptablePosition(float x, float z) and bool CheckForUniquePosition(float x, float z).  These methods determine whether the incoming position is acceptable (within the complex boundary of the garden) and unique (far enough away from all existing flowers).
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s