Hi there,
I’m using the following code to scale GeoMipTerrain, yet it seems to mess up the focal point which is set to the camera. I’ve tried changing the order of these statements, but still the focal point is only correct in a small part of the terrain (say the lower left quarter if i set sXY to 2).
Any ideas on how to solve this?
Thanks
terrain->get_root().reparent_to(window->get_render());
terrain->set_focal_point(window->get_camera_group());
terrain->get_root().set_sx(SizeXY);
terrain->get_root().set_sy(SizeXY);
terrain->get_root().set_sz(SizeZ);