grking / zoxel Goto Github PK
View Code? Open in Web Editor NEWA cross-platform editor for small voxel models.
Home Page: http://zoxel.blogspot.co.uk/
A cross-platform editor for small voxel models.
Home Page: http://zoxel.blogspot.co.uk/
Zoxel A cross-platform editor for small voxel models. Copyright (c) 2013-2014, Graham R King. http://zoxel.blogspot.com This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Hold down the mouse button and move around to paint continuously.
Needs some free to use icons for the UI.
They are a bit intense at the moment...
The Zoxel file format supports multiple frames for animation, implement this so we can actually edit multiple frames.
Support different tools for drawing. Initially:
Refactor the tool hack so tools can actually do something more useful than just be "activated".
Prerequisite for tools such as filled rectangles, solids, selections, etc.
I tried exporting the OBJ file to 3ds max, blender. Both of them show some other colour shades different from what i did in Zoxel. Example I made a skeleton monster, fully white and import into 3ds max, some of the cube are grey in colour even though i did not use any grey at all. Same goes to other colour.
Mouse wheel zooming is non-linear, this becomes painful if we zoom in a lot...
If often need to move our model around within the voxel space. Add a tool so we can just drag the whole thing around.
On the second fill, if we miss all voxels and intersect with the floor grid, we crash.
Automatically determine the bounding box for the current model, and optionally display it.
Aptana Studio ignores the option to automatically strip trailing whitespace on save. As such, we have a ton of trailing whitespace.
Fix all trailing whitespace in one single clean-up hit.
Whenever a models dimensions are set, keep this setting as the default for new models.
When auto-expand is active, adding voxels causing them to be misplaced sometimes.
"Too many values to unpack" error. Must have been broken with recent changes.
Allow changing of the background colour of the 3d display.
Allow manual setting of the grid size (i.e. model dimensions).
Now we have all axis aligned planes (not just floor) we shouldn't refer to the "floor grid".
Right mouse currently rotates, this means it can't be used for anything else.
Change bindings to be:
right-mouse + CTRL: rotate
middle-mouse: rotate
middle-mouse + CTRL: translate
We shrink the grid automatically to match the bounding box of the model on file load. Fine, but we need to auto-expanded it if required as we edit the model.
Add the possibility to the user manage his grids via the Qt interface.
Create some kind of table with the following columns: GridName, Plane, Offset, Visible, Color and Colision (Indicates ;
Let the user choose to add or remove new records to this table and also to modify the values of the columns. Then, reflect those changes to the scene.
Tool palette to choose voxel colour.
Dragging the model to translate it feels unintuitive because the calculations are done in only 2D. We need to consider where the user is dragging in 3D to get proper behaviour.
Too easy to draw accidental voxels
We could overlay a subtle grid texture to make individual voxels stand out a bit more.
Support Sproxel CSV import.
Grid colour follows the palette colour selection.
The grid is re-scaling properly, but the distance from the other grid is not correct.
So we have left-button draw, right-button erase.
When a Zoxel model is opened we completely ignore the model dimensions and auto-detect a bounding box.
Don't do this.
If we're trying to create models of specific dimensions the last thing we need is Zoxel overriding that decision. We have a "Detect Bounding Box" feature already, it should be optional to use it.
Allow export of our mesh to OBJ format for easy import to other software.
Add some standard functionally menu items:
On Windows default Open/Save file format is Zoxel. On Linux it's Sproxel. It should be Zoxel on all platforms.
Probably should be able to toggle the grid on the voxel models on and off.
When the voxel space expands along the Z axis, the Z grid plane doesn't move with it.
This is because it's offset is set relative to 0, so as the depth increases the grid never knows about it.
Could make the Z plane grid offset relative to "depth" rather than zero....
Display is a bit... bland. Add basic ambient occlusion approximation to make things look a bit more funky,
It's really annoying if you are editing lots of little models that you have to navigate to the folder you're working in every single time!
It's easy to get lost...
As reported by Adam Houston
I have opened a csv file I made in Sproxel and have found I'm unable to create a usable csv in Zoxel to use elsewhere. I have tried to open the csv file created by Zoxel with a few different programs with varied results but none opening properly, I had a look and each line seems to be adding a L onto the end. As an example Zoxel has #47535BFFL in the field Sproxel has #47535BFF. The Sproxel save will open in other software.
Probably should commit the script used to generate the Windows installer.
Currently, there is only collision with the bottom grid. Make it possible to collide with the new grids, if checked to do so.
The current palette is fine if you don't want an exact colour, but if we're after a specific RGB value it's not so great.
Add a toolbar icon to open a standard colour picker, just like we have for the background.
As suggested in #34
We need a filled rectangle tool.
This should be an option in case we need a specific size model.
Support export using sproxels CSV format.
It would be interesting to show other grids for the X and Z planes too.
We might want to save a model which doesn't have the full width/height/depth of the models dimensions used, and preserve this across file saves.
Found this bug on v0.3.1 Windows Installer version.
Also, is there anyway to choose color by RBG value? I think the palette in the background color setting is better than the palette on the side bar. It is too hard to pick the color on my existing sketch.
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.