Flint Particle System Forum - PV3DObjectClass with Lines3D Sun, 26 Dec 2010 20:41:58 +0000 http://flintparticles.org/forum/ Lussumo Vanilla 1.1.10 & Feed Publisher PV3DObjectClass with Lines3D http://flintparticles.org/forum/comments.php?DiscussionID=272&Focus=970#Comment_970 http://flintparticles.org/forum/comments.php?DiscussionID=272&Focus=970#Comment_970 Sun, 15 Nov 2009 18:03:29 +0000 malte
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 http://flintparticles.org/forum/comments.php?DiscussionID=272&Focus=972#Comment_972 Mon, 16 Nov 2009 01:57:11 +0000 Richard
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 http://flintparticles.org/forum/comments.php?DiscussionID=272&Focus=974#Comment_974 Mon, 16 Nov 2009 12:12:12 +0000 malte 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 http://flintparticles.org/forum/comments.php?DiscussionID=272&Focus=980#Comment_980 Sat, 21 Nov 2009 19:57:44 +0000 Richard
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 ]]>