David Bucciarelli
unread,Dec 11, 2012, 3:39:36 AM12/11/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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