Hi,
I have made a small program that can be used to embed 3D models directly into DSJ4. It's written in C# and includes no magic - it generates DSJ4 compatible XML file with <3dmodel> tag. Above you can find the example effect.
How to use?
1. Download .rar file and unzip it
2. Place the DDDSJ4 folder somewhere (ie. on Desktop)
3. Run
Code: Select all
cmd.exe
4. Navigate to directory where you put DDDSJ4 folder using
Code: Select all
cd <directory>
Code: Select all
DDDSJ4.exe <file.obj> <file.mtl>
I have put example files cessna.obj and cessna.mtl, so you can quickly test the program. Generally, you have to include .obj and .mtl files that you can create by yourself ie. in Blender or find them in the internet.
Drawbacks
1. Faces definition must contain exactly three values. If you have more than three, use Blender and triangulate your model
2. I haven't found a way to include textures in a reasonable way
3. Windows Defender service could consider the program as unsafe, it's false positive
4. There are many files inside the DDDSJ4 folder, they are all needed to run properly without having to install additional softwares
Links
Download: https://www.mediafire.com/file/1alh7wdy ... 4.rar/file
Source code: https://github.com/Mensix/DDDSJ4
Contact me in case of any problem.