WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   dle and dlc? (https://forum.worldviz.com/showthread.php?t=5019)

shivanangel 04-16-2014 08:06 AM

dle and dlc?
 
Reading through the SDK, forums and documentation and it mentions the creation of a custom node.

I'm make an extension using your sdk that just outputs a simple OSG Shapes for testing.

However, I have to create an Extension that loads the ExtensionOSGNode.

Can I create the ExtensionOSGNode without the need of the Extension class using a custom node? And if so, is there any documentation, as I didn't find anything specific about custom nodes in the SDK or the example python files. They all use .dle extensions.

Thanks,
George

farshizzo 04-18-2014 09:11 AM

You can create your own OSG file loader plugin. If you download the OSG source, you can see how all the built-in file loader plugins are implemented. Using this method, you would simply use viz.addChild to load models of your custom file type.


All times are GMT -7. The time now is 08:50 AM.

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