Powered by
Llamasoft Illumination Model (TM)
Y. "What I'd like is a light source that does this ..."
G. "Ok let me try .. "
G. "Model 1 : .. hum .. yeah .. but NO .. "
G. "Model 2 : .. yyyeah .. kinda .. but NO .. "
G. "Model 3 : .. conical with radius and .. yeeah ... but NO .. "
( a couple of days later accidentally multiplies a thing for another mistaking a thing for another )
Y. "Hey it KINDA looks pretty .. "
G. "Yes it does but it's still not so correct ..."
Y. "But it looks pretty ... "
G. "But it does not make any ( math ) sense .. "
Y. ".. but it ALMOST does what we want .. "
G. "Yeah .. except in 2 cases .. "
G. "Hum .. but in that case if I'd flip that .. or this .. "
G. "Hummm .. "
( fiddling )
G. " result = case 1 + case 2 + case 3 "
Y. "HEY LOOK IS WHAT WE WANTED !"
G. " .. but it does not make much sense .. "
Y. "But it looks like what we wanted !"
G. "Yes it does .."
Y. "And it's pretty .. "
G. "Yes it is .. but WHAT THE HECK IS IT ? "
Y. "Something that looks pretty".
The birth of Llamasoft Illumination Model (TM)
The conical source wasn't looking too good .. this one .. I don't really know what kind of source it is .. but it is ..
NOTE : ALL THOSE ()*&$&£"*(&$*(£"$ "Notes/tutorials/examples/etc." that you'll find online around will ALWAYS *FORGET* to explain FULLY things as :
1. if the vector(s) involved are 3 components or 4 components
2. if you are transforming in world space or camera space
3. if the coords they talk about are relative to world or camera
4. ( often ) if that vector is "a point" ( i.e. w= 1 ) or "a direction" ( i.e. w= 0) in space
5. if they are using row mayor or column mayor matrices
6. tell EXACTLY what they are doing and WHY
7. in what condition(s) they tested those things and how they used that for
8. if they are using a LH or RH coord system and/or what would happen to all that if you change the coord system while doing that
9. to remember that some transform will change the sign of some axes and the only reason "it does not matter" is because everything else changes (*) as well
(*) except in the case you have a situation where this does NOT happen and you need to check/compensate for this
Overall .. you get the impression there's a lot of cut & paste from somewhere and far too many people that NEVER fully understood ( and are able to explain ) what they are doing.