DEFINITION    /* ALIAS SDL File Version 3.1 */

create texture  ( model = Tfizzle_texture, filename = "Tfizzle.o");

    xleft  = 0;
    xright = 300;
    ylow   = 0;
    yhigh  = 300;
    aalevelmin  = 1;
    aalevelmax  = 2;
    aathreshold = 100.000000;
    aawidth     = 2;
	startframe	= 1;
	endframe 	= 5;
	byframe		= 1;

    use_saved_geometry = FALSE;
    smallfeatures      = FALSE;

    up = zaxis;

    subdivision_recursion_limit = 2;
    max_reflections             = 3;
    max_refractions             = 3;
    max_shadow_level            = 3;
    preview_ray_trace           = FALSE;

light directionallight ( model = directional, active = TRUE,
    exclusive = FALSE,
    colour = (255.0, 255.0, 255.0),
    intensity = 1.0, shadow = FALSE,
    direction = (0.000000, 0.000000, -1.000000));

light ambientlight ( model = ambient, active = TRUE,
    exclusive = FALSE,
    colour = (100.0, 100.0, 100.0),
    ambient_shade = 0.500000);

triple camera#2_view(0.0, 0.0, 0.0);
triple camera#2_up(0.0, 0.0, 0.0);


shader DefaultShader ( model = phong,
    diffuse = 0.8,
	shinyness = 30.0, 
    color = (255.0, 25.0, 255.0),
    incandescence = texture( 
        procedure = Tfizzle_texture,
		current_frame = frame,
		min_frame     = startframe,
		max_frame     = endframe,
		pixfile       = "pix/Tfizzle.pix"
    ),
    reflection_limit = 1,
    refraction_limit = 1,
    shadow_level_limit = 0,
    respect_reflection_map = FALSE
);

patch sphere (
    udegree = 3, vdegree = 3,
    doublesided = FALSE, opposite = FALSE,
    subdivide = adaptive,
    divisions = (2, 4),
    curvature = 0.960000,
    shader = ( DefaultShader ),
    casts_shadow = TRUE,
    active = TRUE,
    uknots = ( 2.0      ,  2.0      ,  2.0      ,  3.0      ,  4.0      ,
                 5.0      ,  6.0      ,  6.0      ,  6.0      ),
    vknots = ( 0.0      ,  1.0      ,  2.0      ,  3.0      ,  4.0      ,
                 5.0      ,  6.0      ,  7.0      ,  8.0      ,  9.0      ,
                 10.0      ,  11.0      ,  12.0      ),
    cvs = (
            (cv(( 0.0      ,  0.0      ,  0.5      ),  1.0      ),
             cv(( 0.0      ,  0.0      ,  0.5      ),  1.0      ),
             cv(( 0.0      ,  0.0      ,  0.5      ),  1.0      ),
             cv(( 0.0      ,  0.0      ,  0.5      ),  1.0      ),
             cv(( 0.0      ,  0.0      ,  0.5      ),  1.0      ),
             cv(( 0.0      ,  0.0      ,  0.5      ),  1.0      ),
             cv(( 0.0      ,  0.0      ,  0.5      ),  1.0      ),
             cv(( 0.0      ,  0.0      ,  0.5      ),  1.0      ),
             cv(( 0.0      ,  0.0      ,  0.5      ),  1.0      ),
             cv(( 0.0      ,  0.0      ,  0.5      ),  1.0      ),
             cv(( 0.0      ,  0.0      ,  0.5      ),  1.0      ) ),

            (cv(( 0.1023412, -0.1023412,  0.5      ),  1.0      ),
             cv(( 0.1447323,  0.0      ,  0.5      ),  1.0      ),
             cv(( 0.1023412,  0.1023412,  0.5      ),  1.0      ),
             cv(( 0.0      ,  0.1447323,  0.5      ),  1.0      ),
             cv((-0.1023412,  0.1023412,  0.5      ),  1.0      ),
             cv((-0.1447323,  0.0      ,  0.5      ),  1.0      ),
             cv((-0.1023412, -0.1023412,  0.5      ),  1.0      ),
             cv(( 0.0      , -0.1447323,  0.5      ),  1.0      ),
             cv(( 0.1023412, -0.1023412,  0.5      ),  1.0      ),
             cv(( 0.1447323,  0.0      ,  0.5      ),  1.0      ),
             cv(( 0.1023412,  0.1023412,  0.5      ),  1.0      ) ),

            (cv(( 0.3070236, -0.3070236,  0.3918058),  0.9999999),
             cv(( 0.4341969,  0.0      ,  0.3918058),  0.9999999),
             cv(( 0.3070236,  0.3070236,  0.3918058),  0.9999999),
             cv(( 0.0      ,  0.4341969,  0.3918058),  0.9999999),
             cv((-0.3070236,  0.3070236,  0.3918058),  0.9999999),
             cv((-0.4341969,  0.0      ,  0.3918058),  0.9999999),
             cv((-0.3070236, -0.3070236,  0.3918058),  0.9999999),
             cv(( 0.0      , -0.4341969,  0.3918058),  0.9999999),
             cv(( 0.3070235, -0.3070235,  0.3918058),  0.9999999),
             cv(( 0.4341968,  0.0      ,  0.3918058),  0.9999999),
             cv(( 0.3070235,  0.3070235,  0.3918058),  0.9999999) ),

            (cv(( 0.4341969, -0.4341969,  0.0      ),  1.0      ),
             cv(( 0.6140472,  0.0      ,  0.0      ),  1.0      ),
             cv(( 0.4341969,  0.4341969,  0.0      ),  1.0      ),
             cv(( 0.0      ,  0.6140472,  0.0      ),  1.0      ),
             cv((-0.4341969,  0.4341969,  0.0      ),  1.0      ),
             cv((-0.6140472,  0.0      ,  0.0      ),  1.0      ),
             cv((-0.4341969, -0.4341969,  0.0      ),  1.0      ),
             cv(( 0.0      , -0.6140471,  0.0      ),  1.0      ),
             cv(( 0.4341969, -0.4341969,  0.0      ),  1.0      ),
             cv(( 0.6140471,  0.0      ,  0.0      ),  1.0      ),
             cv(( 0.4341969,  0.4341969,  0.0      ),  1.0      ) ),

            (cv(( 0.3070236, -0.3070236, -0.3918058),  1.0      ),
             cv(( 0.4341969,  0.0      , -0.3918058),  1.0      ),
             cv(( 0.3070236,  0.3070236, -0.3918058),  1.0      ),
             cv(( 0.0      ,  0.4341969, -0.3918058),  1.0      ),
             cv((-0.3070235,  0.3070235, -0.3918058),  1.0      ),
             cv((-0.4341969,  0.0      , -0.3918058),  1.0      ),
             cv((-0.3070235, -0.3070235, -0.3918058),  1.0      ),
             cv(( 0.0      , -0.4341968, -0.3918058),  1.0      ),
             cv(( 0.3070235, -0.3070235, -0.3918058),  1.0      ),
             cv(( 0.4341968,  0.0      , -0.3918058),  1.0      ),
             cv(( 0.3070235,  0.3070235, -0.3918058),  1.0      ) ),

            (cv(( 0.1023412, -0.1023412, -0.5      ),  1.0      ),
             cv(( 0.1447323,  0.0      , -0.5      ),  1.0      ),
             cv(( 0.1023412,  0.1023412, -0.5      ),  1.0      ),
             cv(( 0.0      ,  0.1447323, -0.5      ),  1.0      ),
             cv((-0.1023412,  0.1023412, -0.5      ),  1.0      ),
             cv((-0.1447323,  0.0      , -0.5      ),  1.0      ),
             cv((-0.1023412, -0.1023412, -0.5      ),  1.0      ),
             cv(( 0.0      , -0.1447323, -0.5      ),  1.0      ),
             cv(( 0.1023412, -0.1023412, -0.5      ),  1.0      ),
             cv(( 0.1447323,  0.0      , -0.5      ),  1.0      ),
             cv(( 0.1023412,  0.1023412, -0.5      ),  1.0      ) ),

            (cv(( 0.0      ,  0.0      , -0.5      ),  0.9999999),
             cv(( 0.0      ,  0.0      , -0.5      ),  0.9999999),
             cv(( 0.0      ,  0.0      , -0.5      ),  0.9999999),
             cv(( 0.0      ,  0.0      , -0.5      ),  0.9999999),
             cv(( 0.0      ,  0.0      , -0.5      ),  0.9999999),
             cv(( 0.0      ,  0.0      , -0.5      ),  0.9999999),
             cv(( 0.0      ,  0.0      , -0.5      ),  0.9999999),
             cv(( 0.0      ,  0.0      , -0.5      ),  0.9999999),
             cv(( 0.0      ,  0.0      , -0.5      ),  0.9999999),
             cv(( 0.0      ,  0.0      , -0.5      ),  0.9999999),
             cv(( 0.0      ,  0.0      , -0.5      ),  0.9999999) )
    )
); /* end of patch sphere */

ENVIRONMENT
background = color(0.000000, 0.000000, 0.000000);

MODEL

{   /*   Start of directionallight   */
    rotate (zaxis, 45.0);
    rotate (xaxis, -135.0);
    instance directionallight();
}   /*   End of directionallight   */


{   /*   Start of ambientlight   */
    translate (0.0, -12.0, 0.0);
    instance ambientlight();
}   /*   End of ambientlight   */


{   /*   Start of sphere   */
    scale (7.0, 7.0, 7.0);
/*
    rotate (zaxis, frame * 5.0);
*/
    instance sphere();
}   /*   End of sphere   */


{   /*   Start of Persp   */

    {   /*   Start of Persp_eye   */
    	/* rotate (xaxis, 45.0); */
    	/* rotate (yaxis, 45.0); */
    	/* rotate (zaxis, 45.0); */
        translate (1.988232, -11.275827, 5.097766);
        camera (
            active = TRUE,
            pix = "pix/TFIZZLE",
            eye   = ( 0.0,  0.0,  0.0),
            view  = camera#2_view,
            up  = camera#2_up,
            fov = (40.0),
            viewport = (xleft, xright, ylow, yhigh),
            aspect   = ((xright-xleft)+1)/((yhigh-ylow)+1),
            near = 0.200000,
            far  = 200.000000,
            depth_of_field = FALSE,
            f_stop = 8,
            focal_length = 35,
            focal_distance = 10.0,
            units_to_feet = 1.0
        );

    }   /*   End of Persp_eye   */


    {   /*   Start of Persp_view   */
        translate (0.084606, -0.479822, 0.216926);
        camera#2_view = current_position( ( 0.0,  0.0,  0.0) );
    }   /*   End of Persp_view   */


    {   /*   Start of Persp_up   */
        translate (1.917603, -10.87527, 6.011312);
        camera#2_up = current_position( ( 0.0,  0.0,  0.0) );
    }   /*   End of Persp_up   */

}   /*   End of Persp   */


