Template for running DJM base mesh construction:
djm <input_mesh> <output_folder> <target_face_number> <average_subdiv_level> <max_subdiv_level> <max_normal_threshold> <max_jacobian_threshold>
Example for running DJM base mesh construction:
djm ./data/Armadillo.obj ./output 1 4 5 80 0.5
If you find our method useful for your research, please cite our paper:
@inproceedings{zhang2026djm,
author = {Zhang, Congyi and Vining, Nicholas and Lin, Yanhong and Khatami, Alireza and Sun, Ziyu and Guo, Xiaohu and Wang, Wenping and Sheffer, Alla},
title = {DJM: Compact Base Meshes for Displacement Mapping using Triangle Jacobians},
year = {2026},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
doi = {10.1145/3799902.3811145},
booktitle = {Proceedings of the Special Interest Group on Computer Graphics and Interactive Techniques Conference Conference Papers},
articleno = {162},
numpages = {11},
location = {
},
series = {SIGGRAPH Conference Papers '26}
}
This is built upon the Polygon Mesh Processing Library and the implementation of Micro-Mesh Construction.