Hi Rafa,
Thanks for the info. However I was refering to a light's direction parameter from the lib3ds. Do you know how I can get that value?
Rafa³ Kamraj <[EMAIL PROTECTED]> wrote:
Rafa³ Kamraj <[EMAIL PROTECTED]> wrote:
Brian Radojcic wrote:
> Hi all,
> I am working on the spot lights and I have a problem with the following:
> Does anybody know what is the direction parameter for the spot light ie:
> glLightfv(m_light, GL_SPOT_DIRECTION, ????)
directly from OpenGL docs:
GL_SPOT_DIRECTION
params contains three integer or
floating-point values that specify the direction of
the light in homogeneous object coordinates.
Both integer and floating-point values are mapped directly.
Neither integer nor floating-point values
are clamped.
The spot direction is transformed by the
inverse of the modelview matrix when glLight is called (just as if it
were a normal), and it is stored in eye
coordinates. It is significant only when
GL_SPOT_CUTOFF is not 180, which it is
initially. The initial direction is (0, 0, -1).
greets
Rafa³
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
lib3ds-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lib3ds-devel
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
