[vtkusers] Efficient Progressive Data Rendering?

John Biddiscombe jbiddiscombe at skippingmouse.co.uk
Fri Apr 26 13:20:09 EDT 2002


Benny,

<<<
Few more questions. How do you decide which Actor is out of view port?
>>>

If the "viewer" is at {x,y,z} then I assume that a region bounded by some
Box is "visible" where the box is some N-kilometres big (with the {x,y,z} at
the centre of the box). After each terrain chunk is created, the dataset
stored in that dataobject(->actor) has a bounds which you know. As the user
flies north, test the bounding boxes of the datasets to see if any are >>
N/2km to the south (ie outside the BBox of your defined viewspace) and dump
them. Each Actor has a GetBounds which you can get - it only fetches the
Actor->Mapper->DataSet bounds anyway.

Frustum Culling is another thing, but the renderer will not bother with any
actors which are behind the viewer or out of the field of view. (cf
vtkRenderer and internal clipping code)

JB





More information about the vtkusers mailing list