Priyanka Rane

January 12, 2010

VectorVision and Papervision 3D example source Code Error 1119

There is an extension of Papervision 3D called VectorVision that allows for the creation of vector based objects within PV3D. VectorVision was developed by Mark Barcinski & Adrien Jeanjean. The vectorvision source code contains good examples. but when you try to compile these examples you will win compile errors:

1119: Access of possibly undefined property screenDepth through a reference with static type org.papervision3d.core.render.command:RenderVectorShape.

1119: Access of possibly undefined property screenDepth through a reference with static type org.papervision3d.core.render.command:RenderVectorShape.

It is being caused in the VectorShape3D class which you can trace to org\papervision3d\objects\special package. To fix the issue, open the VectorShape3D class and change the two instances of the following line:

renderCommand.screenDepth = this.screenZ;
should read
renderCommand.screenZ = this.screenZ;
and recompile the Flex project. You wont see those compile errors.

Advertisement

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Theme: Rubric. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.