Bonjour,
je debute a peine avec papervision et je voudrais savoir comment rendre un texte 2d en texte 3d comme l'image attachee.
Merci
Action Script
var shape : VectorShape3D;
vector_shape();
function vector_shape():void
{
var material : VectorShapeMaterial = new VectorShapeMaterial(0xCCCCCC);
material.interactive = true;
shape = new VectorShape3D(material);
scene.addChild(shape);
drawShapes();
}
function drawShapes() : void
{
var g : Graphics3D = shape.graphics;
g.clear();
g.lineStyle(undefined);
g.beginFill(shape.material.fillColor);
g.drawRect( positionX , positionY , hlW, (hlH * s) );
g.endFill();
}