SketchUp – Geospatial Modeling & Visualization / A Method Store for Advanced Survey and Modeling Technologies Thu, 22 Mar 2018 11:58:17 +0000 en-US hourly 1 https://wordpress.org/?v=6.9.4 ArcScene to Sketchup to ArcScene /modeling/software-visualization/sketchup/workflow-sketchup/arcscene-to-sketchup-to-arcscene/ Wed, 09 May 2012 17:01:40 +0000 /?p=9534 “Select” = ‘Properties…’ (very last option) [/wptabcontent] [wptabtitle] Extruding Features[/wptabtitle] … Continue reading ]]> [wptabs style=”wpui-alma” mode=”vertical”] [wptabtitle] Getting Started[/wptabtitle] [wptabcontent]

  • Open ArcScene
  • Add your polygon data from shapefile, geodatabase, or SDE connection
  • “Right Click” on the layer in the Table of Contents ->
    “Select” = ‘Properties…’ (very last option)

[/wptabcontent]
[wptabtitle] Extruding Features[/wptabtitle] [wptabcontent]

  • “Select” ‘Extrusion’ tab on the Layer Properties
    Menu
  • Check the box and then either extrude feature by a
    set value or pre-determined expression. (You can also select and/or construct attribute expressions using the ‘Expression Builder’ button)
  • Visually inspect extruded features in the Dataframe
    and ensure they look to be correct.

extrude the layer
[/wptabcontent]
[wptabtitle] Convert to feature class[/wptabtitle] [wptabcontent]

  • In ArcToolbox > 3D Analyst Tools > Conversion >
    “Layer 3D to Feature Class” is the tool we will use to
    convert the extruded features to a ‘Multipatch’ feature class.
  • Input the corresponding Feature layer to be converted into a Multipatch, put it in a familiar directory for output.

layer3D in toolbox Layer3d to Feature Class
[/wptabcontent]
[wptabtitle] Convert to Collada[/wptabtitle] [wptabcontent]Again in the ArcToolbox > Conversion > To Collada > ‘Multipatch to Collada’ tool is what we will use to output a file in a format Google Sketchup® will recognize.
arctoolbox multipatch2collada
Multipatch to Collada
[/wptabcontent]
[wptabtitle] Import to Sketchup[/wptabtitle] [wptabcontent]

  • Open Google Sketchup® and choose a template that is in the same units as your projection in ArcScene (i.e. meters, Feet and Inches, etc.)
  • In Sketchup > File > Import…
  • Navigate to where you just exported the Collada file from ArcScene and make sure your file type is COLLADA in the drop down menu
  • “Select” > Options…
  • Here you will want to decide if you want to merge coplanar faces – typically for texturing the outsides of builds you do want to merge

Sketchup Import Tool
dae_import_options
[/wptabcontent]
[wptabtitle] Rendering tasks[/wptabtitle] [wptabcontent]Perform all necessary rendering tasks. Be sure to group all elements before saving.[/wptabcontent]
[wptabtitle] Returning to ArcScene[/wptabtitle] [wptabcontent]Getting the model back into ArcScene is almost the exact opposite first we want to export our finished model in Sketchup by “Selecting” File > Export > 3D Model

  • Name the File something relevant and save it in a familiar directory as a COLLADA .dae file
  • Add an empty or populated multipatch feature class into ArcScene or ArcGlobe.
  • Begin a 3D edit session by clicking the 3D Editor drop-down and click “Start Editing”.
  • Click the Edit Placement tool on the 3D Editor toolbar.
  • Click the multipatch feature in the Create Features window.
  • The Insert tool will appear in the Construction Tools window.
  • Select the Insert tool under Construction Tools.
  • Click the desired location of the multipatch model in the 3D view.
  • When prompted, navigate to the location of the supported 3D model file on disk.
  • Select the model and click Open.

***Note you will add the same model over and over again with ever click until you deselect the “Insert Tool”[/wptabcontent]
[wptabtitle] The Result[/wptabtitle] [wptabcontent]By following these steps you can bring your model back and forth between the two programs.

original model

Original model in ArcGIS


post-sketchup model

Post-Sketchup Model


[/wptabcontent]
[/wptabs]

]]>
Basic Unity and Importing a SketchUp Model /modeling/software-visualization/sketchup/workflow-sketchup/basic-unity-and-importing-a-sketchup-model-3/ Mon, 11 Apr 2011 19:06:37 +0000 /891/basic-unity-and-importing-a-sketchup-model/ Continue reading ]]> Taste of Unity

Navigation:

in the scene

left click: pan right click: zoom alt + left: orbit around center

in the game

uses WASD controls

W: forward

A: left

S: backwards

D: right mouse: moves your view

Importing a SketchUp model into Unity

Unity provides users a free version of the development application for personal and commercial use. Some features are not available on the free Unity package.

  1. Register, double click on the Unity Icon. Select Internet activation and follow the directions.
  2. Open Unity, load Islands.unity (File > Open scene, Unity should automatically locate the file)
  3. Basics of Unity: Main Editor Window

 


Every Unity project contains an Assets folder. The contents of this folder are presented in the Project View. This is where you store all the assets that make up your game, like scenes, scripts, 3D models, textures, audio files, and Prefabs. If you right-click on any asset in the Project View, you can choose Reveal in Finder (Reveal in Explorer on Windows) to actually see the asset itself in your file system.

Important Note: You should never move project assets around using the OS since this will break any metadata associated with the asset. Always use the Project View to organize your assets.

Scene View

This is where you will build the game, create interactions and set controls. Use the mouse and alt button to move around.

Game View

This gives you a rendered game version of your scene and lets you test the interactions and controls. To navigate around, press the play button and use the WASD keys and mouse.

  1. In scene view, fly to a spot on the beach near the bridge. In the project window, select Create > Folder and create a new folder, name it SU. Now right click on the SU folder and select Show in Folder. Note where the folder is, you will save your model in SketchUp to this folder. This is the Assests folder.
  2. Minimize Unity and open SketchUp.
  3. Select Get Models icon, search for “beach chair” and download. Place model at the center of the scene on the axis.
  4. File > Export > 3D model Change drop down list to “3DS File”, select option, check that Export two-sided faces As materials and Export texture maps Favor Preserving texture coordinates are selected, click OK, name the file “beach_chair” and then Export to the SU folder created in Unity (see step #4).
  5. In Unity, expand the SU folder in the Projects view. Select the beach chair and drag it to the scene, try to place it on the beach. Now translate and scale the beach chair so that it is located correctly and appropriately sized.

 

Transform Tool


When the hand icon is selected this will allow you to navigate around the scene. Selecting the other icons will let you translate, rotate or scale an


  1. Test the scene, select the play icon to switch to game mode. Navigate to the beach chair and have a seat.
  2. Switch to SketchUp and change the chair’s texture. Re-export the model to the Unity Assets folder. Now switch back to Unity, the beach chair will now show the changes made in SketchUp.

]]>