123
123
{"+texture", ".blob.texture", XrmoptionNoArg, "false" },
124
124
{"-colour", ".blob.colour", XrmoptionNoArg, "true" },
125
125
{"+colour", ".blob.colour", XrmoptionNoArg, "false" },
126
{"-offset-texture", ".blob.offset_texture", XrmoptionNoArg, "true" },
127
{"+offset-texture", ".blob.offset_texture", XrmoptionNoArg, "false" },
128
{"-paint-background", ".blob.paint_background", XrmoptionNoArg, "true" },
129
{"+paint-background", ".blob.paint_background", XrmoptionNoArg, "false" },
126
{"-offset-texture", ".blob.offsetTexture", XrmoptionNoArg, "true" },
127
{"+offset-texture", ".blob.offsetTexture", XrmoptionNoArg, "false" },
128
{"-paint-background", ".blob.paintBackground", XrmoptionNoArg, "true" },
129
{"+paint-background", ".blob.paintBackground", XrmoptionNoArg, "false" },
130
130
{"-resolution", ".blob.resolution", XrmoptionSepArg, NULL },
131
131
{"-bumps", ".blob.bumps", XrmoptionSepArg, NULL },
132
{"-motion-blur", ".blob.motion_blur", XrmoptionSepArg, 0 },
133
{"-fade-time", ".blob.fade_time", XrmoptionSepArg, 0 },
134
{"-hold-time", ".blob.hold_time", XrmoptionSepArg, 0 },
132
{"-motion-blur", ".blob.motionBlur", XrmoptionSepArg, 0 },
133
{"-fade-time", ".blob.fadeTime", XrmoptionSepArg, 0 },
134
{"-hold-time", ".blob.holdTime", XrmoptionSepArg, 0 },
135
135
{"-zoom", ".blob.zoom", XrmoptionSepArg, 0 },
143
143
{&do_walls, "walls", "Walls", DEF_WALLS, t_Bool},
144
144
{&do_texture, "texture", "Texture", DEF_TEXTURE, t_Bool},
145
145
{&do_colour, "colour", "Colour", DEF_COLOUR, t_Bool},
146
{&offset_texture, "offset_texture","Offset_Texture", DEF_OFFSET_TEXTURE, t_Bool},
147
{&do_paint_background,"paint_background","Paint_Background", DEF_PAINT_BACKGROUND, t_Bool},
146
{&offset_texture, "offsetTexture","OffsetTexture", DEF_OFFSET_TEXTURE, t_Bool},
147
{&do_paint_background,"paintBackground","PaintBackground", DEF_PAINT_BACKGROUND, t_Bool},
148
148
{&resolution, "resolution", "Resolution", DEF_RESOLUTION, t_Int},
149
149
{&bumps, "bumps", "Bump", DEF_BUMPS, t_Int},
150
{&motion_blur, "motion_blur", "Motion_Blur", DEF_MOTION_BLUR, t_Float},
151
{&fade_time, "fade_time", "Fade_Time", DEF_FADE_TIME, t_Float},
152
{&hold_time, "hold_time", "Hold_Time", DEF_HOLD_TIME, t_Float},
150
{&motion_blur, "motionBlur", "MotionBlur", DEF_MOTION_BLUR, t_Float},
151
{&fade_time, "fadeTime", "FadeTime", DEF_FADE_TIME, t_Float},
152
{&hold_time, "holdTime", "HoldTime", DEF_HOLD_TIME, t_Float},
153
153
{&zoom, "zoom", "Zoom", DEF_ZOOM, t_Float},
1520
1523
/* Disable the three colour chanels so that only the depth buffer is updated */
1521
1524
glColorMask(GL_FALSE, GL_FALSE, GL_FALSE, GL_FALSE);
1526
mi->polygon_count += gp->num_faces;
1523
1527
glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
1524
1528
glDepthFunc(GL_LEQUAL);
1526
1530
glDepthFunc(GL_LEQUAL);
1532
mi->polygon_count += gp->num_faces;
1529
1534
/* While transitioning between images draw a second blob with a modified