Shall We Learn

  • Increase font size
  • Default font size
  • Decrease font size

OpenSceneGraph Exporter for Blender

E-mail

In this article, I will show you how to install osgexporter Blender plugin and then demonstrate using osgviewer from OpenSceneGraph source bundle to load the exported osg file.

 

Step 1: Install Blender OpenSceneGraph Plugin

Download OSGExport zipped file and unzip it to a temporary directory. Copy and paste the python script to the python module directory.

C:\Documents and Settings\u1\My Documents\SnagIt Catalog\Image-0096.png

On my Blender install on XP, my python module directory is:

C:\Documents and Settings\u1\Application Data\Blender Foundation\Blender\.blender\scripts\bpymodules

Restart Blender. Then Change the main windows type from the default 3D View to User Preference.

C:\Documents and Settings\u1\My Documents\SnagIt Catalog\Image-0105.png

Click File Paths button.

C:\Documents and Settings\u1\My Documents\SnagIt Catalog\Image-0106.png

Then find an entry box that says Python Scripts:. Click the

C:\Documents and Settings\u1\My Documents\SnagIt Catalog\Image-0107.png

Select the directory, which is where youve just paste the osgexport script to.

Then click SELECT SCRIPT PATH button to save the path.

C:\Documents and Settings\u1\My Documents\SnagIt Catalog\Image-0101.png

Then click the refresh button.

C:\Documents and Settings\u1\My Documents\SnagIt Catalog\Image-0103.png

Now go to File->Export, and you should see OpenSceneGraph.

C:\Documents and Settings\u1\My Documents\SnagIt Catalog\Image-0097.png

C:\Documents and Settings\u1\My Documents\SnagIt Catalog\Image-0109.png

Step 2: Test it!

Just export your model to an osg file and then use the osgviewer from OpenSceneGraph source bundle to open it.

C:\Documents and Settings\u1\My Documents\SnagIt Catalog\Image-0111.png

Or if you have added the binary directory of OpenSceneGraph to the Path variable, then

C:\Documents and Settings\u1\My Documents\SnagIt Catalog\Image-0110.png

Only registered users can write comments!

!joomlacomment 4.0 Copyright (C) 2009 Compojoom.com . All rights reserved."

 

85px-Scratchcat.svg                       Java               python-logo