<model name="bs" driver="simple"> <url>D:\model\bs.ive</url> <location>102.633633 26.324982 764</location> <lighting>true</lighting> </model> </map> As you know, all possible lighting is enabled there. However, the model looks very plain with a single color as:
Actually, if I load the model by osgviewer, a proper result can be achieved as:
So, what's the matter? Any hint will be appreciated.
Thanks! I am so sorry for my late reply. I have tried the argument --sky on your suggestion, and got a proper result for the model as follows:
However, as you see, the image's color is much lighter than that not using --sky because of the sky light. So, I turn off the lighting option of terrain in my earth file as "<terrain lighting="false"/>", and get the same "model light problem" as I posted before, i.e., the ive model is still plain, but the image is proper. Maybe, it is another question? I am looking forward for your reply, thanks very much!