Shading Picture
The Ladybug Studio XP picture on the right is created in the following steps:
Create a bitmap picture with an available tool like Paint and save them as a JPEG file.
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.
Use X/C, Y/U, and G/H key pairs to adjust light position in X, Y, or Z.
Snap the picture. Now you can edit it with an image editor.
You may change the background color with the [$app clear ...] command in the RestoreDeviceObjects function.
|