requirements. Determine the minimum amount of physical memory
requirements. Determine the minimum amount of physical memory required on your target machine and endeavor to keep your application s memory footprint within physical memory. Any paging of memory to or from disk (virtual memory) will probably cause your application to be so slow as to be unusable. For Java 3D applications, and certainly applications that also use Swing, the minimum memory requirements for reasonable performance is 64 MB. Running the simplest Java 3D example, HelloUniverse, requires upward of 20 MB. 7.2.4 Development time and asset management Complex geometry for visualization will either be loaded into your application in a standard 3D graphics file format (such as VRML), a proprietary 3D graphics format, or as raw data that must be processed to produce geometry for rendering. For data in a standard 3D graphics format, one of many available Sun or third-party ObjectLoaders can be used. For data in a proprietary format a custom ObjectLoadercan be written that adheres to the interfaces required for ObjectLoaders. Raw numerical data must be processed using application-specific methods. These could include triangulation, surface fitting, geometry assignment and generation, color assignment, and so on. Many different data loaders (ObjectLoaders) have been developed and these are constantly being refined and supplemented. Some of the most popular are the VRML, DXF, and Lightwave data file loaders. These allow 3D graphics designers to work in parallel to define geometry, while Java 3D programmers can concentrate their efforts on UI, application logic, and behavior programming. 7.3 Summary As you have probably gathered, designing the data model for your application is a complex undertaking. This chapter points out a few landmarks as you work through your design. The requirements of your data model are intimately linked to your application s feature set the data model for a 3D-combat game will be significantly different from the data model for a MRI visualization application. You should research algorithms that can provide some measure of hardware performance independence and separate your internal data model from that used by Java 3D for rendering. Although Java 3D provides adequate data structures for describing geometry, if you rely on these data structures for your own internal data model, you may be making invalid assumptions about available hardware and precluding the incorporation of your own application-specific optimizations in the future. 106
Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost Java Web Hosting services