Itoo Software Forum

Author Topic: parking lots  (Read 3164 times)

roysgi10

  • Jr. Member
  • **
  • Posts: 73
parking lots
« on: March 13, 2012, 06:04:52 PM »
Hi
What is the best way to make cars in parking lots when the rotation of the cars is 0 or 180 degrees randomly along a straight line and not like the attached picture as completely random rotation.

Thank you.

Roy

yuv

  • Administrator
  • Sr. Member
  • *****
  • Posts: 316
  • iToo Software - CEO
    • Itoo Software
Re: parking lots
« Reply #1 on: March 13, 2012, 09:10:20 PM »
You can add the rotated cars as additional elements in the geometry list as seen in this example:
Daniel Quintero
Itoo Software
www.itoosoft.com
daniel@itoosoft.com

roysgi10

  • Jr. Member
  • **
  • Posts: 73
Re: parking lots
« Reply #2 on: March 13, 2012, 11:01:56 PM »
Is there a more elegant solution?

THANKS

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4388
    • iToo Software
Re: parking lots
« Reply #3 on: March 14, 2012, 09:25:45 AM »

Yes, you would use this:

1) Apply a rotation map in Z, setting the range 0 to 180.
2) Assign a map which generates only white/black pixels, so the rotation angle will be only 0 or 180.

Carlos Quintero
iToo Software