Howto:Dynamic Liveries via Canvas: Difference between revisions

Jump to navigation Jump to search
m
→‎Canvas Code: "Fuselage" must be a texture used in the 3D model
m (→‎Canvas Code: "Fuselage" must be a texture used in the 3D model)
Line 179: Line 179:
var root = myCanvas.createGroup();
var root = myCanvas.createGroup();


# Add a placement. I believe the second argument relates to model objects, so I have attempted to place it on the object named Fuselage. I don't understand this bit too well, Hooray can you help?
# Add a placement by replacing the textured face "Fuselage" in the 3D model
myCanvas.addPlacement({"node": "Fuselage"});
myCanvas.addPlacement({"node": "Fuselage"});
   
   

Navigation menu