Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik > Daidalos Team discussions

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 06-15-2016, 10:41 AM
sniperton sniperton is offline
Approved Member
 
Join Date: Mar 2011
Posts: 253
Default

Quote:
Originally Posted by Pursuivant View Post
Since on just about every map roads are lighter in color than the surrounding terrain, the "color picker" selects adjacent pixels of "road color" and plots a line based on that info.
Yes, something like that would be the easiest way as far as ground units are concerned. All the more so, as maps are generated from a set of greyscale images, where the 'tile map' actually uses a brighter shade to specify tiles with roads. So summer and winter maps are all the same in this respect. Nevertheless, the tile map is a low resolution image, so keeping on the road could not be guaranteed that way, unless combined with bezier curve calculations between waypoints.

Now it works like you go from A to B in a straight line, there you turn for C, and go from B to C in a straight line again. All three waypoints are specified in the mis file. But with A, B, and C we also have all the coordinates for a bezier curve between A and C. All you need is to add the info that B is only a virtual coordinate to be used by the plotting algorithm.

Last edited by sniperton; 06-15-2016 at 01:50 PM.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:39 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.