Neatware Company

An ISV for Mobile, Cloud, and Video Technologies and Software.

Shading Picture

The Ladybug Studio XP picture on the right is created in the following steps:

  1. Create a bitmap picture with an available tool like Paint and save them as a JPEG file.

  2. Run mCL shader diffuse-specular-shoe.mcl under the directory shaders\effects\diffuse-specular. Select your .jpg file from the Open File dialog. Your picture will be displayed on the patch. Press F1 to know the contorl keys. For example, you may use S/W key to zoom out/in the patch. Then you can use E key to move the patch left, and then use the Left Arrow key to move it back, so the patch is rendered in an angle to the window.

  3. Use X/C, Y/U, and G/H key pairs to adjust light position in X, Y, or Z.

  4. Snap the picture. Now you can edit it with an image editor.

  5. You may change the background color with the [$app clear ...] command in the RestoreDeviceObjects function.