Opened 20 years ago
Closed 20 years ago
#42 closed defect (fixed)
Light-Class
Reported by: | bensch | Owned by: | bensch |
---|---|---|---|
Priority: | minor | Milestone: | 0.2.2-pre-alpha orx-v0 |
Component: | GraphicsEngine | Version: | |
Keywords: | Light | Cc: | |
Referenced By: | References: |
Description
Light is very important for seeing things, so it is a good idea to give it its own class
- ToDo:
- The Class is initialized so there remains
- Extension for Spot-Lights
- Light should move only if one tells it so for this to work:
- Lights must be initialized and transformed in the right order of the modelview-transformation
- Lights can move with the Camera
- Lights can fly with an entity.
Really important is the Position of the light→setPosition function in world.cc if this gets mixed up, the Light will not be positioned in the right order.
This also has to do (most possibly) with the strage Fog-position of dave's branche
Change History (2)
comment:1 Changed 20 years ago by bensch
- Status changed from new to assigned
comment:2 Changed 20 years ago by bensch
- Resolution set to fixed
- Status changed from assigned to closed
Note: See
TracTickets for help on using
tickets.
done spotlight