Welcome, Guest
Want to take part in these discussions? Sign in if you have an account, or apply for one below
-
- CommentAuthormalte
- CommentTimeNov 15th 2009 edited
is it possibe do use PV3DObjectClass with Lines3d? I get an error when using it like,
var displayObject3dType:PV3DObjectClass = new PV3DObjectClass(Lines3D,LineMaterial);
emitter.addInitializer(displayObject3dType);
any tips?
regards
m -
- CommentAuthorRichard
- CommentTimeNov 16th 2009
Hi
Can you tell me what the error message is.
Thanks -
- CommentAuthormalte
- CommentTimeNov 16th 2009
Hi Richard,
the problem is that Lines is different than the other do3d´s. To draw a line you need:
bezierLine.addLine(new Line3D(bezierLine, lineMaterial, 1.5, new Vertex3D(0, 20, 0), ew Vertex3D(0, 40, 0)));
bezierLine is a instance of Lines3D.
I want to create a blast with Lines3D where the vertex1 of lines3D is the "particle". You have an idea? -
- CommentAuthorRichard
- CommentTimeNov 21st 2009
Hi
I think you'll need a specific renderer for lines in PV3D. It would be similar to the PV3DParticleRenderer, but for PV3D lines rather than PV3D particles.
Not sure when I'll be able to add this, but I'll note it down. If you decide to create it before I get to it, I'd love to add your code to the project.
Richard
1 to 4 of 4
