Re: [sfera-discuss] Thoughts on extending this for city landscape?

12 views
Skip to first unread message
Message has been deleted

David Bucciarelli

unread,
Dec 11, 2012, 3:39:36 AM12/11/12
to sfera-...@googlegroups.com
Hi,

Il 09/12/2012 07:44, Daniel Cardenas ha scritto:
> I was thinking of taking this graphics engine and extending it so that
> it can render city buildings. Any thoughts on this before getting
> started?
> The city buildings I'm thinking of would mostly be covered with
> mirrors. I know I would have to take the sphere primitive and extend
> it to a rectangle or something similar.

The ray intersection kernel handles only spheres, both as bounding
volume and as leaf intersection primitive.

You could add a second kernel to handle bounding boxes as bounding
volume and as leafs. You could include a transformation matrix in each
node in order to relax the constrain of having the axis aligned boxes.

Cheers,
David


Reply all
Reply to author
Forward
0 new messages