Assignment 6 – Instancing

 

Since huge sets of polygons can make up one object, we want an easy way to display multiple instances of that one object without having to make copies of it.

 

Instancing is most useful with BVH’s but can be used with anything.  There can be instances of spheres and triangles as well as instances of other instances.

 

I ran into some difficulties when trying to combine instance of BVH’s together into another BVH to encompass the whole scene, because otherwise every instance would need to be looked at.   

 

200,000 red Instanced Spheres

 

200,000 Easter Instanced Spheres

 

1000 rotated, scaled, and translated Sun Gods.