This project is under MIT license. You find it in file "LICENSE.TXT".
OpenGL Editor is my hobby project. Goal is to create fast and powerful tool for basic low poly modeling on Mac OS X and Windows. Project is currently in very early stages and many critical pieces are missing. Any ideas, help or wishes is welcome!
Modeling chess tower video on Objective-C++
Modeling chess tower video on C# + C++/CLI
Project is now also on Google Code as Subversion repository. Another goal is to make code more re-usable for other people to let them write their own editors with some basic framework.
If you have Visual Studio 2008 Standard, Professional or higher you can use CombinedEditorWindows.sln, thanks to Erwin Coumans.
Microsoft doesn't allow to mix C# and C++ projects in same solution in free versions of Visual Studio 2008. So I can't set project references right. To workaround this problem I have two solutions ManagedCpp.sln and OpenGLEditorWindows.sln. To keep things more complicated than it needs to be I have this build order:
- HotChocolate.csproj (C# dll - it is like Cocoa for .NET)
- HotChocolateTest.csproj (C# exe - showcase of HotChocolate)
- ManagedCpp.vcproj (C++/CLI exe, depends on HotChocolate, most code is here)
- OpenGLEditorWindows.csproj (C# project - executable, depends on ManagedCpp and HotChocolate)
So the steps are:
- Open both ManagedCpp.sln and OpenGLEditorWindows.sln
- Build All in OpenGLEditorWindows.sln
- Build All in ManagedCpp.sln
- Build All in OpenGLEditorWindows.sln
Now everything should be fine.
Just open OpenGLEditor.xcodeproj in Xcode and build all. It builds as universal binary x86_64 for Leopard 10.5 SDK. Works in Snow Leopard and Leopard. Unit tests needs Snow Leopard for Objective-C 2.1.
- Vertex, Edge, Triangle manipulation (translate, rotate, scale)
- Edge turning and splitting
- Vertex and mesh merging
- Merge vertex pairs (good for mirrored models)
- Cube, cylinder, sphere primitives
- Save and load (universal format for 32/64 bit versions across Mac and Windows)
- Solid and wireframe view
- Four views
- Ported to Windows (C++/CLI + C#)
- Full undo and redo support, currently unlimited
- Basic extrusion (⌘C or Ctrl+C in triangle mode)
- Issues on GitHub and Google Code
- Wiki documentation
I will change this to Maya like manipulation, but for now:
- ⌥ or Alt + middle mouse => Rotate world
- Middle mouse => Pan world
- Mouse wheel => Zoom world