Got the octree data to the GPU and it's traversing it, but it having some corruption issues. Endianness???
This commit is contained in:
@@ -6,29 +6,6 @@
|
||||
#include "Vector4.hpp"
|
||||
|
||||
|
||||
// Light Handle :
|
||||
// - Contains data relating to movement, and a reference to the rbgi, direction, and position
|
||||
// elements in the LightController.
|
||||
// - Resultant of the use of LightController.create_light(LightPrototype). Cannot be self instantiated.
|
||||
// - On deconstruction, light data is removed from the LightController and the light disappears
|
||||
|
||||
// LightPrototype :
|
||||
// - Contains the desired starting values for the light. The LightHandler object will then be
|
||||
// instantiated using this data
|
||||
|
||||
// PackedData :
|
||||
// - We need to single out the data that the GPU needs into a single contiguous
|
||||
// array. PackedData holds the values for position, direction, and rgbi
|
||||
|
||||
// LightController :
|
||||
// - Contains the PackedData array in a static sized array.
|
||||
// Empty light slots are set to 0 and still sent over the line
|
||||
// TODO: This introduces light limits and inefficiencies
|
||||
// - Contains a factory that takes LightPrototypes and generates unique ptr LightHandles.
|
||||
// Each light handle is given a light index enabling light removal.
|
||||
|
||||
|
||||
|
||||
struct LightPrototype;
|
||||
class LightController;
|
||||
struct PackedData;
|
||||
|
||||
Reference in New Issue
Block a user