≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Manipulating meshes
Posted by:
(you are not logged in)
Enter the missing letter in: "Intern?tional"
(you are not logged in)
Text:
[quote][b][/b] wrote: I can't quite work this out. I'm trying to load a mesh into an array, so that I can traverse the array and work out how the main model should be morphed.... 'v3' is a model that is in memory but not visible - this is my morph target. This is my JS, the trouble is there does not seem to be anything in 'foo'. Could someone advise please ? [code] var engine = startCopperLichtFromFile('3darea', 'copperlichtdata/anima.ccbjs', 'Loading $PROGRESS$...', 'Error: This browser does not support WebGL.'); var morphSceneNode = null; var foo; // this is called when loading the 3d scene has finished engine.ingComplete = function() { var scene = engine.getScene(); if (scene) { // also, force the 3d engine to update the scene every frame scene.setRedrawMode(CL3D.Scene.REDRAW_EVERY_FRAME); foo = CL3D.Mesh('v3'); } }[/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