by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 11 2019 03:24
    distransient closed #75
  • Feb 11 2019 03:24
    distransient closed #75
  • Feb 11 2019 03:24
    distransient commented #75
  • Feb 11 2019 03:24
    distransient commented #75
  • Aug 31 2017 17:30
    tmpvar unassigned #28
  • Aug 31 2017 17:30
    tmpvar unassigned #29
  • Aug 31 2017 17:30
    tmpvar unassigned #29
  • Aug 31 2017 17:30
    tmpvar unassigned #28
  • Aug 31 2017 17:30
    tmpvar unassigned #20
  • Aug 31 2017 17:30
    tmpvar unassigned #20
  • Aug 31 2017 17:30
    tmpvar unassigned #19
  • Aug 31 2017 17:30
    tmpvar unassigned #19
  • Aug 10 2015 20:18
    distransient opened #75
  • Aug 10 2015 20:18
    distransient opened #75
  • Aug 10 2015 20:17

    distransient on kelfixtime

    cb() is out of scope here. (compare)

  • Aug 10 2015 20:17

    distransient on kelfixtime

    cb() is out of scope here. (compare)

  • Aug 05 2015 23:34
    tmpvar opened #74
  • Aug 05 2015 23:34
    tmpvar assigned #74
  • Aug 05 2015 23:34
    tmpvar opened #74
  • Aug 05 2015 23:34
    tmpvar assigned #74
Max Harris
@maxharris9
dude - that is trippy af
Elijah Insua
@tmpvar
and shaders/kernel.cl is where the signed distance field is evaluated
which currently resolves to "is this voxel filled (1) or not (0)"
Max Harris
@maxharris9
ok, dropped a cos() in there
messing around
Screen Shot 2016-12-04 at 10.07.59 PM.png
  float xx =  0.5 * (cos((center.x + x)/100.0 + time / 10.0) + 1) * hd;
  float yy =  0.5 * (tan((center.z + z)/100.0 + time / 100.0) + 1) * hd;
it really dances
Elijah Insua
@tmpvar
lol, this is tradition isn't it
Max Harris
@maxharris9
hahaha yes!
Elijah Insua
@tmpvar
step 1: make signed distance field thing. step 2: make it do weird stuff
oh, wow
Max Harris
@maxharris9
what, the weird thing it does?
Elijah Insua
@tmpvar
yeah,
it looks slightly different here
Capture.PNG
Max Harris
@maxharris9
oh damn
that is different
Elijah Insua
@tmpvar
it's almost like it is doing the opposite
OH
i had xx / yy
Max Harris
@maxharris9
ah
Elijah Insua
@tmpvar
lol, the square end is funny
it flashes pink/blue when it crosses the brick boundary
Max Harris
@maxharris9
hahaha yes - it seems to do this jump
I gotta stop watching it
Elijah Insua
@tmpvar
lolol
i wonder what would happen if we baked a frustum of voxels that always stayed in front of the camera
and they just picked up shit that lives in the world
Max Harris
@maxharris9
!
that might work better!
Elijah Insua
@tmpvar
yeah, ive been wrestling with that one a bit
which is why that The Tommorow Children thing was so interesting
they sort of do that, but for lighting they create what are effectively rings of voxels around the camera
with further rings being less dense
Elijah Insua
@tmpvar
alright, imout
gnight
Max Harris
@maxharris9
hey, have a good night!
Elijah Insua
@tmpvar
@maxharris9 can you try something like:
#define VOLUME_DIMS 16
#define VOLUME_COUNT 4096
when you get a chance
i.e. drop the dims down and see where the count breaks
Max Harris
@maxharris9
this is tough - I am about to drop get my 15" mbp repaired at the apple store. might try this tomorrow on the iMac
Elijah Insua
@tmpvar
Ah yeah, no rush
Elijah Insua
@tmpvar
saving this for future reference (ref Volumetric Billboards, Frustum Slicing)
Screen Shot 2016-12-31 at 7.51.49 PM.png
Elijah Insua
@tmpvar
interesting approach to rendering lots of voxels using billboards of some sort http://wscg.zcu.cz/wscg2016/full/B97-full.pdf
Screen Shot 2017-01-09 at 6.14.39 PM.png
Max Harris
@maxharris9
huh, that seems like a really good idea! I guess the billboards can be individually lit, then
so the paper makes it seem like this is fast!