slacking

Apr 20, 2006 15:52

I'm having troubles concentrating this afternoon. So instead of working I've been thinking about a question that someone asked in my graphics class earlier this afternoon. Assume that you have a box and there is a triangle that partially sticks outside of the box. If you clip off the parts of the triangle sticking outsid, what is the maximum ( Read more... )

Leave a comment

Comments 53

thatgirljj April 20 2006, 23:03:40 UTC
Is your box a cube?

Reply

fireyice April 20 2006, 23:06:11 UTC
Hmm, I think it can be three dimensional but all sides do not have to be the same length. The triangle is two dimensional.

Reply

denoue April 20 2006, 23:23:06 UTC
The length of the sides of the box shouldn't matter. If it's a 2d box then 7's pretty simple, can you do 8?

Reply

fireyice April 20 2006, 23:27:41 UTC
I can only get 7.

Reply


cosyne April 20 2006, 23:14:45 UTC
damn you. i was supposed to be getting work done this afternoon.

i'm having trouble visualizing how i'd intersect a plane with more than 4 sides of a box, but i feel like it colud be done. dunno about 6 sides. but if you could intersect the plane with 6 sides of the box and strategically introduce 3 more sides from the triangel, that should give you an upper bound of 9, and you can easily do 6, so it's somewhere in there :-)

Reply


(The comment has been removed)

fireyice April 21 2006, 01:53:01 UTC
aww come on, i thought that the picture of stickman's ass made it a little less dorky ;-)

Reply

mrsmalkav April 21 2006, 02:36:01 UTC
i'm so glad to positively contribute to this.

if !(smart) {
show(ass);
}

Reply

(The comment has been removed)


tomstampy April 21 2006, 02:01:35 UTC
i'm confused. 2D triangle, 2D box, the answer is pretty clearly 7. If you have a triangle, and you put it in a 3D box, it's not necesarrily sticking out of a "box" in any planar sense. If you're doing 3D, why can't your triangle now be a traingular prism. you are confined to have no more than 1 vertex of the triangle which extends past the ordinates of the box vertex in n dimensions. the other vertexes must extend in n-1 dimensions. So in "full 3D", i think the answer is 12. I'm sure the line-segments argumet could be extended to this, but i'm tired of thinking.

physics.ucsd.edu/~tdriscol/ts1.jpg
and the intersection is
physics.ucsd.edu/~tdriscol/ts2.jpg

sorry its hard to visualize, i didn't want to spend the time to convert line segments to faces on the intersection so it could do shading.

Reply

drspin April 21 2006, 02:15:10 UTC
no, no, the reason you're only interested in 2D triangles is cause you're talking about polygon rendering here. it's just a question regarding clipping algorithms.

Reply


Pretty Print groundmagnet April 21 2006, 02:07:56 UTC
I'm just that nerdy. Here is how I got to nine.


... )

Reply

Re: Pretty Print drspin April 21 2006, 02:13:30 UTC
ooo, that's much better than my gimpy drawings.

Reply

Re: Pretty Print goawaystupidai April 21 2006, 02:20:34 UTC
No way! The mouse-drawn labeling are teh awesome!

Reply

Re: Pretty Print mrsmalkav April 21 2006, 02:34:27 UTC
why can i not count to 9?

Reply


Leave a comment

Up