Search found 176 matches

by PI
Wed Sep 30, 2009 12:09 pm
Forum: Project Announcements
Topic: FunCollision v1.0 Source + Bin + Tutorials
Replies: 67
Views: 38317

Thanks! It would be nice to hear how it performs on other systems. I'm especially interested in "simulation time". Since the debug info focuses on the map itself, it'll report wrong numbers of the "selected triangles". It won't add those are selected from the dwarf model, for exa...
by PI
Tue Sep 29, 2009 4:32 pm
Forum: Project Announcements
Topic: FunCollision v1.0 Source + Bin + Tutorials
Replies: 67
Views: 38317

*** Updated first post ***
by PI
Thu Sep 24, 2009 3:07 pm
Forum: Project Announcements
Topic: FunCollision v1.0 Source + Bin + Tutorials
Replies: 67
Views: 38317

Thanks for supporting, shadowslair ! Having the cylinder and box volumes as an alternative at least for static objects will be nice- a tree trunk, a barrel or a street lamp base will be "cheaper" as a cylinder, and some boxes, small houses etc will be better for the box shape I've got your...
by PI
Thu Sep 24, 2009 10:32 am
Forum: Project Announcements
Topic: FunCollision v1.0 Source + Bin + Tutorials
Replies: 67
Views: 38317

Wow, it's been a month since I've been in this topic! I did not have as much time for coding as I wanted. But the last two weeks I've been struggling to deal with some issues. The first and most important is, that I've decided to go for a simple character-collision system, and not a general one. Alt...
by PI
Fri Sep 11, 2009 1:04 pm
Forum: Off-topic
Topic: Closest point to an ellipsoid
Replies: 39
Views: 13060

Hi cheshirekow, sorry for not responding but I'm being very busy these days. Thanks for the hints, I'll try them, and I think I'll make a small test app for it, that might help others. But only when I've got time.

Regards,
PI
by PI
Mon Sep 07, 2009 12:06 pm
Forum: Off-topic
Topic: Closest point to an ellipsoid
Replies: 39
Views: 13060

Hi! I've got some problem with the code. Please note that this is only a quick-and-dirty conversion from your matlab script into cpp. I've tried the steepest descent method first. I've maximized the number of iterations, just in case, and it frequently hits the limit. Plus, no matter how many iterat...
by PI
Sun Sep 06, 2009 1:41 pm
Forum: Off-topic
Topic: Closest point to an ellipsoid
Replies: 39
Views: 13060

Fascinating! I'm truly impressed. Thank you for the time and effort! :) Everything seems to be very well explained. Now I'm going to read the whole article in detail.

Cheers,
PI
by PI
Fri Sep 04, 2009 12:53 pm
Forum: Off-topic
Topic: Closest point to an ellipsoid
Replies: 39
Views: 13060

Okay, I start to feel sick about ellipsoids right now. I can see nothing else but ellipsoids everywhere... :shock: Thanks for the links, Dorth, the best choice seems to be the second one. It's a bit disappointing though that it talks about x iterations of solving the equations to find that silly poi...
by PI
Thu Sep 03, 2009 2:55 pm
Forum: Off-topic
Topic: Closest point to an ellipsoid
Replies: 39
Views: 13060

@Dorth: :D I have some other shapes, if you're interested... But I know the solution for those. @JeroenP: You're right, see below! Yeah, but I need something faster than searching among many points. It'd depend on the "resolution" (amount of points), too. But for testing the solutions we'...
by PI
Wed Sep 02, 2009 2:58 pm
Forum: Off-topic
Topic: Closest point to an ellipsoid
Replies: 39
Views: 13060

Hey but what if we'd combine it with SiO2's idea: - find a proportionally larger ellipsoid, that P actually lays on - if it lays on the ellipsoid, it's closest point is itself - since we've made our ellipsoid larger, it has new focus points, so - we can set up the P-F1, P-F2 lines now, get the middl...
by PI
Wed Sep 02, 2009 2:37 pm
Forum: Off-topic
Topic: Closest point to an ellipsoid
Replies: 39
Views: 13060

Wow JeorenP, thanks! You're even providing source! However, I think I have to disappoint you. I've fallen into the same mistake maybe only a couple of minutes before you, while browsing for the answer and finding this page: http://www.mathopenref.com/ellipsetangent.html I've marked with red what you...
by PI
Wed Sep 02, 2009 1:08 pm
Forum: Off-topic
Topic: Closest point to an ellipsoid
Replies: 39
Views: 13060

I think the weakest point of my approach is simply that I don't pick the right angle. The right angle would be perpendicular to the tangent.

Also, I can see that my solution could be greatly simplified.
by PI
Tue Sep 01, 2009 6:44 pm
Forum: Off-topic
Topic: Closest point to an ellipsoid
Replies: 39
Views: 13060

I think I understand it, I'm gonna "test" it on paper. Thanks for the idea!
by PI
Tue Sep 01, 2009 6:32 pm
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: [DevC++] dll with directx 9.0c support available
Replies: 130
Views: 113054

Thank you very much! I use C::B and MingW too. Downloading!
by PI
Tue Sep 01, 2009 6:22 pm
Forum: Off-topic
Topic: Closest point to an ellipsoid
Replies: 39
Views: 13060

Sorry guys I didn't have as much spare time as yesterday. I really appreciate the effort you guys put into this! Thanks! @Dorth: Yes, see my approach below. (I've added your idea about the foci, thanks!) xray: Yeah, it does ring a bell, however, I'm not really familiar with derivates and integrates....