This is a simple papervision3d tutorial it is only purpose is to show you how easy it is to import a 3d model from sketchup (free Version) and render it for the web utilizing Papervision3d and flash. This tutorial was developed using the Flash Develop IDE. Things you will need for the tutorial: SketchUp Papervision3d FlashDevelop Project Berlin Code What you will learn:
How to import a Collada (DAE File) How to import a Google Earth Model How to convert a .kmz to a .dae (colloda) How to control the camera with Keyboard Commands
Click on this image and the project will load it takes a few seconds and I have not added a loader yet so be patient:
ActionScript Code
?View Code ACTIONSCRIPTpackage {
import flash.events.Event;
import flash.events.KeyboardEvent;
import flash.events.MouseEvent;
import flash.display.DisplayObject;
import org.papervision3d.events.FileLoadEvent;
import org.papervision3d.lights.PointLight3D;
import org.papervision3d.materials.BitmapMaterial;
import org.papervision3d.materials.MovieMaterial;
import org.papervision3d.materials.utils.MaterialsList;
import org.papervision3d.objects.DisplayObject3D;
import org.papervision3d.objects.parsers.Collada;
import org.papervision3d.objects.parsers.DAE;
import org.papervision3d.objects.parsers.KMZ;
import org.papervision3d.view.BasicView;
public class main extends BasicView {
private var light:PointLight3D;
private var doRotation:Boolean = false;
private var lastMouseX:int;
private var lastMouseY:int;
private var cameraPitch:Number = -90;
private var cameraYaw:Number = 60;
public function main() {
super(0, 0, true, true);
// Initialise Papervision3D
init3D();
// Create the 3D objects
createScene();
// Listen to mouse up and down events on the stage
stage.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown);
stage.addEventListener(MouseEvent.MOUSE_UP, onMouseUp);
stage.addEventListener(KeyboardEvent.KEY_DOWN, onCameraMove);
// Start rendering the scene
startRendering();
}
private function init3D():void {
// position the camera
camera.z = -700;
/camera.x = -700;
camera.y = -700;/
//camera.moveRight(90);
camera.moveForward(370);
//camera.moveLeft(90);
camera.fov =70;
camera.orbit(cameraPitch, cameraYaw);
}
private function createScene():void {
// create a new 3D object from a 3D google earth object file and perform actions when loaded
var gdrCheckpoint:KMZ = new KMZ();
gdrCheckpoint.addEventListener(FileLoadEvent.LOAD_COMPLETE, function onLoad(event:Event):void {
gdrCheckpoint.scale = 20;
//kmz.moveLeft(300);
gdrCheckpoint.moveForward(100);
gdrCheckpoint.moveDown(50);
scene.addChild(gdrCheckpoint);
});
gdrCheckpoint.load("gdrCheckPointl.kmz");
var berlinwall:DAE = new DAE(true);
berlinwall.addEventListener(FileLoadEvent.LOAD_COMPLETE, function onLoad(event:Event):void {
berlinwall.scale = 40;
berlinwall.moveForward(180);
berlinwall.moveDown(50);
berlinwall.moveRight(100);
scene.addChild(berlinwall);
});
// load the DAE from a specific URL
berlinwall.load("berlinwall/files/berlinwall.dae");
}
override protected function onRenderTick(event:Event=null):void {
// update camera position
updateCamera();
// call the renderer
super.onRenderTick(event);
}
private function updateCamera():void {
// If the mouse button has been clicked then update the camera position
if (doRotation) {
// convert the change in mouse position into a change in camera angle
var dPitch:Number = (mouseY - lastMouseY) / 20;
var dYaw:Number = (mouseX - lastMouseX) / 20;
// update the camera angles
cameraPitch -= dPitch;
cameraYaw -= dYaw;
// limit the pitch of the camera
if (cameraPitch <= 0) {
cameraPitch = 0.1;
} else if (cameraPitch >= 180) {
cameraPitch = 179.9;
}
// reset the last mouse position
//lastMouseX = mouseX;
lastMouseY = mouseY;
// reposition the camera
camera.orbit(cameraPitch, cameraYaw);
}
}
// called when the keyboard is pressed
private function onCameraMove(event:KeyboardEvent):void {
//trace("keyHandlerfunction: " + event.keyCode);
if (event.keyCode == 39)
{
camera.x = camera.x + 15;
}
if (event.keyCode == 37)
{
camera.x = camera.x - 15;
}
if (event.keyCode == 38)
{
camera.z = camera.z + 25;
}
if (event.keyCode == 40)
{
camera.z = camera.z - 25;
}
}
// called when mouse down on stage
private function onMouseDown(event:MouseEvent):void {
doRotation = true;
lastMouseX = event.stageX;
lastMouseY = event.stageY;
}
// called when mouse up on stage
private function onMouseUp(event:MouseEvent):void {
doRotation = false;
}
}
}
Collada .DAE File
?View Code XML<?xml version="1.0" encoding="utf-8"?> <COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1"> <asset> <contributor> <authoring_tool>Google SketchUp 6</authoring_tool> </contributor> <created>2009-03-09T23:19:30Z</created> <modified>2009-03-09T23:19:30Z</modified> <unit name="meters" meter="1.0"/> <up_axis>Z_UP</up_axis> </asset> <library_images> <image id="material0-image" name="material0-image"> <init_from>../images/texture0.jpg</init_from> </image> <image id="material1-image" name="material1-image"> <init_from>../images/texture1.jpg</init_from> </image> <image id="material2-image" name="material2-image"> <init_from>../images/texture2.jpg</init_from> </image> <image id="material3-image" name="material3-image"> <init_from>../images/texture3.jpg</init_from> </image> <image id="material4-image" name="material4-image"> <init_from>../images/texture4.jpg</init_from> </image> <image id="material5-image" name="material5-image"> <init_from>../images/texture5.jpg</init_from> </image> <image id="material6-image" name="material6-image"> <init_from>../images/texture6.jpg</init_from> </image> <image id="material7-image" name="material7-image"> <init_from>../images/texture7.jpg</init_from> </image> <image id="material8-image" name="material8-image"> <init_from>../images/texture8.jpg</init_from> </image> <image id="material9-image" name="material9-image"> <init_from>../images/texture9.jpg</init_from> </image> <image id="material10-image" name="material10-image"> <init_from>../images/texture10.jpg</init_from> </image> <image id="material11-image" name="material11-image"> <init_from>../images/texture11.jpg</init_from> </image> <image id="material12-image" name="material12-image"> <init_from>../images/texture12.jpg</init_from> </image> <image id="material13-image" name="material13-image"> <init_from>../images/texture13.jpg</init_from> </image> <image id="material14-image" name="material14-image"> <init_from>../images/texture14.jpg</init_from> </image> <image id="material15-image" name="material15-image"> <init_from>../images/texture15.jpg</init_from> </image> <image id="material16-image" name="material16-image"> <init_from>../images/texture16.jpg</init_from> </image> <image id="material17-image" name="material17-image"> <init_from>../images/texture17.jpg</init_from> </image> <image id="material18-image" name="material18-image"> <init_from>../images/texture18.jpg</init_from> </image> <image id="material19-image" name="material19-image"> <init_from>../images/texture19.jpg</init_from> </image> </library_images> <library_materials> <material id="material0ID" name="material0"> <instance_effect url="#material0-effect"/> </material> <material id="material1ID" name="material1"> <instance_effect url="#material1-effect"/> </material> <material id="material2ID" name="material2"> <instance_effect url="#material2-effect"/> </material> <material id="material3ID" name="material3"> <instance_effect url="#material3-effect"/> </material> <material id="material4ID" name="material4"> <instance_effect url="#material4-effect"/> </material> <material id="material5ID" name="material5"> <instance_effect url="#material5-effect"/> </material> <material id="material6ID" name="material6"> <instance_effect url="#material6-effect"/> </material> <material id="material7ID" name="material7"> <instance_effect url="#material7-effect"/> </material> <material id="material8ID" name="material8"> <instance_effect url="#material8-effect"/> </material> <material id="material9ID" name="material9"> <instance_effect url="#material9-effect"/> </material> <material id="material10ID" name="material10"> <instance_effect url="#material10-effect"/> </material> <material id="material11ID" name="material11"> <instance_effect url="#material11-effect"/> </material> <material id="FrontColorNoCullingID" name="FrontColorNoCulling"> <instance_effect url="#FrontColorNoCulling-effect"/> </material> <material id="material12ID" name="material12"> <instance_effect url="#material12-effect"/> </material> <material id="material13ID" name="material13"> <instance_effect url="#material13-effect"/> </material> <material id="material14ID" name="material14"> <instance_effect url="#material14-effect"/> </material> <material id="material15ID" name="material15"> <instance_effect url="#material15-effect"/> </material> <material id="material16ID" name="material16"> <instance_effect url="#material16-effect"/> </material> <material id="material17ID" name="material17"> <instance_effect url="#material17-effect"/> </material> <material id="material18ID" name="material18"> <instance_effect url="#material18-effect"/> </material> <material id="material19ID" name="material19"> <instance_effect url="#material19-effect"/> </material> </library_materials> <library_effects> <effect id="material0-effect" name="material0-effect"> <profile_COMMON> <newparam sid="material0-image-surface"> <surface type="2D"> <init_from>material0-image</init_from> </surface> </newparam> <newparam sid="material0-image-sampler"> <sampler2D> <source>material0-image-surface</source> </sampler2D> </newparam> <technique sid="COMMON"> <phong> <emission> <color>0.000000 0.000000 0.000000 1</color> </emission> <ambient> <color>0.000000 0.000000 0.000000 1</color> </ambient> <diffuse> <texture texture="material0-image-sampler" texcoord="UVSET0"/> </diffuse> <specular> <color>0.330000 0.330000 0.330000 1</color> </specular> <shininess> <float>20.000000</float> </shininess> <reflectivity> <float>0.100000</float> </reflectivity> <transparent> <color>1 1 1 1</color> </transparent> <transparency> <float>0.000000</float> </transparency> </phong> </technique> <extra> <technique profile="GOOGLEEARTH"> <double_sided>1</double_sided> </technique> </extra> </profile_COMMON> </effect> <effect id="material1-effect" name="material1-effect"> <profile_COMMON> <newparam sid="material1-image-surface"> <surface type="2D"> <init_from>material1-image</init_from> </surface> </newparam> <newparam sid="material1-image-sampler"> <sampler2D> <source>material1-image-surface</source> </sampler2D> </newparam> <technique sid="COMMON"> <phong> <emission> <color>0.000000 0.000000 0.000000 1</color> </emission> <ambient> <color>0.000000 0.000000 0.000000 1</color> </ambient> <diffuse> <texture texture="material1-image-sampler" texcoord="UVSET0"/> </diffuse> <specular> <color>0.330000 0.330000 0.330000 1</color> </specular> <shininess> <float>20.000000</float> </shininess> <reflectivity> <float>0.100000</float> </reflectivity> <transparent> <color>1 1 1 1</color> </transparent> <transparency> <float>0.000000</float> </transparency> </phong> </technique> <extra> <technique profile="GOOGLEEARTH"> <double_sided>1</double_sided> </technique> </extra> </profile_COMMON> </effect> <effect id="material2-effect" name="material2-effect"> <profile_COMMON> <newparam sid="material2-image-surface"> <surface type="2D"> <init_from>material2-image</init_from> </surface> </newparam> <newparam sid="material2-image-sampler"> <sampler2D> <source>material2-image-surface</source> </sampler2D> </newparam> <technique sid="COMMON"> <phong> <emission> <color>0.000000 0.000000 0.000000 1</color> </emission> <ambient> <color>0.000000 0.000000 0.000000 1</color> </ambient> <diffuse> <texture texture="material2-image-sampler" texcoord="UVSET0"/> </diffuse> <specular> <color>0.330000 0.330000 0.330000 1</color> </specular> <shininess> <float>20.000000</float> </shininess> <reflectivity> <float>0.100000</float> </reflectivity> <transparent> <color>1 1 1 1</color> </transparent> <transparency> <float>0.000000</float> </transparency> </phong> </technique> <extra> <technique profile="GOOGLEEARTH"> <double_sided>1</double_sided> </technique> </extra> </profile_COMMON> </effect> <effect id="material3-effect" name="material3-effect"> <profile_COMMON> <newparam sid="material3-image-surface"> <surface type="2D"> <init_from>material3-image</init_from> </surface> </newparam> <newparam sid="material3-image-sampler"> <sampler2D> <source>material3-image-surface</source> </sampler2D> </newparam> <technique sid="COMMON"> <phong> <emission> <color>0.000000 0.000000 0.000000 1</color> </emission> <ambient> <color>0.000000 0.000000 0.000000 1</color> </ambient> <diffuse> <texture texture="material3-image-sampler" texcoord="UVSET0"/> </diffuse> <specular> <color>0.330000 0.330000 0.330000 1</color> </specular> <shininess> <float>20.000000</float> </shininess> <reflectivity> <float>0.100000</float> </reflectivity> <transparent> <color>1 1 1 1</color> </transparent> <transparency> <float>0.000000</float> </transparency> </phong> </technique> <extra> <technique profile="GOOGLEEARTH"> <double_sided>1</double_sided> </technique> </extra> </profile_COMMON> </effect> <effect id="material4-effect" name="material4-effect"> <profile_COMMON> <newparam sid="material4-image-surface"> <surface type="2D"> <init_from>material4-image</init_from> </surface> </newparam> <newparam sid="material4-image-sampler"> <sampler2D> <source>material4-image-surface</source> </sampler2D> </newparam> <technique sid="COMMON"> <phong> <emission> <color>0.000000 0.000000 0.000000 1</color> </emission> <ambient> <color>0.000000 0.000000 0.000000 1</color> </ambient> <diffuse> <texture texture="material4-image-sampler" texcoord="UVSET0"/> </diffuse> <specular> <color>0.330000 0.330000 0.330000 1</color> </specular> <shininess> <float>20.000000</float> </shininess> <reflectivity> <float>0.100000</float> </reflectivity> <transparent> <color>1 1 1 1</color> </transparent> <transparency> <float>0.000000</float> </transparency> </phong> </technique> <extra> <technique profile="GOOGLEEARTH"> <double_sided>1</double_sided> </technique> </extra> </profile_COMMON> </effect> <effect id="material5-effect" name="material5-effect"> <profile_COMMON> <newparam sid="material5-image-surface"> <surface type="2D"> <init_from>material5-image</init_from> </surface> </newparam> <newparam sid="material5-image-sampler"> <sampler2D> <source>material5-image-surface</source> </sampler2D> </newparam> <technique sid="COMMON"> <phong> <emission> <color>0.000000 0.000000 0.000000 1</color> </emission> <ambient> <color>0.000000 0.000000 0.000000 1</color> </ambient> <diffuse> <texture texture="material5-image-sampler" texcoord="UVSET0"/> </diffuse> <specular> <color>0.330000 0.330000 0.330000 1</color> </specular> <shininess> <float>20.000000</float> </shininess> <reflectivity> <float>0.100000</float> </reflectivity> <transparent> <color>1 1 1 1</color> </transparent> <transparency> <float>0.000000</float> </transparency> </phong> </technique> <extra> <technique profile="GOOGLEEARTH"> <double_sided>1</double_sided> </technique> </extra> </profile_COMMON> </effect> <effect id="material6-effect" name="material6-effect"> <profile_COMMON> <newparam sid="material6-image-surface"> <surface type="2D"> <init_from>material6-image</init_from> </surface> </newparam> <newparam sid="material6-image-sampler"> <sampler2D> <source>material6-image-surface</source> </sampler2D> </newparam> <technique sid="COMMON"> <phong> <emission> <color>0.000000 0.000000 0.000000 1</color> </emission> <ambient> <color>0.000000 0.000000 0.000000 1</color> </ambient> <diffuse> <texture texture="material6-image-sampler" texcoord="UVSET0"/> </diffuse> <specular> <color>0.330000 0.330000 0.330000 1</color> </specular> <shininess> <float>20.000000</float> </shininess> <reflectivity> <float>0.100000</float> </reflectivity> <transparent> <color>1 1 1 1</color> </transparent> <transparency> <float>0.000000</float> </transparency> </phong> </technique> <extra> <technique profile="GOOGLEEARTH"> <double_sided>1</double_sided> </technique> </extra> </profile_COMMON> </effect> <effect id="material7-effect" name="material7-effect"> <profile_COMMON> <newparam sid="material7-image-surface"> <surface type="2D"> <init_from>material7-image</init_from> </surface> </newparam> <newparam sid="material7-image-sampler"> <sampler2D> <source>material7-image-surface</source> </sampler2D> </newparam> <technique sid="COMMON"> <phong> <emission> <color>0.000000 0.000000 0.000000 1</color> </emission> <ambient> <color>0.000000 0.000000 0.000000 1</color> </ambient> <diffuse> <texture texture="material7-image-sampler" texcoord="UVSET0"/> </diffuse> <specular> <color>0.330000 0.330000 0.330000 1</color> </specular> <shininess> <float>20.000000</float> </shininess> <reflectivity> <float>0.100000</float> </reflectivity> <transparent> <color>1 1 1 1</color> </transparent> <transparency> <float>0.000000</float> </transparency> </phong> </technique> <extra> <technique profile="GOOGLEEARTH"> <double_sided>1</double_sided> </technique> </extra> </profile_COMMON> </effect> <effect id="material8-effect" name="material8-effect"> <profile_COMMON> <newparam sid="material8-image-surface"> <surface type="2D"> <init_from>material8-image</init_from> </surface> </newparam> <newparam sid="material8-image-sampler"> <sampler2D> <source>material8-image-surface</source> </sampler2D> </newparam> <technique sid="COMMON"> <phong> <emission> <color>0.000000 0.000000 0.000000 1</color> </emission> <ambient> <color>0.000000 0.000000 0.000000 1</color> </ambient> <diffuse> <texture texture="material8-image-sampler" texcoord="UVSET0"/> </diffuse> <specular> <color>0.330000 0.330000 0.330000 1</color> </specular> <shininess> <float>20.000000</float> </shininess> <reflectivity> <float>0.100000</float> </reflectivity> <transparent> <color>1 1 1 1</color> </transparent> <transparency> <float>0.000000</float> </transparency> </phong> </technique> <extra> <technique profile="GOOGLEEARTH"> <double_sided>1</double_sided> </technique> </extra> </profile_COMMON> </effect> <effect id="material9-effect" name="material9-effect"> <profile_COMMON> <newparam sid="material9-image-surface"> <surface type="2D"> <init_from>material9-image</init_from> </surface> </newparam> <newparam sid="material9-image-sampler"> <sampler2D> <source>material9-image-surface</source> </sampler2D> </newparam> <technique sid="COMMON"> <phong> <emission> <color>0.000000 0.000000 0.000000 1</color> </emission> <ambient> <color>0.000000 0.000000 0.000000 1</color> </ambient> <diffuse> <texture texture="material9-image-sampler" texcoord="UVSET0"/> </diffuse> <specular> <color>0.330000 0.330000 0.330000 1</color> </specular> <shininess> <float>20.000000</float> </shininess> <reflectivity> <float>0.100000</float> </reflectivity> <transparent> <color>1 1 1 1</color> </transparent> <transparency> <float>0.000000</float> </transparency> </phong> </technique> <extra> <technique profile="GOOGLEEARTH"> <double_sided>1</double_sided> </technique> </extra> </profile_COMMON> </effect> <effect id="material10-effect" name="material10-effect"> <profile_COMMON> <newparam sid="material10-image-surface"> <surface type="2D"> <init_from>material10-image</init_from> </surface> </newparam> <newparam sid="material10-image-sampler"> <sampler2D> <source>material10-image-surface</source> </sampler2D> </newparam> <technique sid="COMMON"> <phong> <emission> <color>0.000000 0.000000 0.000000 1</color> </emission> <ambient> <color>0.000000 0.000000 0.000000 1</color> </ambient> <diffuse> <texture texture="material10-image-sampler" texcoord="UVSET0"/> </diffuse> <specular> <color>0.330000 0.330000 0.330000 1</color> </specular> <shininess> <float>20.000000</float> </shininess> <reflectivity> <float>0.100000</float> </reflectivity> <transparent> <color>1 1 1 1</color> </transparent> <transparency> <float>0.000000</float> </transparency> </phong> </technique> <extra> <technique profile="GOOGLEEARTH"> <double_sided>1</double_sided> </technique> </extra> </profile_COMMON> </effect> <effect id="material11-effect" name="material11-effect"> <profile_COMMON> <newparam sid="material11-image-surface"> <surface type="2D"> <init_from>material11-image</init_from> </surface> </newparam> <newparam sid="material11-image-sampler"> <sampler2D> <source>material11-image-surface</source> </sampler2D> </newparam> <technique sid="COMMON"> <phong> <emission> <color>0.000000 0.000000 0.000000 1</color> </emission> <ambient> <color>0.000000 0.000000 0.000000 1</color> </ambient> <diffuse> <texture texture="material11-image-sampler" texcoord="UVSET0"/> </diffuse> <specular> <color>0.330000 0.330000 0.330000 1</color> </specular> <shininess> <float>20.000000</float> </shininess> <reflectivity> <float>0.100000</float> </reflectivity> <transparent> <color>1 1 1 1</color> </transparent> <transparency> <float>0.000000</float> </transparency> </phong> </technique> <extra> <technique profile="GOOGLEEARTH"> <double_sided>1</double_sided> </technique> </extra> </profile_COMMON> </effect> <effect id="FrontColorNoCulling-effect" name="FrontColorNoCulling-effect"> <profile_COMMON> <technique sid="COMMON"> <phong> <emission> <color>0.000000 0.000000 0.000000 1</color> </emission> <ambient> <color>0.000000 0.000000 0.000000 1</color> </ambient> <diffuse> <color>1.000000 1.000000 1.000000 1</color> </diffuse> <specular> <color>0.330000 0.330000 0.330000 1</color> </specular> <shininess> <float>20.000000</float> </shininess> <reflectivity> <float>0.100000</float> </reflectivity> <transparent> <color>1 1 1 1</color> </transparent> <transparency> <float>0.000000</float> </transparency> </phong> </technique> <extra> <technique profile="GOOGLEEARTH"> <double_sided>1</double_sided> </technique> </extra> </profile_COMMON> </effect> <effect id="material12-effect" name="material12-effect"> <profile_COMMON> <newparam sid="material12-image-surface"> <surface type="2D"> <init_from>material12-image</init_from> </surface> </newparam> <newparam sid="material12-image-sampler"> <sampler2D> <source>material12-image-surface</source> </sampler2D> </newparam> <technique sid="COMMON"> <phong> <emission> <color>0.000000 0.000000 0.000000 1</color> </emission> <ambient> <color>0.000000 0.000000 0.000000 1</color> </ambient> <diffuse> <texture texture="material12-image-sampler" texcoord="UVSET0"/> </diffuse> <specular> <color>0.330000 0.330000 0.330000 1</color> </specular> <shininess> <float>20.000000</float> </shininess> <reflectivity> <float>0.100000</float> </reflectivity> <transparent> <color>1 1 1 1</color> </transparent> <transparency> <float>0.000000</float> </transparency> </phong> </technique> <extra> <technique profile="GOOGLEEARTH"> <double_sided>1</double_sided> </technique> </extra> </profile_COMMON> </effect> <effect id="material13-effect" name="material13-effect"> <profile_COMMON> <newparam sid="material13-image-surface"> <surface type="2D"> <init_from>material13-image</init_from> </surface> </newparam> <newparam sid="material13-image-sampler"> <sampler2D> <source>material13-image-surface</source> </sampler2D> </newparam> <technique sid="COMMON"> <phong> <emission> <color>0.000000 0.000000 0.000000 1</color> </emission> <ambient> <color>0.000000 0.000000 0.000000 1</color> </ambient> <diffuse> <texture texture="material13-image-sampler" texcoord="UVSET0"/> </diffuse> <specular> <color>0.330000 0.330000 0.330000 1</color> </specular> <shininess> <float>20.000000</float> </shininess> <reflectivity> <float>0.100000</float> </reflectivity> <transparent> <color>1 1 1 1</color> </transparent> <transparency> <float>0.000000</float> </transparency> </phong> </technique> <extra> <technique profile="GOOGLEEARTH"> <double_sided>1</double_sided> </technique> </extra> </profile_COMMON> </effect> <effect id="material14-effect" name="material14-effect"> <profile_COMMON> <newparam sid="material14-image-surface"> <surface type="2D"> <init_from>material14-image</init_from> </surface> </newparam> <newparam sid="material14-image-sampler"> <sampler2D> <source>material14-image-surface</source> </sampler2D> </newparam> <technique sid="COMMON"> <phong> <emission> <color>0.000000 0.000000 0.000000 1</color> </emission> <ambient> <color>0.000000 0.000000 0.000000 1</color> </ambient> <diffuse> <texture texture="material14-image-sampler" texcoord="UVSET0"/> </diffuse> <specular> <color>0.330000 0.330000 0.330000 1</color> </specular> <shininess> <float>20.000000</float> </shininess> <reflectivity> <float>0.100000</float> </reflectivity> <transparent> <color>1 1 1 1</color> </transparent> <transparency> <float>0.000000</float> </transparency> </phong> </technique> <extra> <technique profile="GOOGLEEARTH"> <double_sided>1</double_sided> </technique> </extra> </profile_COMMON> </effect> <effect id="material15-effect" name="material15-effect"> <profile_COMMON> <newparam sid="material15-image-surface"> <surface type="2D"> <init_from>material15-image</init_from> </surface> </newparam> <newparam sid="material15-image-sampler"> <sampler2D> <source>material15-image-surface</source> </sampler2D> </newparam> <technique sid="COMMON"> <phong> <emission> <color>0.000000 0.000000 0.000000 1</color> </emission> <ambient> <color>0.000000 0.000000 0.000000 1</color> </ambient> <diffuse> <texture texture="material15-image-sampler" texcoord="UVSET0"/> </diffuse> <specular> <color>0.330000 0.330000 0.330000 1</color> </specular> <shininess> <float>20.000000</float> </shininess> <reflectivity> <float>0.100000</float> </reflectivity> <transparent> <color>1 1 1 1</color> </transparent> <transparency> <float>0.000000</float> </transparency> </phong> </technique> <extra> <technique profile="GOOGLEEARTH"> <double_sided>1</double_sided> </technique> </extra> </profile_COMMON> </effect> <effect id="material16-effect" name="material16-effect"> <profile_COMMON> <newparam sid="material16-image-surface"> <surface type="2D"> <init_from>material16-image</init_from> </surface> </newparam> <newparam sid="material16-image-sampler"> <sampler2D> <source>material16-image-surface</source> </sampler2D> </newparam> <technique sid="COMMON"> <phong> <emission> <color>0.000000 0.000000 0.000000 1</color> </emission> <ambient> <color>0.000000 0.000000 0.000000 1</color> </ambient> <diffuse> <texture texture="material16-image-sampler" texcoord="UVSET0"/> </diffuse> <specular> <color>0.330000 0.330000 0.330000 1</color> </specular> <shininess> <float>20.000000</float> </shininess> <reflectivity> <float>0.100000</float> </reflectivity> <transparent> <color>1 1 1 1</color> </transparent> <transparency> <float>0.000000</float> </transparency> </phong> </technique> <extra> <technique profile="GOOGLEEARTH"> <double_sided>1</double_sided> </technique> </extra> </profile_COMMON> </effect> <effect id="material17-effect" name="material17-effect"> <profile_COMMON> <newparam sid="material17-image-surface"> <surface type="2D"> <init_from>material17-image</init_from> </surface> </newparam> <newparam sid="material17-image-sampler"> <sampler2D> <source>material17-image-surface</source> </sampler2D> </newparam> <technique sid="COMMON"> <phong> <emission> <color>0.000000 0.000000 0.000000 1</color> </emission> <ambient> <color>0.000000 0.000000 0.000000 1</color> </ambient> <diffuse> <texture texture="material17-image-sampler" texcoord="UVSET0"/> </diffuse> <specular> <color>0.330000 0.330000 0.330000 1</color> </specular> <shininess> <float>20.000000</float> </shininess> <reflectivity> <float>0.100000</float> </reflectivity> <transparent> <color>1 1 1 1</color> </transparent> <transparency> <float>0.000000</float> </transparency> </phong> </technique> <extra> <technique profile="GOOGLEEARTH"> <double_sided>1</double_sided> </technique> </extra> </profile_COMMON> </effect> <effect id="material18-effect" name="material18-effect"> <profile_COMMON> <newparam sid="material18-image-surface"> <surface type="2D"> <init_from>material18-image</init_from> </surface> </newparam> <newparam sid="material18-image-sampler"> <sampler2D> <source>material18-image-surface</source> </sampler2D> </newparam> <technique sid="COMMON"> <phong> <emission> <color>0.000000 0.000000 0.000000 1</color> </emission> <ambient> <color>0.000000 0.000000 0.000000 1</color> </ambient> <diffuse> <texture texture="material18-image-sampler" texcoord="UVSET0"/> </diffuse> <specular> <color>0.330000 0.330000 0.330000 1</color> </specular> <shininess> <float>20.000000</float> </shininess> <reflectivity> <float>0.100000</float> </reflectivity> <transparent> <color>1 1 1 1</color> </transparent> <transparency> <float>0.000000</float> </transparency> </phong> </technique> <extra> <technique profile="GOOGLEEARTH"> <double_sided>1</double_sided> </technique> </extra> </profile_COMMON> </effect> <effect id="material19-effect" name="material19-effect"> <profile_COMMON> <newparam sid="material19-image-surface"> <surface type="2D"> <init_from>material19-image</init_from> </surface> </newparam> <newparam sid="material19-image-sampler"> <sampler2D> <source>material19-image-surface</source> </sampler2D> </newparam> <technique sid="COMMON"> <phong> <emission> <color>0.000000 0.000000 0.000000 1</color> </emission> <ambient> <color>0.000000 0.000000 0.000000 1</color> </ambient> <diffuse> <texture texture="material19-image-sampler" texcoord="UVSET0"/> </diffuse> <specular> <color>0.330000 0.330000 0.330000 1</color> </specular> <shininess> <float>20.000000</float> </shininess> <reflectivity> <float>0.100000</float> </reflectivity> <transparent> <color>1 1 1 1</color> </transparent> <transparency> <float>0.000000</float> </transparency> </phong> </technique> <extra> <technique profile="GOOGLEEARTH"> <double_sided>1</double_sided> </technique> </extra> </profile_COMMON> </effect> </library_effects> <library_geometries> <geometry id="mesh1-geometry" name="mesh1-geometry"> <mesh> <source id="mesh1-geometry-position"> <float_array id="mesh1-geometry-position-array" count="132">11.777808 -9.215656 2.252115 9.482217 -7.548469 -0.384197 11.728244 -9.179660 -0.447191 9.531781 -7.584465 2.315108 21.062660 -15.696405 1.995207 7.285754 -5.953275 2.378101 5.039726 -4.322084 2.441094 2.793699 -2.690894 2.504087 0.547672 -1.059703 2.567080 -1.698355 0.571488 2.630074 -3.944383 2.202678 2.693067 -6.190410 3.833869 2.756060 -8.436437 5.465059 2.819053 -10.682464 7.096250 2.882046 -12.928492 8.727440 2.945039 -15.174519 10.358631 3.008033 -17.420546 11.989822 3.071026 -19.538602 13.790502 3.133929 -19.666573 13.621012 3.134019 -19.716137 13.657008 0.434714 -19.588166 13.826497 0.434624 21.013096 -15.660409 -0.704098 20.934688 -15.865894 1.995296 20.885125 -15.829898 -0.704009 20.712353 -15.704422 -0.699163 20.761917 -15.740418 2.000142 18.515890 -14.109228 2.063135 16.269863 -12.478037 2.126128 14.023835 -10.846846 2.189121 13.974272 -10.810850 -0.510184 7.236190 -5.917279 -0.321204 4.990163 -4.286088 -0.258211 2.744135 -2.654898 -0.195218 0.498108 -1.023707 -0.132225 -1.747919 0.607484 -0.069232 -3.993946 2.238674 -0.006238 -6.239974 3.869865 0.056755 -8.486001 5.501055 0.119748 -10.732028 7.132246 0.182741 -12.978055 8.763436 0.245734 -15.224083 10.394627 0.308727 -17.470110 12.025818 0.371721 16.220299 -12.442041 -0.573177 18.466326 -14.073232 -0.636170 </float_array> <technique_common> <accessor source="#mesh1-geometry-position-array" count="44" stride="3"> <param name="X" type="float"/> <param name="Y" type="float"/> <param name="Z" type="float"/> </accessor> </technique_common> </source> <source id="mesh1-geometry-normal"> <float_array id="mesh1-geometry-normal-array" count="72">-0.602572 -0.798065 0.000422 0.018357 -0.013332 0.999743 -0.808919 0.587482 0.022687 0.602572 0.798065 -0.000422 0.808919 -0.587482 -0.022687 -0.602572 -0.798065 0.000422 -0.602572 -0.798065 0.000422 -0.018357 0.013332 -0.999743 -0.602572 -0.798065 0.000422 -0.602572 -0.798065 0.000422 -0.602572 -0.798065 0.000422 -0.602572 -0.798065 0.000422 -0.602572 -0.798065 0.000422 -0.602572 -0.798065 0.000422 -0.602572 -0.798065 0.000422 -0.602572 -0.798065 0.000422 -0.602572 -0.798065 0.000422 -0.602572 -0.798065 0.000422 -0.602572 -0.798065 0.000422 -0.602572 -0.798065 0.000422 -0.602572 -0.798065 0.000422 -0.602572 -0.798065 0.000422 -0.602572 -0.798065 0.000422 -0.602572 -0.798065 0.000422 </float_array> <technique_common> <accessor source="#mesh1-geometry-normal-array" count="24" stride="3"> <param name="X" type="float"/> <param name="Y" type="float"/> <param name="Z" type="float"/> </accessor> </technique_common> </source> <source id="mesh1-geometry-uv"> <float_array id="mesh1-geometry-uv-array" count="262">5.000000 1.000000 4.000000 0.000000 5.000000 -0.000000 4.000000 1.000000 5.076910 0.050000 -0.000001 0.000000 0.999998 0.000000 -1.000000 0.000000 -2.000000 0.000000 -3.000001 0.000000 -4.000002 0.000000 -5.000004 0.000000 -6.000006 0.000000 -7.000009 0.000000 -8.000013 0.000000 -9.000017 0.000000 -10.000022 0.000000 -11.000027 0.000000 -12.000033 0.000000 -13.000040 0.050000 -13.000040 0.000000 0.000000 0.750000 0.076923 0.000000 0.076923 0.750000 0.000000 0.000000 -9.000000 0.000000 9.076921 -0.750000 9.076921 0.000000 -9.000000 -0.750000 -1.000000 0.000000 -0.923077 -0.750000 -0.923077 0.000000 -1.000000 -0.750000 116.000000 1.000000 115.000000 0.000000 116.000000 -0.000000 115.000000 1.000000 4.999987 -0.000000 5.076910 0.000000 3.999991 -0.000000 2.999994 0.000000 1.999996 0.000000 5.000000 -0.000000 6.000000 1.000000 5.000000 1.000000 6.000000 -0.000000 -1151.680156 248.352604 -1491.745440 6.327913 -1233.943024 187.435927 -1069.417288 309.269280 -987.154419 370.185956 -904.891551 431.102633 -822.628683 492.019309 -740.365814 552.935986 -658.102946 613.852662 -575.840078 674.769338 -493.577210 735.686015 -411.314341 796.602691 -329.051473 857.519367 -246.788605 918.436044 -164.525737 979.352720 -82.262868 1040.269396 -4.685898 1107.513986 0.000000 1101.186073 -8.000000 1.000000 -9.000000 0.000000 -8.000000 -0.000000 -9.000000 1.000000 -8.000000 0.000000 -7.000000 1.000000 -8.000000 1.000000 -7.000000 -0.000000 -7.000000 0.000000 -6.000000 1.000000 -7.000000 1.000000 -6.000000 -0.000000 -6.000119 0.005376 -5.000119 1.005376 -6.000119 1.005376 -5.000119 0.005376 -5.000000 0.000000 -4.000000 1.000000 -5.000000 1.000000 -4.000000 -0.000000 -4.000000 -0.000000 -3.000000 1.000000 -4.000000 1.000000 -3.000000 -0.000000 -3.000000 0.000000 -2.000000 1.000000 -3.000000 1.000000 -2.000000 -0.000000 -2.000000 0.000000 -1.000000 1.000000 -2.000000 1.000000 -1.000000 -0.000000 -1.000000 0.000000 0.000000 1.000000 -1.000000 1.000000 0.000000 -0.000000 0.000000 -0.000000 1.000000 1.000000 1.000000 -0.000000 2.000000 0.000000 1.000000 1.000000 1.000000 0.000000 2.000000 1.000000 2.000000 -0.000000 3.000000 1.000000 2.000000 1.000000 3.000000 -0.000000 3.000000 0.000000 4.000000 1.000000 3.000000 1.000000 4.000000 -0.000000 -1316.205892 126.519251 -1398.468761 65.602575 -1480.731629 4.685898 -1487.059542 -0.000000 9.000000 1.000000 8.000000 0.000000 9.000000 -0.000000 8.000000 1.000000 8.000000 1.000000 7.000000 0.000000 8.000000 -0.000000 7.000000 1.000000 7.000000 1.000000 6.000000 0.000000 7.000000 -0.000000 6.000000 1.000000 </float_array> <technique_common> <accessor source="#mesh1-geometry-uv-array" count="131" stride="2"> <param name="S" type="float"/> <param name="T" type="float"/> </accessor> </technique_common> </source> <vertices id="mesh1-geometry-vertex"> <input semantic="POSITION" source="#mesh1-geometry-position"/> </vertices> <triangles material="material0" count="2"> <input semantic="VERTEX" source="#mesh1-geometry-vertex" offset="0"/> <input semantic="NORMAL" source="#mesh1-geometry-normal" offset="1"/> <input semantic="TEXCOORD" source="#mesh1-geometry-uv" offset="2" set="0"/> <p>0 0 0 1 0 1 2 0 2 1 0 1 0 0 0 3 0 3 </p> </triangles> <triangles material="material6" count="26"> <input semantic="VERTEX" source="#mesh1-geometry-vertex" offset="0"/> <input semantic="NORMAL" source="#mesh1-geometry-normal" offset="1"/> <input semantic="TEXCOORD" source="#mesh1-geometry-uv" offset="2" set="0"/> <p>4 1 4 3 1 5 0 1 6 4 1 4 5 1 7 3 1 5 4 1 4 6 1 8 5 1 7 4 1 4 7 1 9 6 1 8 4 1 4 8 1 10 7 1 9 4 1 4 9 1 11 8 1 10 4 1 4 10 1 12 9 1 11 4 1 4 11 1 13 10 1 12 4 1 4 12 1 14 11 1 13 4 1 4 13 1 15 12 1 14 4 1 4 14 1 16 13 1 15 4 1 4 15 1 17 14 1 16 4 1 4 16 1 18 15 1 17 17 1 19 16 1 18 4 1 4 16 1 18 17 1 19 18 1 20 17 2 21 19 2 22 18 2 23 19 2 22 17 2 21 20 2 24 4 3 25 20 3 26 17 3 27 20 3 26 4 3 25 21 3 28 22 4 29 21 4 30 4 4 31 21 4 30 22 4 29 23 4 32 4 1 4 25 1 37 22 1 38 4 1 4 26 1 39 25 1 37 4 1 4 27 1 40 26 1 39 4 1 4 28 1 41 27 1 40 4 1 4 0 1 6 28 1 41 </p> </triangles> <triangles material="material8" count="2"> <input semantic="VERTEX" source="#mesh1-geometry-vertex" offset="0"/> <input semantic="NORMAL" source="#mesh1-geometry-normal" offset="1"/> <input semantic="TEXCOORD" source="#mesh1-geometry-uv" offset="2" set="0"/> <p>22 5 33 24 5 34 23 5 35 24 5 34 22 5 33 25 5 36 </p> </triangles> <triangles material="material4" count="2"> <input semantic="VERTEX" source="#mesh1-geometry-vertex" offset="0"/> <input semantic="NORMAL" source="#mesh1-geometry-normal" offset="1"/> <input semantic="TEXCOORD" source="#mesh1-geometry-uv" offset="2" set="0"/> <p>2 6 42 28 6 43 0 6 44 28 6 43 2 6 42 29 6 45 </p> </triangles> <triangles material="FrontColorNoCulling" count="20"> <input semantic="VERTEX" source="#mesh1-geometry-vertex" offset="0"/> <input semantic="NORMAL" source="#mesh1-geometry-normal" offset="1"/> <input semantic="TEXCOORD" source="#mesh1-geometry-uv" offset="2" set="0"/> <p>2 7 46 21 7 47 29 7 48 1 7 49 21 7 47 2 7 46 30 7 50 21 7 47 1 7 49 31 7 51 21 7 47 30 7 50 32 7 52 21 7 47 31 7 51 33 7 53 21 7 47 32 7 52 34 7 54 21 7 47 33 7 53 35 7 55 21 7 47 34 7 54 36 7 56 21 7 47 35 7 55 37 7 57 21 7 47 36 7 56 38 7 58 21 7 47 37 7 57 39 7 59 21 7 47 38 7 58 40 7 60 21 7 47 39 7 59 41 7 61 21 7 47 40 7 60 41 7 61 20 7 62 21 7 47 20 7 62 41 7 61 19 7 63 29 7 48 21 7 47 42 7 115 42 7 115 21 7 47 43 7 116 43 7 116 21 7 47 24 7 117 24 7 117 21 7 47 23 7 118 </p> </triangles> <triangles material="material2" count="2"> <input semantic="VERTEX" source="#mesh1-geometry-vertex" offset="0"/> <input semantic="NORMAL" source="#mesh1-geometry-normal" offset="1"/> <input semantic="TEXCOORD" source="#mesh1-geometry-uv" offset="2" set="0"/> <p>16 8 64 19 8 65 41 8 66 19 8 65 16 8 64 18 8 67 </p> </triangles> <triangles material="material9" count="2"> <input semantic="VERTEX" source="#mesh1-geometry-vertex" offset="0"/> <input semantic="NORMAL" source="#mesh1-geometry-normal" offset="1"/> <input semantic="TEXCOORD" source="#mesh1-geometry-uv" offset="2" set="0"/> <p>41 9 68 15 9 69 16 9 70 15 9 69 41 9 68 40 9 71 </p> </triangles> <triangles material="material13" count="2"> <input semantic="VERTEX" source="#mesh1-geometry-vertex" offset="0"/> <input semantic="NORMAL" source="#mesh1-geometry-normal" offset="1"/> <input semantic="TEXCOORD" source="#mesh1-geometry-uv" offset="2" set="0"/> <p>40 10 72 14 10 73 15 10 74 14 10 73 40 10 72 39 10 75 </p> </triangles> <triangles material="material16" count="2"> <input semantic="VERTEX" source="#mesh1-geometry-vertex" offset="0"/> <input semantic="NORMAL" source="#mesh1-geometry-normal" offset="1"/> <input semantic="TEXCOORD" source="#mesh1-geometry-uv" offset="2" set="0"/> <p>39 11 76 13 11 77 14 11 78 13 11 77 39 11 76 38 11 79 </p> </triangles> <triangles material="material19" count="2"> <input semantic="VERTEX" source="#mesh1-geometry-vertex" offset="0"/> <input semantic="NORMAL" source="#mesh1-geometry-normal" offset="1"/> <input semantic="TEXCOORD" source="#mesh1-geometry-uv" offset="2" set="0"/> <p>38 12 80 12 12 81 13 12 82 12 12 81 38 12 80 37 12 83 </p> </triangles> <triangles material="material15" count="2"> <input semantic="VERTEX" source="#mesh1-geometry-vertex" offset="0"/> <input semantic="NORMAL" source="#mesh1-geometry-normal" offset="1"/> <input semantic="TEXCOORD" source="#mesh1-geometry-uv" offset="2" set="0"/> <p>37 13 84 11 13 85 12 13 86 11 13 85 37 13 84 36 13 87 </p> </triangles> <triangles material="material7" count="2"> <input semantic="VERTEX" source="#mesh1-geometry-vertex" offset="0"/> <input semantic="NORMAL" source="#mesh1-geometry-normal" offset="1"/> <input semantic="TEXCOORD" source="#mesh1-geometry-uv" offset="2" set="0"/> <p>36 14 88 10 14 89 11 14 90 10 14 89 36 14 88 35 14 91 </p> </triangles> <triangles material="material3" count="2"> <input semantic="VERTEX" source="#mesh1-geometry-vertex" offset="0"/> <input semantic="NORMAL" source="#mesh1-geometry-normal" offset="1"/> <input semantic="TEXCOORD" source="#mesh1-geometry-uv" offset="2" set="0"/> <p>35 15 92 9 15 93 10 15 94 9 15 93 35 15 92 34 15 95 </p> </triangles> <triangles material="material18" count="2"> <input semantic="VERTEX" source="#mesh1-geometry-vertex" offset="0"/> <input semantic="NORMAL" source="#mesh1-geometry-normal" offset="1"/> <input semantic="TEXCOORD" source="#mesh1-geometry-uv" offset="2" set="0"/> <p>34 16 96 8 16 97 9 16 98 8 16 97 34 16 96 33 16 99 </p> </triangles> <triangles material="material17" count="2"> <input semantic="VERTEX" source="#mesh1-geometry-vertex" offset="0"/> <input semantic="NORMAL" source="#mesh1-geometry-normal" offset="1"/> <input semantic="TEXCOORD" source="#mesh1-geometry-uv" offset="2" set="0"/> <p>33 17 100 7 17 101 8 17 97 7 17 101 33 17 100 32 17 102 </p> </triangles> <triangles material="material14" count="2"> <input semantic="VERTEX" source="#mesh1-geometry-vertex" offset="0"/> <input semantic="NORMAL" source="#mesh1-geometry-normal" offset="1"/> <input semantic="TEXCOORD" source="#mesh1-geometry-uv" offset="2" set="0"/> <p>31 18 103 7 18 104 32 18 105 7 18 104 31 18 103 6 18 106 </p> </triangles> <triangles material="material12" count="2"> <input semantic="VERTEX" source="#mesh1-geometry-vertex" offset="0"/> <input semantic="NORMAL" source="#mesh1-geometry-normal" offset="1"/> <input semantic="TEXCOORD" source="#mesh1-geometry-uv" offset="2" set="0"/> <p>31 19 107 5 19 108 6 19 109 5 19 108 31 19 107 30 19 110 </p> </triangles> <triangles material="material11" count="2"> <input semantic="VERTEX" source="#mesh1-geometry-vertex" offset="0"/> <input semantic="NORMAL" source="#mesh1-geometry-normal" offset="1"/> <input semantic="TEXCOORD" source="#mesh1-geometry-uv" offset="2" set="0"/> <p>30 20 111 3 20 112 5 20 113 3 20 112 30 20 111 1 20 114 </p> </triangles> <triangles material="material10" count="2"> <input semantic="VERTEX" source="#mesh1-geometry-vertex" offset="0"/> <input semantic="NORMAL" source="#mesh1-geometry-normal" offset="1"/> <input semantic="TEXCOORD" source="#mesh1-geometry-uv" offset="2" set="0"/> <p>25 21 119 43 21 120 24 21 121 43 21 120 25 21 119 26 21 122 </p> </triangles> <triangles material="material5" count="2"> <input semantic="VERTEX" source="#mesh1-geometry-vertex" offset="0"/> <input semantic="NORMAL" source="#mesh1-geometry-normal" offset="1"/> <input semantic="TEXCOORD" source="#mesh1-geometry-uv" offset="2" set="0"/> <p>26 22 123 42 22 124 43 22 125 42 22 124 26 22 123 27 22 126 </p> </triangles> <triangles material="material1" count="2"> <input semantic="VERTEX" source="#mesh1-geometry-vertex" offset="0"/> <input semantic="NORMAL" source="#mesh1-geometry-normal" offset="1"/> <input semantic="TEXCOORD" source="#mesh1-geometry-uv" offset="2" set="0"/> <p>27 23 127 29 23 128 42 23 129 29 23 128 27 23 127 28 23 130 </p> </triangles> </mesh> </geometry> </library_geometries> <library_visual_scenes> <visual_scene id="SketchUpScene" name="SketchUpScene"> <node id="Model" name="Model"> <node id="t" name="t"> <node id="mesh1" name="mesh1"> <instance_geometry url="#mesh1-geometry"> <bind_material> <technique_common> <instance_material symbol="material0" target="#material0ID"> <bind_vertex_input semantic="UVSET0" input_semantic="TEXCOORD" input_set="0"/> </instance_material> <instance_material symbol="material6" target="#material6ID"> <bind_vertex_input semantic="UVSET0" input_semantic="TEXCOORD" input_set="0"/> </instance_material> <instance_material symbol="material8" target="#material8ID"> <bind_vertex_input semantic="UVSET0" input_semantic="TEXCOORD" input_set="0"/> </instance_material> <instance_material symbol="material4" target="#material4ID"> <bind_vertex_input semantic="UVSET0" input_semantic="TEXCOORD" input_set="0"/> </instance_material> <instance_material symbol="FrontColorNoCulling" target="#FrontColorNoCullingID"/> <instance_material symbol="material2" target="#material2ID"> <bind_vertex_input semantic="UVSET0" input_semantic="TEXCOORD" input_set="0"/> </instance_material> <instance_material symbol="material9" target="#material9ID"> <bind_vertex_input semantic="UVSET0" input_semantic="TEXCOORD" input_set="0"/> </instance_material> <instance_material symbol="material13" target="#material13ID"> <bind_vertex_input semantic="UVSET0" input_semantic="TEXCOORD" input_set="0"/> </instance_material> <instance_material symbol="material16" target="#material16ID"> <bind_vertex_input semantic="UVSET0" input_semantic="TEXCOORD" input_set="0"/> </instance_material> <instance_material symbol="material19" target="#material19ID"> <bind_vertex_input semantic="UVSET0" input_semantic="TEXCOORD" input_set="0"/> </instance_material> <instance_material symbol="material15" target="#material15ID"> <bind_vertex_input semantic="UVSET0" input_semantic="TEXCOORD" input_set="0"/> </instance_material> <instance_material symbol="material7" target="#material7ID"> <bind_vertex_input semantic="UVSET0" input_semantic="TEXCOORD" input_set="0"/> </instance_material> <instance_material symbol="material3" target="#material3ID"> <bind_vertex_input semantic="UVSET0" input_semantic="TEXCOORD" input_set="0"/> </instance_material> <instance_material symbol="material18" target="#material18ID"> <bind_vertex_input semantic="UVSET0" input_semantic="TEXCOORD" input_set="0"/> </instance_material> <instance_material symbol="material17" target="#material17ID"> <bind_vertex_input semantic="UVSET0" input_semantic="TEXCOORD" input_set="0"/> </instance_material> <instance_material symbol="material14" target="#material14ID"> <bind_vertex_input semantic="UVSET0" input_semantic="TEXCOORD" input_set="0"/> </instance_material> <instance_material symbol="material12" target="#material12ID"> <bind_vertex_input semantic="UVSET0" input_semantic="TEXCOORD" input_set="0"/> </instance_material> <instance_material symbol="material11" target="#material11ID"> <bind_vertex_input semantic="UVSET0" input_semantic="TEXCOORD" input_set="0"/> </instance_material> <instance_material symbol="material10" target="#material10ID"> <bind_vertex_input semantic="UVSET0" input_semantic="TEXCOORD" input_set="0"/> </instance_material> <instance_material symbol="material5" target="#material5ID"> <bind_vertex_input semantic="UVSET0" input_semantic="TEXCOORD" input_set="0"/> </instance_material> <instance_material symbol="material1" target="#material1ID"> <bind_vertex_input semantic="UVSET0" input_semantic="TEXCOORD" input_set="0"/> </instance_material> </technique_common> </bind_material> </instance_geometry> </node> </node> </node> </visual_scene> </library_visual_scenes> <scene> <instance_visual_scene url="#SketchUpScene"/> </scene> </COLLADA>
If you don’t already have a copy download sketchUp from google. The free version is all you need for this tutorial. Once you download it you will notice that sketchUp allows you to search the google 3d warehouse. The warehouse house numerous models that you can use in your projects it is easy to import the files into sketchUp the warehouse browser allows you to save your files as colloda or google earth files. You can also model your files in sketchUp. To convert a model from a .kmz file to a colloda file is easy all you have to do is export the file as a .KMZ file or the native format for google earth. Once you have exported the file to your desktop you can right click on it rename the extension from .kmz to .zip the kmz or google earth file is a zip file once you open it you will see your model files and the colloda or .dae file this file is really a simple .xml file that describes your model. When importing numerous models from google for a scene you will need to edit this file to make sure your models don’t have the same texture names to do this just open the file in a text editor rename the .jpg or .png files to be different from the models you previously exported that it. Papervision3d makes 3d content a breeze! PaperVision3d also allows you to add interactive materials in your model like .swf movies or youtube videos. When working with papervision3d you might also want to download vizualpv3d. Download the Project Files Flash News Links: Flash will now allow developers to Publish to the iPhone Push Button Engine – Cool Game Framework Hype Framework (Generative Art / Animation) is now out! vizualpv3d Bookmark and Share More »Powered by Bookmarkify™





