i came accros one thread in htc mania where one guy is saying that he found cure for camera in ICS. in short he made back up in GB with titanium back up,then upgraded to ics and then restored those files with titanium and camera works normal.here is link
and after you download it you extract folder and copy those 5 files to phone folder titanium back up and restore camera apk and 3d camera apk and then restart mobile enter cwm clear dalvik restart phone and voila.sometimes it need one more reboot to work so if that be the case do it.
Link to original thread http://www.htcmania.com/showthread.php?t=781891
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?