Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Rightclick on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: <noreply@go...>  20121128 04:46:40
Attachments:
Message as HTML

Hi, Silvrous has left the following comment at Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8) http://www.googlemelange.com/gci/task/view/google/gci2012/8028203: Task Claimed I would like to work on this task. Greetings, The Google Open Source Programs Team  You are receiving this message because you are subscribed to Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8). To stop receiving these messages, go to: http://www.googlemelange.com/gci/task/view/google/gci2012/8028203. 
From: <noreply@go...>  20121128 04:48:11
Attachments:
Message as HTML

Hi, Harmanpreet Singh has left the following comment at Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8) http://www.googlemelange.com/gci/task/view/google/gci2012/8028203: Task Assigned This task has been assigned to Silvrous. You have 72 hours to complete this task, good luck! Greetings, The Google Open Source Programs Team  You are receiving this message because you are subscribed to Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8). To stop receiving these messages, go to: http://www.googlemelange.com/gci/task/view/google/gci2012/8028203. 
From: <noreply@go...>  20121128 16:58:11
Attachments:
Message as HTML

Hi, Silvrous has left the following comment at Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8) http://www.googlemelange.com/gci/task/view/google/gci2012/8028203: extracting points I'm trying to see how the points are accessed. In rt_arb_volume, for instance, the rt_db_internal *ip>idb_ptr is passed to a rt_arb_internal, which stores the points. But the idb_ptr is a pointer. To what does it point? Greetings, The Google Open Source Programs Team  You are receiving this message because you are subscribed to Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8). To stop receiving these messages, go to: http://www.googlemelange.com/gci/task/view/google/gci2012/8028203. 
From: <noreply@go...>  20121128 17:07:36
Attachments:
Message as HTML

Hi, Silvrous has left the following comment at Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8) http://www.googlemelange.com/gci/task/view/google/gci2012/8028203: nr points Also, a related question, how are ARB's 47 handled, since the general definition is 8vertexed? The primitives docs only state that they are handled by arb8 Greetings, The Google Open Source Programs Team  You are receiving this message because you are subscribed to Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8). To stop receiving these messages, go to: http://www.googlemelange.com/gci/task/view/google/gci2012/8028203. 
From: <noreply@go...>  20121128 21:48:21
Attachments:
Message as HTML

Hi, Sean has left the following comment at Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8) http://www.googlemelange.com/gci/task/view/google/gci2012/8028203: points are replicated For performance and simplicity, the points are just duplicated in a specific order. There are functions that will tell you whether a given arb8 is a 47 and from there you can just read the first N points iirc. Understanding idb_ptr is getting very lowlevel but basically idb_ptr IS an rt_arb_internal. It's not passed, it's cast. The generic idb_ptr pointer is converted into a struct rt_arb_internal pointer. Greetings, The Google Open Source Programs Team  You are receiving this message because you are subscribed to Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8). To stop receiving these messages, go to: http://www.googlemelange.com/gci/task/view/google/gci2012/8028203. 
From: <noreply@go...>  20121130 13:42:10
Attachments:
Message as HTML

Hi, Silvrous has left the following comment at Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8) http://www.googlemelange.com/gci/task/view/google/gci2012/8028203: one more thing I think the arb8 volume function might be wrong. For calculating the base area, it uses the cross product of (OBOA)X(OCOA) = ABXAC, but that gives twice the actual area of the triangle ABC, iirc. Should I halve the result of that calculation when calculating the area? Greetings, The Google Open Source Programs Team  You are receiving this message because you are subscribed to Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8). To stop receiving these messages, go to: http://www.googlemelange.com/gci/task/view/google/gci2012/8028203. 
From: <noreply@go...>  20121130 21:00:54
Attachments:
Message as HTML

Hi, Matt S. has left the following comment at Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8) http://www.googlemelange.com/gci/task/view/google/gci2012/8028203: Elaboration What cross product, and I guess more specifically, what function are you referring to? Greetings, The Google Open Source Programs Team  You are receiving this message because you are subscribed to Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8). To stop receiving these messages, go to: http://www.googlemelange.com/gci/task/view/google/gci2012/8028203. 
From: <noreply@go...>  20121130 21:14:55
Attachments:
Message as HTML

Hi, Silvrous has left the following comment at Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8) http://www.googlemelange.com/gci/task/view/google/gci2012/8028203: Ready for review The work on this task is ready to be reviewed. Greetings, The Google Open Source Programs Team  You are receiving this message because you are subscribed to Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8). To stop receiving these messages, go to: http://www.googlemelange.com/gci/task/view/google/gci2012/8028203. 
From: <noreply@go...>  20121130 21:18:39
Attachments:
Message as HTML

Hi, Silvrous has left the following comment at Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8) http://www.googlemelange.com/gci/task/view/google/gci2012/8028203: rt_arb_volume In the RT_ARB_VOLUME function, on line 2309, the function computes the area of the base of the arb4 to get the volume, by using vector cross products, but the formula is 1/2*(cross_product). Greetings, The Google Open Source Programs Team  You are receiving this message because you are subscribed to Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8). To stop receiving these messages, go to: http://www.googlemelange.com/gci/task/view/google/gci2012/8028203. 
From: <noreply@go...>  20121130 21:52:37
Attachments:
Message as HTML

Hi, Matt S. has left the following comment at Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8) http://www.googlemelange.com/gci/task/view/google/gci2012/8028203: No, it's correct Note that the area of a tetrahedron is: V = \frac{1}{3} A_0 h which follows from the volume formula for a general polyhedra. Notice that in rt_arb_volume we have: /* calculate area of arb4 base */ VSUB2(b_a, aip>pt[b], aip>pt[a]); VSUB2(c_a, aip>pt[c], aip>pt[a]); VCROSS(area, b_a, c_a); *vol += MAGNITUDE(area) * arb4_height; } *vol /= 6.0; so the factor of 1/2 has just been factored out. Greetings, The Google Open Source Programs Team  You are receiving this message because you are subscribed to Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8). To stop receiving these messages, go to: http://www.googlemelange.com/gci/task/view/google/gci2012/8028203. 
From: <noreply@go...>  20121130 22:02:38
Attachments:
Message as HTML

Hi, Silvrous has left the following comment at Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8) http://www.googlemelange.com/gci/task/view/google/gci2012/8028203: Oh, right My bad, I should have seen that. Especially since I did something similar in my own function. Greetings, The Google Open Source Programs Team  You are receiving this message because you are subscribed to Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8). To stop receiving these messages, go to: http://www.googlemelange.com/gci/task/view/google/gci2012/8028203. 
From: <noreply@go...>  20121130 22:19:16
Attachments:
Message as HTML

Hi, Matt S. has left the following comment at Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8) http://www.googlemelange.com/gci/task/view/google/gci2012/8028203: OK, but... Since you have the vertes coordinates, could you not simply compute the area via Green's Theorem? Greetings, The Google Open Source Programs Team  You are receiving this message because you are subscribed to Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8). To stop receiving these messages, go to: http://www.googlemelange.com/gci/task/view/google/gci2012/8028203. 
From: <noreply@go...>  20121130 22:47:27
Attachments:
Message as HTML

Hi, Matt S. has left the following comment at Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8) http://www.googlemelange.com/gci/task/view/google/gci2012/8028203: But it is 2D! Each face is planar, and thus the socalled 2D version of Green's Theorem applies directly. As an algorithm, one could get the vertex coordinates of a single face (which is always a triangle in this case) and compute an affine transformation that would translate the face in a manner such that one vertex is at the origin, and rotate it so that it is on the xy plane. This would allow the aree of each face to then be computed rather trivially via Green's Theorem. The (possible) advantage of this approach is that: A; it could be extended to compute the area of a BOT primitave fairly easily, although counting vertices / faces becomes a nontrivial issue B: It can be extended VERY easily to the arbn primitave as well, assuming such a function does not exist (I have not looked to be honest). Just my thoughts of course, feel free to ignore my ramblings :) Greetings, The Google Open Source Programs Team  You are receiving this message because you are subscribed to Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8). To stop receiving these messages, go to: http://www.googlemelange.com/gci/task/view/google/gci2012/8028203. 
From: <noreply@go...>  20121130 22:57:41
Attachments:
Message as HTML

Hi, Silvrous has left the following comment at Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8) http://www.googlemelange.com/gci/task/view/google/gci2012/8028203: I suppose I know the 2D version of green's theorem, but I thought this way was easier to implement Greetings, The Google Open Source Programs Team  You are receiving this message because you are subscribed to Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8). To stop receiving these messages, go to: http://www.googlemelange.com/gci/task/view/google/gci2012/8028203. 
From: <noreply@go...>  20121130 23:16:32
Attachments:
Message as HTML

Hi, Silvrous has left the following comment at Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8) http://www.googlemelange.com/gci/task/view/google/gci2012/8028203: Well, That was actually my first idea, but I didn't know how to do the transformation. Greetings, The Google Open Source Programs Team  You are receiving this message because you are subscribed to Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8). To stop receiving these messages, go to: http://www.googlemelange.com/gci/task/view/google/gci2012/8028203. 
From: <noreply@go...>  20121130 23:33:49
Attachments:
Message as HTML

Hi, Matt S. has left the following comment at Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8) http://www.googlemelange.com/gci/task/view/google/gci2012/8028203: That I can help with Give me a few minutes, I have enough material kicking around here somewhere on just this topic... Greetings, The Google Open Source Programs Team  You are receiving this message because you are subscribed to Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8). To stop receiving these messages, go to: http://www.googlemelange.com/gci/task/view/google/gci2012/8028203. 
From: <noreply@go...>  20121201 01:11:47
Attachments:
Message as HTML

Hi, Matt S. has left the following comment at Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8) http://www.googlemelange.com/gci/task/view/google/gci2012/8028203: Method Attached Please refer to the attached .pdf file, I've outlined the math required to implement the method I outlined above. Matt Greetings, The Google Open Source Programs Team  You are receiving this message because you are subscribed to Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8). To stop receiving these messages, go to: http://www.googlemelange.com/gci/task/view/google/gci2012/8028203. 
From: <noreply@go...>  20121201 01:14:24
Attachments:
Message as HTML

Hi, Matt S. has left the following comment at Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8) http://www.googlemelange.com/gci/task/view/google/gci2012/8028203: Ack! Can I not attach documents?!? Greetings, The Google Open Source Programs Team  You are receiving this message because you are subscribed to Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8). To stop receiving these messages, go to: http://www.googlemelange.com/gci/task/view/google/gci2012/8028203. 
From: <noreply@go...>  20121201 01:40:29
Attachments:
Message as HTML

Hi, Sean has left the following comment at Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8) http://www.googlemelange.com/gci/task/view/google/gci2012/8028203: you should You should be able to. Does it not give you that option when it's in a needing review state? Someone else reported that they still could. Greetings, The Google Open Source Programs Team  You are receiving this message because you are subscribed to Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8). To stop receiving these messages, go to: http://www.googlemelange.com/gci/task/view/google/gci2012/8028203. 
From: <noreply@go...>  20121201 01:43:38
Attachments:
Message as HTML

Hi, Sean has left the following comment at Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8) http://www.googlemelange.com/gci/task/view/google/gci2012/8028203: OH My misunderstood who was askin. Mentors can't upload docs and can't even modify the task once it's claimed to make edits. Best to just post a URL here in the comments. If you send me the PDF and I can it up on the server or you can add it to the wiki (accepts pdf files). Greetings, The Google Open Source Programs Team  You are receiving this message because you are subscribed to Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8). To stop receiving these messages, go to: http://www.googlemelange.com/gci/task/view/google/gci2012/8028203. 
From: <noreply@go...>  20121201 01:45:54
Attachments:
Message as HTML

Hi, Sean has left the following comment at Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8) http://www.googlemelange.com/gci/task/view/google/gci2012/8028203: Deadline extended The deadline of the task has been extended with 2 days and 0 hours. Greetings, The Google Open Source Programs Team  You are receiving this message because you are subscribed to Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8). To stop receiving these messages, go to: http://www.googlemelange.com/gci/task/view/google/gci2012/8028203. 
From: <noreply@go...>  20121201 01:47:54
Attachments:
Message as HTML

Hi, Matt S. has left the following comment at Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8) http://www.googlemelange.com/gci/task/view/google/gci2012/8028203: Sent OK, I've sent it to you via the dev mailing list. Thanks! Greetings, The Google Open Source Programs Team  You are receiving this message because you are subscribed to Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8). To stop receiving these messages, go to: http://www.googlemelange.com/gci/task/view/google/gci2012/8028203. 
From: <noreply@go...>  20121201 02:15:35
Attachments:
Message as HTML

Hi, Matt S. has left the following comment at Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8) http://www.googlemelange.com/gci/task/view/google/gci2012/8028203: Background Math For real this time! http://brlcad.org/wiki/Image:Affine_transformations.pdf Greetings, The Google Open Source Programs Team  You are receiving this message because you are subscribed to Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8). To stop receiving these messages, go to: http://www.googlemelange.com/gci/task/view/google/gci2012/8028203. 
From: <noreply@go...>  20121201 09:42:54
Attachments:
Message as HTML

Hi, Silvrous has left the following comment at Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8) http://www.googlemelange.com/gci/task/view/google/gci2012/8028203: thanks OK, so I take each face, translate and rotate its points to a plane and calculate the surface using the derived green's formula, abs(1/2 sum(xi yi+1  xi+1 yi)) I have 2 questions: When doing the transformations, wouldn't it be easier to just subtract the coordinates of x0 from the other points on the face to translate the face to the origin, instead of doing matrix transformations? What does the exponent notation do on a point? For instance, like it's done in the b vector in 1.1, with [x^1, x^2 x^3] Greetings, The Google Open Source Programs Team  You are receiving this message because you are subscribed to Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8). To stop receiving these messages, go to: http://www.googlemelange.com/gci/task/view/google/gci2012/8028203. 
From: <noreply@go...>  20121201 09:48:02
Attachments:
Message as HTML

Hi, Silvrous has left the following comment at Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8) http://www.googlemelange.com/gci/task/view/google/gci2012/8028203: matrix Also, where are the matrix operations defined? Greetings, The Google Open Source Programs Team  You are receiving this message because you are subscribed to Add a primitive surface area function ... for polyhedron with 4 to 8 sides (ARB8). To stop receiving these messages, go to: http://www.googlemelange.com/gci/task/view/google/gci2012/8028203. 
Sign up for the SourceForge newsletter:
No, thanks