We are just going into Beta with a commercial vertical market 2D/3D CAD application that uses OCC for 3D operations and a proprietary 2D drawing library. We want to allow our user community to share 3D models of their work on our social networking site and have investigated numerous 3D viewers that can run in a web page. We also looked at the e-Viewer from OCC and when we found the currently posted version was defunct we queried OCC and found they are offering an updated viewer in the near future.
After examining the licensing options and costs for the OCC e-Viewer and other viewers in the market we have decided to develop our own simple OCC based viewer and contribute it to the open source community. I’m starting this thread to encourage folks to contribute ideas and code to the effort. Once we have something that works we will create a project on SourceForge.net.
Our current implementation guidelines include:
- Use static linking to get the smallest footprint app possible.
- Eliminate environmental variables to avoid conflict with other OCC apps.
- Provide ActiveX and Plug-in versions to support a wide range of platforms.
- Focus on Windows platform for now as it’s easier to get the Active X done that way.
FWIW, our current commercial app uses static linked OCC libs and no OCC environmental variables. It is written in MFC and is pretty Windows centric. This has worked really well for us as our app is Windows specific.
OTOH, we have a lot of experience using Qt to develop cross-platform applications and it would be nice to develop a cross platform viewer using Qt. Any comments specific to Qt and web browser Active X controls and/or plug-ins would be welcome!
If anyone has successfully created ActiveX controls for IE and/or Plug-ins for the other popular browsers using any toolchain, please give us pointers on what has and hasn’t worked.
Please do not share e-Viewer code with us as this project needs to be independent of the OCC effort.
Let us know your thoughts.