1. Volumes of Fun
  2. Main
  3. PolyVox
  4. Issues
Issue #34 new

Consider non-linear interpolation when placing vertex between voxels?

David Williams
created an issue

Not sure if this is useful but it's at least worth thinking about. Higher order interpolation will probably be too expensive, but it be worth testing something like smoothstep(): http://www.opengl.org/sdk/docs/manglsl/xhtml/smoothstep.xml

Discussion here: http://www.volumesoffun.com/phpBB3/viewtopic.php?p=3785#p3785

Comments (5)

  1. David Williams reporter

    I think it will be pretty cheap compared to the rest of the stuff that goes on during surface extraction. I'm a little concerned that the resulting mesh might have a 'wavey' effect but I certainly think it's worth trying to see. Perhaps the parameters can be tweaked to obtain the best result. I'll leave this with you but let me know if you need anything.

  2. Log in to comment