Fetch Scene (vuo.scene.fetch)

Loads or downloads a 3D scene (3D model) from a URL.

If you drag a 3D scene file from your computer onto the composition, an instance of this node will be created with the URL port set up.

This node interprets the scene’s vertices as Vuo coordinates. Optionally, this node can center and fit the scene to make sure it shows up within the area rendered by the Render Scene to Window or Render Scene to Image node (with the default camera). The centering and fitting are based on the bounding box around the scene — the smallest box that can enclose it. The bounding box is always aligned with the X-axis, Y-axis, and Z-axis (not rotated). If the scene is both centered and fit, then the centering is done first.

To download a 3D scene from the internet, copy the scene’s URL from your browser. Example:

To load a 3D scene from a file on the computer running the composition, create a URL from the file’s path. Examples:

If the file’s location doesn’t start with file:// or /, then it’s treated as a relative path. This is the option you’d typically want when sharing the composition with others. If running the composition on a different computer than it was created on, the file needs to exist in the same location relative to the composition (.vuo) file. If running an application exported from the composition, the file needs to exist in the Contents/Resources folder inside the application package; see the Vuo Manual for details.

If the file’s location starts with file:// or /, then it’s treated as an absolute path. If running the composition on a different computer than it was created on, the file needs to exist in the same location on that computer. To get the file’s path in the correct format, open the TextEdit application, go to Format > Make Plain Text, drag the file onto the TextEdit window, and copy the path that appears in the TextEdit window.

Example 3D models are available from The Stanford 3D Scanning Repository.

Keywords: 3D, 3DGS, 3ds, AC3D, Blender, BlitzBasic, Collada, DirectX, Doom, GameStudio, Irrlicht, Izware, Lightwave, Milkshape 3D, Modo, Nendo, Neutral, Ogre, PovRAY, Quake, Quick3D, Sense8, Starcraft, Studio, Terragen, Unreal, Valve, Wavefront, WorldToolKit, b3d, cob, dae, download, dxf, file, format, get, graphics, hmp, http, import, irrmesh, load, lwo, lxo, m3, md2, md3, md5, mdc, mdl, mesh, model, ms3d, ndo, nff, object, off, open, opengl, pk3, ply, q3d, q3s, raw, scenegraph, scn, smd, terrain, url, xml


Example compositions:


Back to vuo.scene node set documentation.