NumberBvr nearDist = add(distOfTravel, mul(toBvr(2.5), maxHalfExtent));
CameraBvr camera = perspectiveCamera(add(nearDist,
mul(maxHalfExtent, toBvr(10))), nearDist);
turn on the lights and render geoimage into an image |
GeometryBvr lights = ambientLight;
GeometryBvr scene = union(lights, loopingGeoImage);
ImageBvr renderedGeo = scene.render(camera);
finally set what's to be displayed on a blue background |
ImageBvr model = overlay(renderedGeo,
overlay(lableImage,
overlay(picture, solidColorImage(blue))));
the sound behavior to be presented |
setSound(loopingSound);
the image behavior to be rendered |
setImage(model);
}
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.