Go Back   AC3D Forums > Technical > AC3D Developers
Register FAQ Members List Calendar Today's Posts

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 22nd September 2007, 06:38 PM   #4
Cynic
Member
Expert member
 
Join Date: Jul 2007
Posts: 71
Default Re: Is the a max to the surface indices?

Well, it took a while, mainly because it touched on areas of geometry I haven't discovered until now (barycentric space), but I have something that seems to be working.

I've tested it successfully with a cube, so far (not sure how I'll verify the results with anything more complex), but it works.

It's a span algorithm, perhaps not the most intelligent, but it works quite nicely and has a margin of error of up to 1.08% by default tested with an axially aligned 1x1x1 cube.

It should be noted that when the cube is rotated, the margin of error drops an order of magnitude to 0.28%. I'm not entirely sure why (speculating overscan), but happy I got it working.

I'll need to test against several other easily calculable geometric figures and once I'm satisfied, I'll call it good! This may very well be the second program in my life I actually finished.

I'd celebrate with Heinekens, but that's what slowed me down.

Last edited by Cynic; 22nd September 2007 at 06:40 PM.
Cynic is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 03:54 PM.


AC3D Forum
(C) Inivis Limited 2020