Page 1 of 3 123 LastLast
Results 1 to 10 of 29

Thread: My voxel editor

  1. #1

    My voxel editor

    Title say it all.
    A simple voxel editor I wrote some weeks ago, upgraded last few days to import kvx files (the build engine voxel format). This project started as a help tool to my future plans about supporting voxels into the DelphiDoom engine, but can easily fit to other needs.
    Simple interface, multiple undo/redo, with simple editing, just like a basic paint program (select a level on xy, xz or yz and paint with the mouse), you can also import images into current editing level and also rotate it.
    Main window is splitted in 2 panels, left is 2d drawing of the current level, right is the 3d preview (along with a grid to indicate which level is currently in edit mode).
    Saves in it's own file format (readable ascii), you can easy change it to save some other (binary) format.

    Executable and full source code: https://sourceforge.net/projects/del...-voxel-editor/



    Last edited by Jimmy Valavanis; 14-11-2018 at 12:36 PM. Reason: Update lost image links

  2. #2
    hey thats looking neat, will give it a test soon

  3. #3
    Nice work.
    No signature provided yet.

  4. #4
    qtintf70.dll is missing

  5. #5
    Quote Originally Posted by laggyluk View Post
    qtintf70.dll is missing
    Fixed, thanks!

  6. #6
    nice, i'd suggest adding 2 buttons for scrolling up and down z-levels

  7. #7
    A new version (1.3.1) is available.

    Downloads: https://sourceforge.net/projects/del...-voxel-editor/ (Windows Executable & full source code)

    New features:
    * Heighmap and terrain importing
    * Copy/Paste front, back, left, right, top and down views
    * Optimized OpenGL rendering (using technology from DelphiDoom's OpenGL renderer)

    For Pascal Programmers:
    Inside the vxe_mesh.pas file you can find the TVoxelMeshOptimizer class.
    This class will optimize a (naive) voxel buffer (a plain 3-dimentional ARRAY - declared at voxels.pas file) to an optimized mesh structure (use the LoadVoxel() member function).
    Then the mesh structure can be rendered with the RenderGL() member function.



    Screenshots:







    Last edited by Jimmy Valavanis; 14-11-2018 at 12:38 PM. Reason: Update lost image links

  8. #8
    I don't see any source in the file.

  9. #9
    Quote Originally Posted by Thyandyr View Post
    I don't see any source in the file.
    Go here:

    https://sourceforge.net/projects/del...D_VOXEL_1.3.1/

    You'll see there's two files, one with the binaries and one with the source.
    Last edited by Akira13; 22-10-2017 at 03:37 PM.

  10. #10
    Quote Originally Posted by Akira13 View Post


    Go here:

    https://sourceforge.net/projects/del...D_VOXEL_1.3.1/

    You'll see there's two files, one with the binaries and one with the source.
    Thanks. Pretty confusing site that sourceforge.

    I get 'Left side cannot be assigned to' in pngimage.pas line 2769:
    Code:
    Byte(Dest^) := fOwner.GammaTable[pByte(Longint(Src) + 2)^]; inc(Dest);
    Replacing pChar with pAnsiChar in whole file helps.

    Need also to comment out the third line
    Code:
      InitOpenGL;
      ReadExtensions;
    //  ReadImplementationProperties;
    To get it working. After that compiles nice on Berlin 10.1
    Last edited by Thyandyr; 22-10-2017 at 06:18 PM.

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •