≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
loading 3d model
Posted by:
(you are not logged in)
Enter the missing letter in: "Internatio?al"
(you are not logged in)
Text:
[quote][b][/b] wrote: I haven't tested this code, but wouldn't something like this work: [code] var savedModel1 = null // Global var engine = new CL3D.CopperLicht('3darea', true, 60, true); engine.load('copperlichtdata/3dmodels.ccbjs'); engine.ingComplete = function() { var scene = engine.getScene(); if (scene) { savedModel1 = scene.getSceneNodeFromName('model1'); } } engine.load('copperlichtdata/mainscene.ccbjs'); engine.ingComplete = function() { var scene = engine.getScene(); if (scene) { scene.getRootSceneNode().addChild(savedModel1); } } [/code][/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact