1. A method, comprising: establishing a first hierarchy of a plurality of objects; tracing rays using the first hierarchy to efficiently identify which of the plurality of objects are potentially intersected; decomposing, on-demand, at least one of the potentially intersected objects into a set of subobjects, each set of subobjects corresponding to one of the at least one of the potentially intersected objects; and establishing a second hierarchy for at least one of the set of subobjects, the second hierarchy being determined by a connectivity of subobjects in an associated set of subobjects in order to accelerate ray tracing.