Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Looks nice. I have been working ten years professionally developing a CAD program, and if I could time travel and give my ten years younger self a single tip it would be to use a proper geometrical kernel (like CGAL) rather than doing anything with floating point.

The tree rep is very cool. It could probably render implicitly using distance fields without even needing triangulation. http://iquilezles.org/www/articles/distfunctions/distfunctio...



> proper geometrical kernel (like CGAL)

Wow, that looks amazing. Thanks for the pointer!

http://www.cgal.org/

(Pretending to add value, it's eminently googleable)


Does anyone know a CGAL-like library with an iOS App Store-compatible open source license?


From the web-site it looks like it is available as a dual-license, GPL3+ and commercial?


Thanks, I didn't realise that. Unfortunately, I wasn't looking to charge for my app, so a commercial license isn't feasible for me. As far as I know, GPL3+ is incompatible with the iOS App Store, so that's out too.


Doesn't that depend on how much they charge for a commercial license? After all you're already paying for OS X and other tools?


Certainly, but they're charging €1000+, so it isn't really an option for me. I'll just re-write the parts I need. I'll just almost certainly do it worse, and it'll take more time, that's all!


Yes -- the images being drawn in the "3D" viewport are actually 2D bitmaps rendered directly from the f-rep then blitted to the screen (with a pixel shader that does proper depth culling on a per-pixel basis).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: