From: Andreas K. <and...@we...> - 2004-11-18 12:45:58
|
Hi! I've committed some stuff to the CVS repository yesterday: * The sampling class (already sent as a patch). I moved it into the utils directory as suggested * The GLUT output class. I put it into a new "extras" folder and didn't include it into the ray++.cxx * A new template class IMAGE (image.h in the utils dir). Currently only used by GL_OUTPUT. Right now it can handle 24bit and 16bit RGB images (origin and row alignment can be specified) but it is easy to add new pixel formats. Also has a routine to save to TGA. * I added triangle_mesh.cxx to ray++.cxx Next things I want to do: * Enhance IMAGE: add floating point pixel format, add RGBE pixel format (Greg Ward's 'Real Pixels'), add save routine for HDR format (high dynamic range format used in Radiance) * Write IMAGE_OUTPUT class that can render to given IMAGE instance (and probably makes MEM_OUTPUT obolete) * Add more sampling strategies (Quasi Monte Carlo and adaptive methods) and testing programs for it * Add kd-tree template class (at least 2D and 3D), probably two versions optimized for dynamic (you can at least add new items) and static use (build once, then provide fast queries) BTW: I posted a request for a statistics/profiling helper class. See http://sourceforge.net/tracker/index.php?func=detail&aid=1047598&group_id=119265&atid=683483 Does someone already have something like this? Hope everything works like expected... :-) Andreas |