-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to determine ARB6 index mapping? #174
Comments
It seems there exists another case aside 0/1/2/3/4/4/5/5 and 0/1/2/3/4/5/5/4.
As you can see, duplicated points exist [1]/[2] and [5]/[6].
So, there's no way to edit the last point at [7]. Anyway, is there systematic way to extract unique points and determine index map? Btw, is it possible to debug this kind of geometry in archer? I extracted the full point list using C-API but it would be nice to have such a command to check it in archer. |
Excellent and timely question because I’m in the middle of working on the arb8 code, to extend it with support for concave definitions and noted some of the inconsistency you noticed. Not all of them though! I’ve not noticed the issue on havoc. I’ll have to dig a bit before answering to make sure you get the right info.. That said, are you working on code or in userland? |
When you saying working on code, if you asking if I am using C-API of BRL-CAD's library, then yes I am working on code. I am writing an application to run RT on CSG based model. |
It seems there are two schema to map index of vertices between ARB8 and ARB6:
Since, there no other informative field in
rt_arb_internal
:I guess the index mapping can be determined solely from vertices, but I have no idea.
How can I figure out which one should I use from vertices?
The text was updated successfully, but these errors were encountered: