
7. Light Objects
As Nemo is based on 3D graphics, to borrow the expressions from the real world, we view the
objects with the help of a camera and we light the environment with lights. An object is always
dark unless light is cast on it. Nemo uses the lighting models defined by the OpenGI graphic
system and endeavours to make maximum use of the capabilities of up-to-date graphic cards.
Nevertheless lights should be used in moderation, first because not more than eight lamps can be
switched on at the same time – this is the limit in OpenGl -, second, because by using a bigger
number of lamps the calculation requirement of lighting increases exponentially. It can easily put
too great a burden on the capacity of the hardware.
Common properties:
are the same as those of Text Object, except that the lamp has no size and transparency,
therefore Nemo disregards the parameters Scale X,Y,Z and Transparency.
Special properties:
● type
directional light: with properties resembling sunlight. There is no place from where the
light emanates, therefore its Translate parameters are not relevant, only the direction
should be taken into consideration, defined by the parameters Rotate X, Y, Z.
point light, which, unlike directional light, gives light in all directions, so only its location
(Translate parameters) matters, its direction ( Rotate X,Y,Z) does not.
spot light: it is a combination of the former two. Both the location and the direction of the
light is important.
35
Comentarios a estos manuales