Flint Particle System Forum - PV3DObjectClass with Lines3D 2010-12-26T20:45:32+00:00 http://flintparticles.org/forum/ Lussumo Vanilla & Feed Publisher PV3DObjectClass with Lines3D http://flintparticles.org/forum/comments.php?DiscussionID=272&Focus=970#Comment_970 2009-11-15T18:03:29+00:00 2009-11-15T18:03:49+00:00 malte http://flintparticles.org/forum/account.php?u=268 is it possibe do use PV3DObjectClass with Lines3d? I get an error when using it like, var displayObject3dType:PV3DObjectClass = new ...
var displayObject3dType:PV3DObjectClass = new PV3DObjectClass(Lines3D,LineMaterial);
emitter.addInitializer(displayObject3dType);

any tips?

regards
m]]>
PV3DObjectClass with Lines3D http://flintparticles.org/forum/comments.php?DiscussionID=272&Focus=972#Comment_972 2009-11-16T01:57:11+00:00 2010-12-26T20:45:32+00:00 Richard http://flintparticles.org/forum/account.php?u=1 Hi Can you tell me what the error message is. Thanks
Can you tell me what the error message is.

Thanks]]>
PV3DObjectClass with Lines3D http://flintparticles.org/forum/comments.php?DiscussionID=272&Focus=974#Comment_974 2009-11-16T12:12:12+00:00 2010-12-26T20:45:32+00:00 malte http://flintparticles.org/forum/account.php?u=268 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 ... 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?]]>
PV3DObjectClass with Lines3D http://flintparticles.org/forum/comments.php?DiscussionID=272&Focus=980#Comment_980 2009-11-21T19:57:44+00:00 2010-12-26T20:45:32+00:00 Richard http://flintparticles.org/forum/account.php?u=1 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 ...
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]]>