This paper presents a novel implicit representation of solid models. With
this representation, every solid model can be effectively presented by three
layered depth-normal images (LDNIs) that are perpendicular to three orthogonal
axes respectively. The layered depth-normal images for a solid model, whose
boundary is presented by a polygonal mesh, can be generated efficiently with
help of the graphics hardware accelerated sampling. Based on this implicit
representation - LDNIs, solid modeling operations including the Boolean
operations and the offsetting operation have been developed.
Page switching is a technique that increases the memory in microcontrollers
without extending the address buses. This technique is widely used in the
design of 8-bit MCUs. In this paper, we present an algorithm to reduce the
overhead of page switching. To pursue small code size, we place the emphasis on
the allocation of functions into suitable pages with a heuristic algorithm,
thereby the cost-effective placement of page selection instructions. Our
experimental results showed the optimization achieved a reduction in code size
of 13.2 percent.