Per-voxel Normals modifiable | Voxel Dev Showcase

Поділитися
Вставка
  • Опубліковано 24 лют 2024
  • Now per-voxel normals are recomputed when the voxels are modified. This is done in a chunk-edit post-processing pass which also removes any normals that are underground, as those would be useless.
    This video was previously unlisted, but I made it public because I want to be able to show more content without the necessary effort that comes with making videos with commentary. I talked about this in this video: • What has changed in my... .
    The Public Codebase:
    github.com/GabeRundlett/gvox_...
    If you want to chat with other community members and me, join my Discord!
    / discord
    My website:
    www.gaberundlett.com
    GPU: RTX 3070 (8GB VRAM)
    CPU: AMD Ryzen 7 5800x (8 core/16 thread)
    RAM: 16GB 2667 MHz DDR4
  • Наука та технологія

КОМЕНТАРІ • 5

  • @aspidinton
    @aspidinton 3 місяці тому +3

    that's really impressive! love the lightning and the speed of world editing

  • @jonahgordon2642
    @jonahgordon2642 Місяць тому +1

    Could these smoothed normals work with reflections also?

    • @GabeRundlett
      @GabeRundlett  Місяць тому

      They absolutely can and are

    • @jonahgordon2642
      @jonahgordon2642 Місяць тому +1

      @@GabeRundlettWouldn’t the reflection rays intersect the voxels they are being reflected off of? Are you adding an offset along the ray to prevent self intersection or is the ray ignoring the voxel it just reflected from? I’m working on my own voxel engine using ray casting and would like to implement something similar. Unless this renderer uses meshes than never mind.

    • @GabeRundlett
      @GabeRundlett  Місяць тому

      @@jonahgordon2642 Yes, I start the ray about 1.5 voxels away from the voxel center