WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 12-10-2017, 10:26 AM
saket saket is offline
Member
 
Join Date: Mar 2015
Posts: 20
OpenSceneGraph Version

Which version of open-scene-graph does Vizard 5 use?

I am developing a model which loads correctly in native open-scene-graph Viewer 3.4.1 but fails to load in Vizard 5.
Reply With Quote
  #2  
Old 12-10-2017, 07:35 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Vizard 5 uses OpenSceneGraph 3.1
Reply With Quote
  #3  
Old 12-11-2017, 04:21 PM
Veleno Veleno is offline
WorldViz Team Member
 
Join Date: Sep 2005
Posts: 148
Hi Saket,
Are you working out of 3ds Max or another program?

The ideal viewer for Vizard models is Inspector, which can be found in the "bin" folder of Vizard's install directory, typically "C:\Program Files\WorldViz\Vizard5\bin\Inspector.exe". Inspector uses the same code-base as Vizard, so its preview will be much more accurate to the final result than anything developed externally.

Exporting from Max:
3DS Max is currently the program with the greatest amount of workflow support, and is what we use internally. Max users should typically be using our own exporter found on our tools & plugins download page:
http://www.worldviz.com/virtual-reality-software-tools/

People using the plugin should also grab the settings preset file from this guide on storing and loading presets:
http://kb.worldviz.com/articles/2571

Vizard R5 Shader:
Vizard also has a custom shader (vizFX) developed separately from the core OpenSceneGraph project, so this also makes native previewers inaccurate for testing models intended for Vizard. THis can mainly be used by exporting from Max with the "Export Material Description" option enabled. In some cases, the shader will also work with FBX exports, though this workflow is mainly tested with models out of Max.

Details on the shader can be found here:
http://docs.worldviz.com/vizard/Shaders_3DS_Max.htm

To see models with the VizFX shader applied in Inspector, make the "effects" button is enabled in the bottom right. This toggles between viewing with the old FFP approach and the current shader. The current shader has better capabilities for things like reflections, normal maps and shadow-casting realtime lights.

Models intended for the shader should be added into code using vizfx.addChild() instead of viz.add().

Last edited by Veleno; 12-11-2017 at 04:28 PM.
Reply With Quote
  #4  
Old 12-11-2017, 11:12 PM
saket saket is offline
Member
 
Join Date: Mar 2015
Posts: 20
Hello Veleno,

I am using VirtualPlanetBuilder/osgdem to build large scale terrain database.

http://www.openscenegraph.org/index....planet-builder
https://github.com/openscenegraph/VirtualPlanetBuilder

I tried loading the generated model in Inspector. These were my observation
osgt [only terrain]: loads in inspector and displays correctly
osgt [terrain+texture]: the region covered by texture is not displayed properly
osgb/ive : fails to load in inspector

However all of these models load perfectly in OpenSceneGraph 3.4.1 .
Reply With Quote
  #5  
Old 12-12-2017, 04:43 AM
saket saket is offline
Member
 
Join Date: Mar 2015
Posts: 20
I tried installing Open Scene Graph version 3.1.0 and 3.1.10 and opening the model from it.
Model loads perfectly in 3.1.10 but gives the same error with version 3.1.0 which it gives in Vizard Inspector which is :

InputStream: Failed to read from stream. At osgTerrain::Terrain osg::Node

If it helps in providing any suggestion.
Reply With Quote
  #6  
Old 05-09-2018, 11:39 PM
saket saket is offline
Member
 
Join Date: Mar 2015
Posts: 20
Bumped into this after a long time. Maybe the solution would be useful for someone else.

The issue was resolved using VirtualPlanetBuilder 0.9.11 over Lubuntu 12.04 on which it compiled perfectly without errors and the resultant models loaded perfectly in Vizard 5.0
Reply With Quote
Reply

Tags
version

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OSG exporter: worse output in newest version? tokola Vizard 11 09-23-2016 04:55 PM
system requirements to support an old 3.14 version armo Vizard 1 04-28-2014 08:28 AM
version control? billjarrold Vizard 1 01-26-2010 09:39 PM
Lite Version? Sandro Holzer Vizard 3 07-23-2008 02:08 AM
Importing into Trial Version drahcir Vizard 1 08-03-2005 07:27 AM


All times are GMT -7. The time now is 02:24 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC