This repository compares code generations from baseline GPT-4o with those created using the VoxelMapGPT-4o Assistant (powered by the Voxelmap-Python package).
The purpose of this project is to evaluate how GPT-4o performs when paired with a domain-specific assistant.
- Baseline (GPT-4o only): Relied on generic geometry libraries such as
trimesh. Results were simple, inconsistent, and often required retries. - VoxelMapGPT-4o (Assistant + Voxelmap): Defaulted to voxel-based modeling and produced structured, symmetric, and visually striking results, including layered cakes and coherent spacecraft.
These are the files created in the YouTube walkthrough:
📺 Watch the video here
.
├── space.py # Spaceship generated with VoxelMapGPT-4o Assistant
├── cake.py # Birthday cake generated with VoxelMapGPT-4o Assistant
├── baseline/
│ ├── cake.py # Baseline cake (GPT-4o only, first attempt)
│ ├── cake_shot2.py # Baseline cake (second attempt, still weaker)
│ └── space.py # Baseline spaceship (GPT-4o only)
- baseline/ → Code from regular GPT-4o without the assistant or Voxelmap
- root scripts → Generated with VoxelMapGPT-4o Assistant, using the Voxelmap package by default
- VoxelMapGPT-4o: Five layers, spiral frosting, checkerboard plate, symmetric candles
- Baseline GPT-4o: Stacked cylinders and spheres, much simpler
| VoxelMapGPT-4o | Baseline GPT-4o |
|---|---|
![]() |
![]() |
|
- VoxelMapGPT-4o: Fuselage, cockpit, wings, engines, and tail fin in symmetry
- Baseline GPT-4o: Random primitives, little structure
| VoxelMapGPT-4o | Baseline GPT-4o |
|---|---|
![]() |
![]() |
- VoxelMapGPT-4o produces symmetric, coherent, and creative geometry
- Baseline GPT-4o outputs are simpler and less consistent
- Even with retries, baselines did not reach the assistant’s quality
Install Voxelmap:
pip install voxelmapRun a script:
python cake.py # Generates a 5-layer voxel cake
python space.py # Generates a voxel spaceshipMeshes are exported as .obj and can be viewed with MeshView, Blender, or MeshLab.
With the VoxelMapGPT-4o Assistant, GPT-4o is capable of generating not only functional code but also richer geometry and more aesthetic 3D outputs. This repository highlights the contrast between baseline GPT code and augmented results when supported by a voxel-aware assistant.



