Three-D Object Viewer



This Java applet implements a three-D object viewer with wireframe and shaded options. Simple back-face culling, depth cueing, and hidden surface removal are used.

How To Use:

  • Download tov.zip (40 KB)
  • Unzip with a compression utility.

    Java Source: Unavailable

    Sample HTML Source:

    <applet code=tov.class width=320 height=320>
    
    <!-- registration code to disable the floating -->
    <!-- sign within the program panel -->
    <param name=regcode value=99999999>
    
    <!-- format in the face data file:
            line 1: title
            line 2: npoints nlines ntriangles
            lines with 'p': x_float y_float z_float
            lines with 'l': point_index1 point_index2
            lines with 't': point_index1 point_index2 point_index3
         NOTE 1: add "http" as prefix if reading a web file
         NOTE 2: assume counterclockwise coords for triangles -->
    <param name=tovdata value="tov.txt">
    
    <!-- rotation angle step in degrees -->
    <param name=anglestep value=5>
    
    <!-- object scale (0.1 to 1.0) -->
    <param name=scale value=0.8>
    
    <!-- object color -->
    <param name=objcolor value="255 255 255">
    
    <!-- wireframe color -->
    <param name=wfcolor value="192 192 192">
    
    <!-- background color -->
    <param name=bgcolor value="0 0 0">
    
    <!-- delay between frames -->
    <param name=delay value=100>
    
    </applet>
    
    

    Status: Free

    Author: The J Maker

    Homepage: http://thejmaker.com

    Upload Date: July 25, 2001

    How to Add Java Applets to Your Site

    New on the Java Boutique:

    New Review:

    Time Management Made Easy with the Quartz Enterprise Job Scheduler
    Why not just use the Java timer API? This open source scheduling API boasts simplicity, ease-of-integration, a well-rounded feature set, and it's free!

    New Applet:

    Reverse Complement
    Reverse Complement is a simple applet that converts DNA or RNA sequences into three useful formats.

    Elsewhere on internet.com:

    WebDeveloper Java
    Lots of Java information on webdeveloper.com

    WDVL Java
    Thorough Java resource at the Web Developer's Virtual Library.

    ScriptSearch Java
    Hundreds of free Java code files to download.

    jGuru: Your View of the Java Universe
    Customizable portal with online training, FAQs, regular news updates, and tutorials.