It is currently Tue Aug 11, 2020 9:39 pm


All times are UTC




Post new topic Reply to topic  [ 13 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Duplicate faces in surface extractor
PostPosted: Thu Apr 14, 2011 5:26 pm 

Joined: Sat Sep 18, 2010 9:45 pm
Posts: 189
edit: Okay nevermind. I may have to go up to widith + 1.

More edit: Well, it works for me when I only go up to width - 1. I do need to update the neighbor region when I dirty boundary values. I don't think going up to width + 2 solves this problem because for 0th element you are relying on the neighbor to generate the value, thus when you change that element you have to ask the neighbor to generate the surface. I could be wrong. Anyhow, going only up to width - 1 works for me.

As for the decimation thing, I will try to get you a screenshot. It's just I'm int he middle of refactoring and I have taken out that piece of code.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Duplicate faces in surface extractor
PostPosted: Fri Apr 15, 2011 1:51 am 

Joined: Sun Jan 23, 2011 6:06 am
Posts: 92
Thanks Beyzend.

I had overlooked the issue of border values changing meshes on both sides of the region boundary. Previously it was probably OK for me due to the duplicate faces bug, but now meshes will definitely only be generated for faces on the side containing voxels.

I will need to update my chunk manager to check for boundary value changes to re-generate the neighbors mesh also...


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Duplicate faces in surface extractor
PostPosted: Fri Jul 01, 2011 10:03 pm 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
I'm just going thgouh the bugs - I think I can close this one as I've applied DefiniteIntegral's change.


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ]  Go to page Previous  1, 2

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