Writing a Browser: Scene Graph or custom Structures ?

Ivan AteR Vaghi ([email protected])
Thu, 18 May 1995 20:24:18 +0100 (BST)


I studied the QvLib code and I'm going to write a simple browser.
I'm a novice in 3d graphic and I have quite a lot of doubts about the
implementation of the data structures that will store the objects to
render.

On the beginning I thought to put some drawing code within the definition
of the ::traverse(..scene) virtual functions of the Shapes, but it seems
to be very slow because I need to recalculate on the spot all the
data(vertices, surfaces..) of the shape that I want to draw.

I'm thinking about alternative data structures but I don't have many
valid ideas...

Is there anyone that already did the same work and that can give me a few
hints ?

Ivan R Vaghi.