[Papervision3D] REPOST Clipping Problem with viewport

Mike Pearce mike at nectarine.com.au
Mon Dec 8 16:07:42 PST 2008


Hi Folks,

Thanks to Andy for replying to this, but unfortunately it doesn't fix the
issue. (Original message below.)

If there is anyone out there that could take a quick look at the example and
offer a solution I would be really appreciative.

I'm approaching a deadline and haven't been able to solve it.

Many thanks in advance for you time,

Mike

-----Original Message-----
From: papervision3d-bounces at osflash.org
[mailto:papervision3d-bounces at osflash.org] On Behalf Of Mike Pearce
Sent: Wednesday, December 03, 2008 1:49 PM
To: papervision3d at osflash.org
Subject: [Papervision3D] In need of PV expertise (clipping - example
attached)

Hi List,

I'm in need of some help with a clipping problem. I've posted a barebones
example of my problem at:

http://www.nectarine.com.au/mike/test/map/main.html  (please allow a sec
for the image to load)

The left/right/up/down buttons set the scrollX and scrollY properties, then
I'm using:

viewport.scrollRect = new Rectangle( scrollX, scrollY, width, height );

to scroll the viewport.

Notice the clipping that occurs?

I'm trying to avoid moving the camera, just want to scroll the current view.
Can anyone offer some advice and how to get the viewport to update its
clipping rect?

Many, many thanks in advance!

Mike


_______________________________________________
Papervision3D mailing list
Papervision3D at osflash.org
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.9.13/1825 - Release Date: 12/2/2008
8:44 PM




More information about the Papervision3D mailing list