[leveller] Re: 64-bit STL plugin?

  • From: Chris Dordoni <dordoni@xxxxxxxxxxx>
  • To: leveller@xxxxxxxxxxxxx
  • Date: Sat, 08 Oct 2011 23:56:25 -0400

Hi Ray

I looked back at a few files I processed with the updated STL plugin in Win32 and discovered that I had processed them through Netfabb Studio Basic (free) to close them. My recall that the STL from the updated plugin was closed as it came out of Leveller in the Win32 version was wrong. I uninstalled the Win64 Leveller and reinstalled the Win32 Leveller with the STL plugin update and ran a test just to be sure. So the 32 and 64 bit versions are doing the same thing.

I think the problem is that there are just a few extra polygons that are preventing the object from being manifold, at least by the number of vertices and triangles that are reported compared to what should be there.

The resolution of my test object is 477 x 301 pixels, these are my calculations so you can check them:

285600 = 2(476 x 300) front face triangles
     3104 = 4(476 + 300) edge triangles
     1554 = 2(476 + 300) + 2 back face triangles
-------------------------------------------------------------
290258 = total triangles, compare to Netfabb report 290266 triangles before and 290262 triangles after repair
Somewhere I missed accounting for 4 triangles?


143577 = 477 x 301 front face vertices
    1556 = 2(477 + 301 - 2) + 4 back face vertices
-------------------------------------------------------------
145133 = total vertices , compare to Netfabb reports 145133 vertices before and 145133 after repair.



It's an easy fix with Netfabb Studio Basic, and as long as the files don't get extremely large (Netfabb is not yet Win64)

Chris




On 10/7/2011 10:39 PM, Ray Gardener wrote:
There's usually some good viewer tools to check the resulting mesh and its
normals. My only misgiving is that the triangles that connect the hi-res
edge to the low-res bottom quad use a simple triangle fan generator that
makes lots of very long, narrow triangles as heightfield resolution
increases. Other than that, I can't think of anything.

Ray


-----Original Message-----
From:leveller-bounce@xxxxxxxxxxxxx  [mailto:leveller-bounce@xxxxxxxxxxxxx]
On Behalf Of Chris Dordoni
Sent: Friday, October 07, 2011 7:12 AM
To:leveller@xxxxxxxxxxxxx
Subject: [leveller] Re: 64-bit STL plugin?

OK, I will continue to examine what I did to  to see if I can find something
wrong in my process.


On 10/7/2011 9:57 AM, Ray Gardener wrote:
It all checks out here.


-----Original Message-----
From:leveller-bounce@xxxxxxxxxxxxx  [mailto:leveller-bounce@xxxxxxxxxxxxx]
On Behalf Of Chris Dordoni
Sent: Friday, October 07, 2011 6:46 AM
To:leveller@xxxxxxxxxxxxx
Subject: [leveller] 64-bit STL plugin?

Hi Ray,

Is the 64-bit version of the STL plugin the same version as the 32-bit?

I'm getting some results here that indicate it may be missing the
correction
you recently made to joining the front polys to the back polys so the
object
is manifold.

Chris








--
tel: 508 341 5403
website:http://www.concept-4d.com/websites/Chris_Dordoni_website.html
gmail chat:chris.dordoni@xxxxxxxxx
skype name: chrisdordoni


Other related posts: