≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
links
Posted by:
(you are not logged in)
Enter the missing letter in: "Int?rnational"
(you are not logged in)
Text:
[quote][b][/b] wrote: okay this is the new code: var engine = startCopperLichtFromFile('3darea', 'copperlichtdata/dori4.ccbjs'); var cubeSceneNode=null; // this is called when loading the 3d scene has finished engine.ingComplete = function() { var scene = engine.getScene(); if (scene) // find the cube scene node cubeSceneNode= scene.getSceneNodeFromName('cubeMesh1'); cubeSceneNode.getMaterial( 0 ).Tex1 = engine.getTextureManager().getTexture( 'copperlichtdata/car.jpg', true ); }; but the problem is that the cube is know painted in black and not with the image that i told him to have.... and when i run it it writes at the bottom "Textures loaded: 17/18...."[/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