The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Quick and dirty solutions always come back... by Control 2005-03-10 01:55:06
... to haunt you, don't they?

A while ago, I had the following situation: a plane in 3D, with points on it given by their 3D coordinates. I needed the 2D coordinates of each point within the plane. At the time, I looked at the plane, and figure it's damned near perpendicular to the x/y plane (near enough at least), so I'll just use the Z coords of the points as the y-coord in the plane and use to distance from the edge as the x-coord. Quick simple, and it worked fine. So I incorporated it into the main project as a small subfunction called 'nodes2D'.

Now I'm adapting the whole thing to complex 3D geometries, and I'm wondering why I'm getting messed up data for certain planes. Then it hit me. Stooooooooooooooooopiiiiiiiiiiiiiiid!
[ Reply ]
  Damn right. by moddermonster2005-03-10 02:49:10
  I must be nice by dab2005-03-10 03:07:26
  Famous last words ... by binkley2005-03-10 03:46:07
  I drill this into my guy's heads by thread_killer2005-03-10 04:53:58
  Reminds me of the 'roos :) (Old story) by romandas2006-11-19 12:55:59

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)