[Papervision3D] DO3D Rendered flag..
Tim Knip
tim.knip at gmail.com
Mon Jul 14 10:41:36 PDT 2008
The culled flag is set inside DO3D#project.
Also check TriangleMesh3D#project and Vertices3D#project
So, guess you need to loop your DO3D's recursively.
function recurse( object : DisplayObject3D ) : void
{
if( object.culled )
{
// do stuff
}
for each( var child : DisplayObject3D in object.children )
recurse( child );
}
Tim
2008/7/14 Matthew Hare <matt at mbhsoftware.co.uk>:
> yeah i'm happy to build it in, i just need to know where to start..
>
> What level does culled operate?
>
> I have a parent Do3D with any number of child Do3Ds inside that, which are
> triangleMeshes.. I want to test this.culled on the child Do3Ds.
>
> Matt
>
> 2008/7/14 Ralph Hauwert <r.hauwert at gmail.com>:
>>
>> We don't have eventing that deeply integrated, since in most cases
>> this would create unneeded overhead.
>>
>> What you can do is monitor the culled property on your do3d and enable
>> frustum culling.
>>
>> Ralph.
>>
>>
>> On 14 jul 2008, at 17:47, Matthew Hare wrote:
>>
>> > How can I check to see if a DO3D is currently being rendered / culled.
>> >
>> > I'd like to attach an event to a DO3D, so that I can load a
>> > material, *only* when it's in view...
>> >
>> >
>> > Matt _______________________________________________
>> > 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
>
>
>
> --
> Matthew Hare
> Director
> MBH Software LTD
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
More information about the Papervision3D
mailing list