Distance Fade for Panos

Is there a why to have the 360 panos fade in when you actually start to go inside them? This worked with the old Panos we made just using the SG_SPHERE but it doesn't seem to work with the new way the panos are created with the SG_DYNAMIC_SPHERE. ARight now when you turn on a 360 pano it just shows up and you see it there hanging in space. It was much better when you flew to it and it faded in. 

Denne artikel var nyttigt for 1 person. Er denne artikel nyttig for dig?

Svar
Besvaret

The old panos did this automatically, but the new ones lack this functionality since it is a dynamical sphere.

But you can add a positiontrigger to make this work, here is an example using the panorama object "big_thompson_pipes_1" :


positiontrigger radius       10  # Radius of trigger sphere in local coordinates
positiontrigger innerbound   6  # Inner 
positiontrigger minvalue     0.0     # value outside or at radius distance from object center
positiontrigger maxvalue     1.0     # value inside or at innerbound distance from object center
positiontrigger event big_thompson_pipes_1_layerdata.prop.Layer0_Alpha
A bit more explanation here.

  • big_thompson_pipes_1_layerdata is a set of properties that it creates since it is enabled to use Geoscope Tilesets. Just like WMS you can change the layer properties using this collection, but you cant refer to them by name that is why Layer0_Alpha is there. The alpha property of the first layer.
  • The scale on radius and innerbound is in the scene that the object is in, in this case a unit is 10 km. It is quite simple to experiment with this.

Kundesupport af UserEcho