Skip to content
Snippets Groups Projects
  1. Oct 30, 2022
  2. Oct 23, 2022
    • Papay, Robert's avatar
      Add ability to change models in-game · bc654b97
      Papay, Robert authored
      Add script ModelChanger that changes models and book and paper textures
      Add struct ModelInfo to hold info needed to change models
      Extend WarnOnNullAttribute functionality to also look into enumerable variables
      Add paper reset and clear
      bc654b97
  3. Oct 21, 2022
    • Papay, Robert's avatar
      Add undo to DCEL and integrate it into VR · 22ad0c6d
      Papay, Robert authored
      Add class DCELHistory that holds revertable edits made to owning DCEL
      Add classes for representing revertable DCEL edits
      Add copmonent AfterCut to handle DCEL undos, so that only one undo happens per frame and after cuts
      Add second tip to eraser on the opposite side that triggers undo
      Add tests that skip adding or splitting some edges if they would be too small
      Test DCEL automatically several thousand times again after making changes when implementing undo
      Make erasers functional again
      Add Paper component that holds both Drawable and Cuttable
      Fix paper texture flickering caused by not copying to both render target and source when copying textures
      Add CooldownTimer utility class
      22ad0c6d
  4. Aug 21, 2022
    • Papay, Robert's avatar
      Improve and test DCEL functionality · c69cf78d
      Papay, Robert authored
      Add automatic DCEL testing (place cuts until x DCELs are created, reset and repeat)
      Tested DCEL over 5000 times without anz exceptions thrown
      Change representation of line segments from tuples to struct
      Add/fix functionality for placing a cut point on a vertex
      Add nearest neighbour vertex search
      Add 3 types of DCEL exceptions
      Rewrite/move some functions around
      Add new utilities/extension methods
      Add untested methods for DCEL element removal
      c69cf78d
  5. Jul 05, 2022
    • Papay, Robert's avatar
      Improve shaders and texture blitting · 0df59866
      Papay, Robert authored
      Add a branch to shaders so that full computation happens only for relevant pixels
      Move some general shader functions to PaintToolCG.cginc
      Modify Cuttable and Drawable to work with square textures
      0df59866
  6. Jun 28, 2022
    • Papay, Robert's avatar
      Refactor and add new features to painting · 992d38f1
      Papay, Robert authored
      Add switching of 2 render textures to double buffer
      Make DDA interpolation limited to max steps
      Increase shader array size
      Fix draw queue poison pills
      Reimplement paint tool rotation
      Make shaders tidier, easier to understand and edit
      Reimplement color blending/mixing
      Move functions to different classes and remove PaintingRegistry
      992d38f1
  7. May 19, 2022
  8. May 18, 2022
  9. May 10, 2022
  10. May 06, 2022
  11. May 05, 2022
  12. May 04, 2022
  13. Mar 12, 2022
  14. Jan 14, 2022
  15. Dec 14, 2021
  16. Dec 13, 2021
  17. Dec 12, 2021
    • Papay, Robert's avatar
      Add brush · 61f41317
      Papay, Robert authored
      Make the code more scalable and adaptable
      Add code, material and shader for a brush
      Make use of PaintingRegistry class
      61f41317
  18. Dec 11, 2021
    • Papay, Robert's avatar
      Add queue processing and DDA to fill gaps · 9ac073b9
      Papay, Robert authored
      Add queue for pen hits
      Add queue for rendering brush strokes
      Add DDA to fill gaps between hits with a line
      Change hit detection from trigger collisions to distance test in FixedUpdate
      9ac073b9
  19. Nov 19, 2021
  20. Nov 13, 2021