danni.coy Posted October 16, 2014 Share Posted October 16, 2014 I think that the landscape plugin can be streamlined somewhat when using geotiff as the format.I think the landscape plugin could be very much streamlined for the workflow that most people are going to wantparticularly when using real world data.The geotiff format contains enough information to calculate terrain step and z scale.scanning a folder for number of images should be able to calculate the sizeX and sizeY values.I would like to be able to place height,diffuse,normal and spec maps in a folder. Have a ui that lets me choose a folder and builds the terrain array. I could build such a tool myself but I was wondering if Unigine is planing anything in this direction?To my mind this could be implemented as another tab in the landscape plugin. Link to comment
danni.coy Posted October 16, 2014 Author Share Posted October 16, 2014 for anybody who is interestedTerrain step can be calculated using ProjLinearUnitsGeoKey to get unit_scale, ModelPixelScaleTag to get x, y pixel_scale terrain_step_x = pixel_scale_x * unit_scale * image_width / terrain_width;height can be calculated VerticalUnitsGeoKey to get unit_scale ModelPixelScaleTag to get pixel_scalescale = unit_scale * pixel_scaleposition can also be calculated but typically we want the landscape to center on the origin. Link to comment
binstream Posted October 16, 2014 Share Posted October 16, 2014 We have this in minds, but can't give you exact ETA for now. Link to comment
Recommended Posts