I don't see any source in the file.
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.
Thanks. Pretty confusing site that sourceforge.
I get 'Left side cannot be assigned to' in pngimage.pas line 2769:
Replacing pChar with pAnsiChar in whole file helps.Code:Byte(Dest^) := fOwner.GammaTable[pByte(Longint(Src) + 2)^]; inc(Dest);
Need also to comment out the third line
To get it working. After that compiles nice on Berlin 10.1Code:InitOpenGL; ReadExtensions; // ReadImplementationProperties;
Last edited by Thyandyr; 22-10-2017 at 06:18 PM.
So, I ported the application to Lazarus this morning as I didn't feel like reinstalling Delphi on my home computer just to test it out.
I've attached a zip file with the complete project source folder if anyone else using Lazarus wants to build it themselves.
Just so no one gets confused: this version uses FPC's ZStream unit and built-in PNG handling classes, so I didn't include any of the ZLib object files or PNG-related units from the original repository as they're no longer used at all. Also, FPC/Lazarus obviously doesn't use or need FastMM, so I didn't include those files either.
Lastly, @Jimmy: Feel free to take this version of the code and make a separate Lazarus tree on your SourceForge page, if you want.
Last edited by Akira13; 22-10-2017 at 11:24 PM.
That was fast
Uploaded: https://sourceforge.net/projects/del...XEL_1.3.2_FPC/
Great!
Not so confusing as GitHub is.
I'm serious. I don't know why GitHub is so popular (except that SF had problems in the past) because it is a mess. I have problems finding my own branches! Anyway I don't want to start a war, so use whatever you are comfortable with.
Last edited by Ñuño Martínez; 24-10-2017 at 11:09 AM.
No signature provided yet.
A new version (1.4.1) is available.
Downloads: https://sourceforge.net/projects/del...D_VOXEL_1.4.1/ (Windows Executable & full source code)
New features:
* Low level multithreading functions.
* Edit front, back, left, right, top and down views as a 2d plane.
* Crop heightmap & shrink heightmap functions.
* Elevation tool.
* Voxels can now have any size from 1 to 256.
* Create backup files while saving.
* File menu history.
A new version (1.5.1) is available.
Download: https://sourceforge.net/projects/del...D_VOXEL_1.5.1/ (source code and Windows executable)
This new version add an option to easily create sprites from a voxel.
Sprites are exported in 8 or 16 angles, as PNG images inside a PK3(ZIP) file.
Everytime I see an update here, I wonder to reboot my old voxel engine. I'm sure Thyandyr's one is great, but I prefer a more classic approach.
No signature provided yet.
Bookmarks