|
There really is only one lamp in this scene and it has only been loaded once; it is in the layer PartL1 and nowhere else. Mirror really is a mirror reflecting the lamp and Mag. really is a magnifying glass, loaded twice to give two magnifying glasses on the final image.
Mag. and Mirror are both canvasFX filters, which only operate on objects below them in the same layer in which
they have been placed.
Apart from being fun to play with there are a lot of advantages should you decide to alter the scene a bit.
For example:-
- Move the magnifying glasses and they will magnify different parts of the scene.
- Move or change the lamp and its reflection in the mirror and both magnified views change as well.
The point of this example is to illustrate that canvasFX filters can be included in a nested canvas structure
and behave like objects in the scene if that is what you want them to do. You can also nest canvasFX filters
within canvasFX filters (which I have not shown).
Rendering Magnifying Glasses
When rendering a scene with a magnifying glass the image which is seen in the glass can look blurred. If this
is not what you wanted then you can can get a sharper image by rendering in two stages. Firstly render the
canvas to an rir file which is significantly larger than the final version. This creates a file with lots of
detail. Then load the rir file to a new canvas and render that to the required size.
|