Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:citytraffic [2014/08/22 14:31]
anvar
en:citytraffic [2018/03/28 14:53]
anvar [System requirements]
Line 2: Line 2:
  
 ====== CityTraffic Manual====== ====== CityTraffic Manual======
-[[http://rendering.ru/ru_en/citytraffic.html|CityTraffic]] is a plug-in for 3ds Max which helps to create car traffic flow on urban environmens and off-roads. +[[http://rendering.ru/ru_en/citytraffic.html|CityTraffic]] is a plug-in for 3ds Max which helps to create car traffic flow on urban environments and off-roads. 
 Special road editor and automatic cars setup substantially accelerates preparation of scenes for the simulation of traffic movement. Special road editor and automatic cars setup substantially accelerates preparation of scenes for the simulation of traffic movement.
    
Line 8: Line 8:
 Dynamics calculation makes movements over complicated surfaces more realistic, and the artificial intelligent system helps cars to operate independently. Dynamics calculation makes movements over complicated surfaces more realistic, and the artificial intelligent system helps cars to operate independently.
  
-CityTraffic  is an automatic vehicles management system. Therefore, bringing the animation generated by the system to the forefront is not recommended. +CityTraffic  is an automatic traffic management system. Therefore, bringing the animation generated by the system to the forefront is not recommended. 
  
  {{:citytraffic2:00.png?nolink| screenshot}}  {{:citytraffic2:00.png?nolink| screenshot}}
Line 31: Line 31:
 If you already use CityTraffic version 1.xx. CityTraffic 2 is essentially a brand new AI system, which differs radically from the one used in versions 1.xx. Besides, the whole road construction and traffic management algorithms have significantly changed. Hence, we have not been able to provide compatibility; thus, scenes created in versions 1.xx cannot be opened correctly in CityTraffic 2.  If you already use CityTraffic version 1.xx. CityTraffic 2 is essentially a brand new AI system, which differs radically from the one used in versions 1.xx. Besides, the whole road construction and traffic management algorithms have significantly changed. Hence, we have not been able to provide compatibility; thus, scenes created in versions 1.xx cannot be opened correctly in CityTraffic 2. 
  
-However, we have retained the possibility to install both CityTraffic 1.xx and CityTraffic 2 on the same version of 3ds Max. This will allow you to continue working on the files created in older versions and to switch to the new version step by step, whenever possible and necessary. The CityTraffic 1.xx license cannot be used for CityTraffic 2, so you will need to request an additional license for CityTraffic 2. All CityTraffic 1.xx users will get the CityTraffic 2 licenses free of charge.+However, we have retained the possibility to install both CityTraffic 1.xx and CityTraffic 2 on the same version of 3ds Max. This will allow you to continue working on the files created in older versions and to switch to the new version step by step, whenever possible and necessary. The CityTraffic 1.xx license file will not work for CityTraffic 2, so you will need to request an additional license for CityTraffic 2. All CityTraffic 1.xx users will get the CityTraffic 2 licenses free of charge.
  
 ====== System requirements ====== ====== System requirements ======
-3ds Max versions: 2009, 2010, 2011, 2012, 2013, 2014, 2015 all 32 or 64 bit +3ds Max versions: 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019
  
 3ds Max Design : all  3ds Max Design : all 
  
-OS: Windows XP, Windows Vista, Windows 7, 8 all 32 and 64 bit +OS: Windows XP, Windows Vista, Windows 7, 8, 10
  
 Microsoft Visual C++ 2010 Redistributable Package (probably already installed on your PC) Microsoft Visual C++ 2010 Redistributable Package (probably already installed on your PC)
Line 55: Line 55:
 Rendering is available both locally and over network. Rendering is available both locally and over network.
  
-To install the program you need to run the **CityTraffic-x.xxx.exe** with the administrator rights. (In windows 7 right click “run as administrator”) even if you are logged in as admin.+To install the program you need to run the **CityTraffic-x.xxx.exe** with the administrator rights. 
  
  {{:citytraffic2:install.png?nolink| Citytraffic install window}}  {{:citytraffic2:install.png?nolink| Citytraffic install window}}
  
-Don’t forget to quit 3ds max before you start the installation. (please check Task Manager too for any running instances of 3ds max)+Don’t forget to quit 3ds max before you start the installation. (please check Task Manager too for any running instances of 3ds max from all users)
  
  {{:citytraffic2:install_license.png?nolink| CityTraffic license agreement}}  {{:citytraffic2:install_license.png?nolink| CityTraffic license agreement}}
Line 77: Line 77:
  
 ====== Uninstall ====== ====== Uninstall ======
 +you can find uninstaller in: Start menu > R&D Group > CItyTraffic > Uninstall
  
-To uninstall CityTraffic just delete CityTraffic2.dlo from Plugins folder in your 3ds max installation directory.+or manually delete CityTraffic2.dlo from Plugins folder in your 3ds max installation directory.
  
 ====== Installing for network or distributed rendering====== ====== Installing for network or distributed rendering======
  
-For network rendering just install the same file CityTraffic2.exe. Installation procedure is the same as for the Workstation, but skipping Registration process. Rendernodes do not require registration.+For network rendering just install the same file CityTraffic-x.xxx.exe. Installation procedure is the same as for the Workstation, but skipping Registration process. Rendernodes do not require registration.
  
 Submission for network or distributed rendering should be done from the PC with the registered version of CityTraffic. The rest of render nodes involved in the network or distributed rendering do not need to be registered Submission for network or distributed rendering should be done from the PC with the registered version of CityTraffic. The rest of render nodes involved in the network or distributed rendering do not need to be registered
Line 156: Line 157:
 perfectly precise as the system as such is intelligent enough to allocate traffic flows correctly. perfectly precise as the system as such is intelligent enough to allocate traffic flows correctly.
  
 +===== Magic roundabout example ===== 
 As an example lets analyze an extremely sophisticated intersection, i.e. the Magic Roundabout in Swindon, England, famous for its complexity. This is how it actually looks like: As an example lets analyze an extremely sophisticated intersection, i.e. the Magic Roundabout in Swindon, England, famous for its complexity. This is how it actually looks like:
  
Line 185: Line 186:
  
 You can watch the result here: You can watch the result here:
 +https://www.youtube.com/watch?v=conjlqsF7Ys
  {{youtube>conjlqsF7Ys?large}}  {{youtube>conjlqsF7Ys?large}}
  
Line 203: Line 204:
   * **Length** - length of a bus stop    * **Length** - length of a bus stop 
   * **Width** - width of a bus stop    * **Width** - width of a bus stop 
-  * **Reverse** - изменения направления заезда транспорта на остановку на противоположное. Changing direction for approaching bus stop+  * **Reverse** - Changing direction for approaching bus stop
 Buses will stop at this object. Buses will stop at this object.
  
Line 233: Line 234:
  
 Do not make stop lines too small as they may be ignored.  Do not make stop lines too small as they may be ignored. 
-All vehicles will be slowing down and stopping prior to crossing this line. After stopping they will  +All vehicles will be slowing down and stopping prior to crossing this line. After stopping they will continue.
-be driving on.+
  
 ===== Obstacle ===== ===== Obstacle =====
Line 304: Line 304:
  
  {{:citytraffic2:15.png?nolink| Citytraffic vehicle multiply}}  {{:citytraffic2:15.png?nolink| Citytraffic vehicle multiply}}
 +
 +===== Vehicle Parameters =====
 + 
 + {{:citytraffic2:vehicle-parameters.jpg?nolink| road parameters}}
 +
 +  * **Size** - dimensions of the vehicle (IMPORTANT! need to have real world dimensions)
 +
 +Behaviour:
 +
 +  * **Acceleration** - maximum acceleration
 +  * **Maneuver** - maximum speed during turning (real world physics applies)
 +  * **MaxSpeed** - maximum speed in straight line
 +  * **Suspension rig** - suspension rigidity (affects tilting during turns)
 +  * **Bus Stop/Parking time (s)** - time to stop , for bus on bus stop or car on parking bay
 +
 +Vehicle Types:
 +  * **Car** - usual behaviour and can enter and stop on parking bays
 +  * **Bus** - tries to drive on side lines and stops at bus stops
 +  * **Lorries** - tries no to drive on left lines
 +
  
 ====== Step 6 ====== ====== Step 6 ======
Line 320: Line 340:
 Calculation may take from a few minutes to a few hours depending on number of frames and vehicles. If you are not happy with the process, press the **Reset** button (this will erase all data of the calculated simulation), change all the necessary parameters, and click **Trace** again.  Calculation may take from a few minutes to a few hours depending on number of frames and vehicles. If you are not happy with the process, press the **Reset** button (this will erase all data of the calculated simulation), change all the necessary parameters, and click **Trace** again. 
  
 +Sometimes in order to achieve required results you may need to create more vehicles than necessary, and then delete incorrectly behaving vehicles after simulation.
 +
 +====== Baking to key frames ======
 +
 +We recently released a  [[http://files.rendering.ru/scripts/VGMakeKey-v1.zip|baking script]]
 ====== Troubleshooting ====== ====== Troubleshooting ======
 +===== Common problems =====
 +CityTraffic is based on the simulation close to real life physical properties
 +so all dimensions and settings need to be physically correct
  
-===== License errors ===== +Some common setup problems: 
-In case of license malfunction and errors (which can be caused by disk reformatting, re installation of the operating system or components replacement) you are free to address the developer at any time by sending your request for a new *.key file to the e-mail mail@rendering.ru+  * incorrect units and scale (e.g a bus cannot be 100 meters long) 
 +  * there must be a road for vehicles to drive on 
 +  * the road system need to be preferably looped  
 +  * the roads are too narrow 
 +  pivot point is outside of the mesh 
 +  * the rig must be applied in right size and cannot be scaled 
 +  * incorrect speed parameters (of maneuver and normal speed) which are impossible to replicate in real life
  
-However, in case of total replacement of a PC by a new one new license is not provided more often than once in half a year. 
  
-===== Installation problems =====+you can also try our [[http://files.rendering.ru/citytraffic_for_3dsmax/forum/CityTraffic-sample-file.zip|sample file]] 
  
-make sure 3ds max is not running, (please double check in task manager too)+===== License errors ===== 
 +In case of license malfunction and errors (which can be caused by disk reformatting, re installation of the operating system or components replacementyou are free to address the developer at any time by sending your request for a new *.lic file to the e-mail mail@rendering.ru
  
-make sure you are installing with administrator rights (in windows 7 right click "run as administrator" **even if you are logged in as admin**) 
  
-make sure you choose right path for you 3ds max version 
  
 ===== Other errors ===== ===== Other errors =====
Print/export