Grant-Nelson / ThreeDart

3D graphical rendering tool for websites written in Dart.
Other
16 stars 11 forks source link

Add a bar light #116

Closed Grant-Nelson closed 4 years ago

Grant-Nelson commented 4 years ago

Add a bar light #112

Feature, Bug Fix, or Improvement

Add a new light type which illuminates out and around a line. This light can be used for florescent lights, laser beams, glowing uranium rods, light sabers, etc.

Design:

  1. must have a start point mover and end point mover
  2. must have a color field
  3. should have attenuation extending out radially from the line
  4. should have light around the ends of the lines which work like point lights ~5. should be able to disable the end point light so that the light can be a cylinder or a capsule~ ~6. might add a 2D texture which only applies around to the cylinder part of the light~

Implementation

TBD

Review and Testing

Added a test for manual testing

Grant-Nelson commented 4 years ago

Follow up Improve bar light #120