From: Thimo L. <th...@g4...> - 2010-06-10 07:36:01
|
On Thu, Jun 10, 2010 at 5:57 AM, Arkapravo Bhaumik wrote: >> I have mostly worked with Player 3.0.0 and Stage 3.2.0, however I >> have got some Player 2.X.X and Stage 2.X.X files. What are the >> modifications to be made to make these files compatible in 3.X.X ? I >> understand that in the cfg file instead of 'libstageplugin' it has to >> be 'stageplugin', what other changes are to be made ? On Thursday, Jun 10, 2010 at 06:25 +0300 Tuna Toksoz wrote: > Probably some changes regarding to Position. Some of them now need > 3Ddata (x,y,z). > It might be better to check Release Notes if there is any. > Also, afaik, there are some changes regarding to Ranger / Laser stuff. > Some drivers may have changed as well. This is the case for (most) size attributes in stage world files. Furthermore, due to the 2.5 dimensions of stage 3.2.* the world files now use other elements to describe a shape. For example where you had polygon: polygons 1 polygon[0].points 4 polygon[0].point[0] [ -1 -1 ] polygon[0].point[1] [ -1 1 ] polygon[0].point[2] [ 1 1 ] polygon[0].point[3] [ 1 -1 ] you now use block: block( points 4 point[0] [ -1 -1 ] point[1] [ -1 1 ] point[2] [ 1 1 ] point[3] [ 1 -1 ] z [0 1] ) The main difference here is the addition of a z range describing the vertical offset and height of the shape. Regards, Thimo Langbehn |