frTFRotoZoom(const frPluginDef* d) : frTexturePlugin(d) { addFloatParam("Angle", 0.0f, -10000.0f, 10000.0f, 1.0f, 2); addTwoFloatParam("Zoom", 1.0f, 1.0f, -255.0f, 255.0f, 0.01f, 6); addTwoFloatParam("Scroll", 0.0f, 0.0f, -100.0f, 100.0f, 0.01f, 6); addPointParam("Center", 0.5f, 0.5f, sFALSE); }
frGSMaterial(const frPluginDef* d) : frGeometryPlugin(d, 2) { mtrl = new frMaterial; addLinkParam("Texture", mtrl->textureRef[0], 0); addSelectParam("U Addressing mode", "Tile|Tile+Wrap|Clamp|Mirror", mtrl->uAddressMode[0]); addSelectParam("V Addressing mode", "Tile|Tile+Wrap|Clamp|Mirror", mtrl->vAddressMode[0]); addSelectParam("Filter mode", "None|Bilinear|Mipmap|Bilinear+Mipmap", mtrl->filterMode[0]); addSelectParam("Alpha mode", "Opaque|Alpha Blend|Add|Multiply", mtrl->alphaMode); addSelectParam("ZBuffer mode", "Disable|Write Only|Read Only|Read Write", mtrl->zMode); addSelectParam("Cull mode", "Enable|Disable", mtrl->cullMode); addSelectParam("Sort mode", "Don't sort|Sort", mtrl->sortMode); addSelectParam("Dynamic lighting", "Enable|Disable", mtrl->dynLightMode); addSelectParam("Coord mode", "UV|Envmap|Reflectionmap", mtrl->coordMode[0]); addIntParam("Render pass", mtrl->renderPass, -1, 7, 1); addSelectParam("-- Stage 2", "Disable|Modulate|Modulate 2X|Add", mtrl->opSt2); addLinkParam("Texture", mtrl->textureRef[1], 0); addSelectParam("U Addressing mode", "Tile|Tile+Wrap|Clamp|Mirror", mtrl->uAddressMode[1]); addSelectParam("V Addressing mode", "Tile|Tile+Wrap|Clamp|Mirror", mtrl->vAddressMode[1]); addSelectParam("Filter mode", "None|Bilinear|Mipmap|Bilinear+Mipmap", mtrl->filterMode[1]); addSelectParam("Alpha mode", "Disable|Modulate|Modulate 2X|Add", mtrl->alphaSt2); addSelectParam("Coord mode", "Detail|Envmap|Reflectionmap", mtrl->coordMode[1]); addTwoFloatParam("Detail scale", mtrl->dScaleX, mtrl->dScaleY, 1.0f, 256.0f, 0.01f, 4); }
frTFBlur(const frPluginDef* d) : frTexturePlugin(d) { addTwoFloatParam("Blur Radius", 3.0f, 3.0f, 1.0f, 128.0f, 0.01f, 3); addFloatParam("Intensity", 1.0f, 0.0f, 255.0f, 0.025f, 2); addSelectParam("Filter", "box|triangle|gaussian", 2); addSelectParam("Border Pixels", "black|clamp|wrap", 0); }