AlloSphere-Research-Group / AlloSystem

AlloSystem is a cross-platform suite of C++ components for building interactive multimedia tools and applications.
http://mat.ucsb.edu/allosphere/software.php
BSD 3-Clause "New" or "Revised" License
65 stars 22 forks source link

Quarantine deprecated files #38

Open DrewRWx opened 10 years ago

DrewRWx commented 10 years ago

While studying AlloSphere rendering I ran into _alWarpBlend.{c,h}pp which appears to be a previous incarnation of _alOmniStereo.{c,h}pp. After some grep-ing, I found that nothing in AlloSystem depends on it, but two of our AlloSphere pieces (mchb, nanomed) require it.

Since AlloSphere projects that aren't in our regular demo lineup may require it, I suggest moving it into a "deprecated" folder and creating a relative symlink at the correct location. The catch is that git supports symlinks, but msysgit does not.

Are there any other (current) files we can cull in a similar fashion?

LancePutnam commented 9 years ago

I suggest deprecating the following in alloutil: al_FPS.hpp: I believe the Window fpsAvg method is doing basically the same thing.

al_FrameBufferGL.hpp: Seems most of this functionality is already in the allocore FBO and RBO classes. The enter and leave methods seem useful, but also make a lot of assumptions about setting matrices, clearing buffers, etc.

al_Navigator.hpp: Seems basically the same as a SmoothPose or Nav.

al_OverlayTextGL.hpp: I believe this is already handled by Font::render (or could be added).

al_TextureGL.hpp: TextureGL is a subset of Texture. CubeMapTexture, however, has extra stuff not in Texture. I suggest removing the TextureGL class and renaming the file al_CubeMapTexture.hpp.

Also: al_Field3D.hpp actually contains a fluid solver which is not obvious from the file name. I suggest calling it al_Fluid.hpp or similar.

al_VCR.hpp: Similar issue as above. I didn't realize this is actually a real-time render-to-disk class.