It is currently Sat Aug 22, 2020 4:27 am


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: smooth terrain with custom models?
PostPosted: Thu Jan 09, 2014 12:44 pm 

Joined: Thu Jan 09, 2014 12:14 pm
Posts: 3
Is there any mechanism with the smooth terrain to provide all the custom model permutations for the transitions between various voxel types ?

I'm interested in being a bit more expressive with some of the geometric representation of the voxels so I'm curious if custom models can be algorithmically selected rather than procedurally generated.

Thanks


Top
Offline Profile  
Reply with quote  
 Post subject: Re: smooth terrain with custom models?
PostPosted: Fri Jan 10, 2014 8:20 am 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
The configuration of triangles which is generated for each set of eight voxels (a cell) is determined by a look-up table: https://bitbucket.org/volumesoffun/poly ... ?at=master

The algorithm was originally derived from Paul Bourke's article. Be sure to check it out for an understanding of the principles: http://paulbourke.net/geometry/polygonise/


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 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