Buildings on Globe

56 views
Skip to first unread message

Yulia

unread,
Jan 24, 2013, 4:43:10 AM1/24/13
to os...@googlegroups.com
Hello! 

I`ve started to learn OSGJS. Trigrou, thank you for this great technology! I have successfully converted and loaded my model (with examples/ssao).

Then I`d like to load this OSGJS model on Globe (your project with globe), is it possible? How can I do this? 

Best regards, 
Yulia

Cedric Pinson

unread,
Jan 24, 2013, 5:23:34 AM1/24/13
to os...@googlegroups.com
You can load both model and then add the second to your scene.
models a are scene graph so you can load them and add then into the scene
with an addChild where you want to add it into your scene.

for the globe you can image something like that:

globe.viewer.getSceneData().addChild(yourmodel);

Cedric Pinson
Provide OpenGL, WebGL services
+33 659 598 614 - 
http://cedricpinson.com - http://osgjs.org - http://sketchfab.com

Reply all
Reply to author
Forward
0 new messages