You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
A new direct light source CLightDirect class should accompany existing spot light source CLightSpot class.
Describe the solution you'd like
Implement the CLightDirect class with the following parameters:
Vec3f intensity
Vec3f org
Vec3f dir
float hotspotRadius - radius of an inner cylinder with constant surface illumination
float falloffRadius - radius of an outer cylinder with attenuated illumination (attenuation function might be taken from the CLightSpot class)
bool castShadow
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
A new direct light source
CLightDirect
class should accompany existing spot light sourceCLightSpot
class.Describe the solution you'd like
Implement the
CLightDirect
class with the following parameters:Vec3f intensity
Vec3f org
Vec3f dir
float hotspotRadius
- radius of an inner cylinder with constant surface illuminationfloat falloffRadius
- radius of an outer cylinder with attenuated illumination (attenuation function might be taken from theCLightSpot
class)bool castShadow
The text was updated successfully, but these errors were encountered: