lawadr / gridiron Goto Github PK
View Code? Open in Web Editor NEWAn OGRE-powered map editor for the rapid creation of large 3D grid-aligned environments
License: MIT License
An OGRE-powered map editor for the rapid creation of large 3D grid-aligned environments
License: MIT License
Right now, all 3D widgets inherit from OgreWidget, a bare-bones integration class that wraps an Ogre::RenderWindow inside a QWidget. This is adequate for highly specialised or simple widgets, but for something like MapView, containing multiple geometric objects each needing custom behaviour (context menus, drag & drop, selection), there needs to be another layer to facilitate this in a general way.
Qt features a graphics view framework that separates scenes (QGraphicsScene) and views (QGraphicsView), allowing multiple views to show off different parts of the same scene in a similar way to the Qt's model/view framework. Scenes are made up of scene items (QGraphicsItem). Many events are forwarded from the view to the scene and into the item underneath the cursor, allowing items to have customised behaviour through subclasses.
Creating an equivalent for 3D scenes would bring about many benefits. The MapView class would become a small subclass of the view class. The Tool classes could become virtual scene items with infinite bounds (to receive all events before anything else), or otherwise stay as modes of MapView. Individual clickable items (map objects) would be represented as scene items, completely obsoleting the hacked together MapGeometry class and streamlining additions and modifications to the way geometry can be interacted with.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.