[Papervision3D] 3D Lines

Colby Walburn colby.walburn at iqinteractive.com
Mon Sep 3 18:00:06 PDT 2007


Thanks!

I've been having some problems using it.  It's probably a simple
mistake,  I've never used the vertices3D class before and am having some
trouble getting it to render.  This is what I did:

 

var vertices:Array = new Array();

                                                vertices[0] = new
Vertex3D(0,0,0);

                                                vertices[1] = new
Vertex3D(100,100,100);

                                                vertices[2] = new
Vertex3D(0,100,50);

                                                var line:Line3D = new
Line3D(vertices);

                                                scene.addChild(line);

                                                line.render(scene);

 
scene.renderCamera(camera);

 

Am I missing something?

 

-Colby

 

From: papervision3d-bounces at osflash.org
[mailto:papervision3d-bounces at osflash.org] On Behalf Of Andy Zupko
Sent: Monday, September 03, 2007 5:54 PM
To: papervision3d at osflash.org
Subject: Re: [Papervision3D] 3D Lines

 

Nothing built into pv3d yet - but here is a class I wrote:

 

http://blog.zupko.info/?p=19

 

hope it helps.

 

-andy

 

From: papervision3d-bounces at osflash.org
[mailto:papervision3d-bounces at osflash.org] On Behalf Of Colby Walburn
Sent: Monday, September 03, 2007 5:16 PM
To: papervision3d at osflash.org
Subject: [Papervision3D] 3D Lines

 

Hi, 

 

I am new to papervision and I was wondering how to create 3D Lines.  I
have seen it done, but could not replicate it from the source code.

 

Thanks!

 

Colby

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20070903/dc521827/attachment.html 


More information about the Papervision3D mailing list