Volumes Of Fun
http://www.volumesoffun.com/phpBB3/

How do I create a custom Surface Extractor ?
http://www.volumesoffun.com/phpBB3/viewtopic.php?f=14&t=710
Page 1 of 1

Author:  Tharg [ Thu Feb 28, 2019 10:47 pm ]
Post subject:  How do I create a custom Surface Extractor ?

Hi -

Apologies I see polyvox is no longer being developed etc., and this is probably more a c++ question, but it's worth a shot :D. I am very much a beginner with c++ but I have hacked some examples from around the web together together with polyvox in VS2013 as a hobby project with some success.

Image

However I need to make a custom surfaceExtractor but I don't know where to start. E.g. can I just start by copying and renaming a few files such as MarchingCubesSurfaceExtractor.h somewhere and then changing certain values in them to my names?

Author:  David Williams [ Sat Mar 02, 2019 8:29 am ]
Post subject:  Re: How do I create a custom Surface Extractor ?

Looks like an interesting project you've got there :-)

Tharg wrote:
However I need to make a custom surfaceExtractor but I don't know where to start. E.g. can I just start by copying and renaming a few files such as MarchingCubesSurfaceExtractor.h somewhere and then changing certain values in them to my names?


Yes, this is fine, but whether it is the bet approach depends on your goals and whether you need the original surface extractor. If you only need minor changes and don't need the original, you could just fork the repository and apply your tweaks directly. Or if your vision is completely different then you might want to start from scratch. But yes, in general the approach you describe is fine if you don't mind copying and renaming all the files.

Author:  Tharg [ Sat Mar 02, 2019 9:45 am ]
Post subject:  Re: How do I create a custom Surface Extractor ?

Thanks!

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/