hakan.yuceturk Posted November 6, 2014 Share Posted November 6, 2014 Hi all, My project is about driving simulation like city traffic example of Unigine. In the example, city is broken up with small pieces of drawings and codes.But I have a huge 3ds Max drawing.It includes all the area.How can i apply ai and other stuffs of Unigine with this huge drawings??? Link to comment
ulf.schroeter Posted November 6, 2014 Share Posted November 6, 2014 No easy answer to this without more background information on the exact meaning of "huge drawing". In general you will have to split a complex world (large by extend, alot of geometry/textures etc) in 3DS Max into tiles or smaller pieces. Also you will have to define dedicated geometry e.g. for AI path finding etc. Link to comment
binstream Posted November 7, 2014 Share Posted November 7, 2014 The key idea is to add special invisible borders along the roads and assign appropriate masks for them - they are used by AI cars to detect lanes: https://developer.unigine.com/en/docs/1.0/scripting/scripts/traffic/roads 1 Link to comment
hakan.yuceturk Posted November 7, 2014 Author Share Posted November 7, 2014 First of all thanks for your quick replay.But i have two question: 1.can i use the classes in your city traffic example if i add special borders along the roads and assign appropriate masks for them ?? 2.do i add borders in 3ds Max and then assign mask in Unigine editor ? Link to comment
silent Posted November 7, 2014 Share Posted November 7, 2014 1.can i use the classes in your city traffic example if i add special borders along the roads and assign appropriate masks for them ?? Yes, for sure. You also will be needed to setup triggers for junctions: https://developer.unigine.com/en/docs/1.0/scripting/scripts/traffic/roads 2. do i add borders in 3ds Max and then assign mask in Unigine editor ? Yes. 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
hakan.yuceturk Posted November 7, 2014 Author Share Posted November 7, 2014 Thank you very much silent,one more question.How can i assign mask in Unigine editor???? Link to comment
silent Posted November 7, 2014 Share Posted November 7, 2014 You can edit masks in Surfaces tab of the mesh. Please, check the attached screenshot: 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
hakan.yuceturk Posted November 7, 2014 Author Share Posted November 7, 2014 Thank you very much silent Link to comment
Recommended Posts