[Papervision3D] culling help
Jeff Winder
info at jeffwinder.nl
Wed Jul 22 10:56:42 PDT 2009
FrustumClipping deals with triangles that intersect with the frustum planes,
so I don't think that's the way to go. Your problem has to do with triangles
that are z-fighting.
However, I noticed that you set the doors at the same depth as the backside
of the box. If you would remove them 1 or 2 units away from the box and play
around a little with the x values of the doors,
you probably get rid of the z-sorting problem.
Jeff.
Maggical wrote:
>
> I asked a similar question once, and this helped a lot:
>
> http://blog.zupko.info/?p=170
>
> Hope it helps you!
>
> Javier
> www.javierespana.com
>
> On Wed, Jul 22, 2009 at 2:27 PM, Jonathon Stierman <
> jstierman at modernclimate.com> wrote:
>
>> That does help! But I still see smaller missing polygons, using 6-8
>> segments. They're fairly un-noticeable though...
>>
>> Is there anything else I could try to get it all the way there?
>>
>> Jonathon
>>
>> -----Original Message-----
>> From: papervision3d-bounces at osflash.org [mailto:
>> papervision3d-bounces at osflash.org] On Behalf Of Jeff Winder
>> Sent: Wednesday, July 22, 2009 4:36 AM
>> To: papervision3D at osflash.org
>> Subject: Re: [Papervision3D] culling help
>>
>>
>> I think increasing the number of segments of the cube would help a lot,
>> as
>> you only use 1 width, depth and height segment right now.
>>
>> Jeff.
>>
>>
>> Jonathon Stierman-3 wrote:
>> >
>> > I've got a bit of a culling issue that I'm hoping someone can give me
>> some
>> > pointers on. I'm working on a little animation for a box that can open
>> > and close. I'm using a Cube instance, along with a couple of Plane
>> > instances to use as the doors. When looking dead-on at the animation,
>> it
>> > looks perfect, but as soon as I start rotating the cube, the "door"
>> > polygons seem to disappear while opening/closing.
>> >
>> > I've done some googling, played around with clipping and culling
>> settings,
>> > but I haven't been able to make the door polygons always render.
>> >
>> > I have attached the source code if anyone would like to take a look.
>> > You'll need the Tweener library, and the flash components (for the
>> Button
>> > class), and Papervision, obviously.
>> >
>> > Jonathon
>> >
>> >
>> >
>> > _______________________________________________
>> > Papervision3D mailing list
>> > Papervision3D at osflash.org
>> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/culling-help-tp24593780p24602982.html
>> Sent from the Papervision3D mailing list archive at Nabble.com.
>>
>>
>> _______________________________________________
>> Papervision3D mailing list
>> Papervision3D at osflash.org
>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>>
>> _______________________________________________
>> Papervision3D mailing list
>> Papervision3D at osflash.org
>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>>
>>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
--
View this message in context: http://www.nabble.com/culling-help-tp24593780p24611387.html
Sent from the Papervision3D mailing list archive at Nabble.com.
More information about the Papervision3D
mailing list