Hi Glenn Waldron thanks for the reply and iam having another problem which is stated below
LineSymbol* line = style.getOrCreate<LineSymbol>();
line->stroke()->color() = Color(Color::Black, 0.5f);
line->stroke()->width() = 8.0f;
line->tessellationSize() = 5;
line->stroke()->widthUnits() = Units::METERS;
line->imageURI() = "D:/Images/roadPic.jpg";
This way iam Setting the image but the image is not adding to the lines(no error but image not adding to the lines) ,How to solve this ?
Hi Glenn thanks for the reply and Initially Iam using osgearth 2.8 in that there is no ImageURI functionality and then i started searching for advanced version then i got the osgearth advanced version source code,By using the source code i builded the libraries using cmake.But problem in imagelayer and model layer are effecting my code.I stated my code below
ImageLayer* layer = new ImageLayer("SRTM", gdal); //error image layer has no constructors
map->addModelLayer(new ModelLayer("buildings", fgm_opt)); //error model layer has no constructors
compiler options is not a member of osgEarth::Drivers::featuregeommodeloptions;
Those errors i got if i use advanced source code of osgearth,How should i solve this ?
Hi Glenn I solved my problem and one doubt as of know buildings are loading on the terrain in compile time,But How to load the buildings in run time i.e buildings,trees,roads should show on the screen size part only remaining part where buildings,trees,road drawing should not draw,How to do this ?