It is currently Fri Sep 20, 2019 3:43 am


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: How do I create a custom Surface Extractor ?
PostPosted: Thu Feb 28, 2019 10:47 pm 

Joined: Sun Jan 05, 2014 11:24 am
Posts: 3
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?


Top
Offline Profile  
Reply with quote  
 Post subject: Re: How do I create a custom Surface Extractor ?
PostPosted: Sat Mar 02, 2019 8:29 am 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
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.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: How do I create a custom Surface Extractor ?
PostPosted: Sat Mar 02, 2019 9:45 am 

Joined: Sun Jan 05, 2014 11:24 am
Posts: 3
Thanks!


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net