3D Models, UDB Warnings

Ask about editing graphics, sounds, models, music, etc here!
Shaders (GLSL) and SNDINFO questions also go here!
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
User avatar
LolaHThicc
Posts: 12
Joined: Wed Dec 10, 2025 1:08 pm
Preferred Pronouns: She/Her

3D Models, UDB Warnings

Post by LolaHThicc »

I have recently started implimenting very simple static 3d models into my game, and while my process isn't exactly efficient, it works well enough for me to use. One thing however is starting to become an issue is when i open a map with actors using the models in UDB, giving the following warning:
Error while loading "models\crate\box.obj": Error in line 40: vertex 1 does not exist
It doesn't impede on anything and they load correctly in game, but do not load in UDB's visual mode, and opening a map to the same errors every time is beginning to become cumbersome and annoying.

My experience in 3d modelling is extremely limited, I do have blender, but i barely know how to use it, so i ended up picking up picoCAD 2, not intending to use it for my game until i messed around with it. I used the '.obj' format which seems to be the only compatible format between them. I suspect the error is something to do with some wierdness with picoCAD in specific, but i honestly have no clue lol.

To cover my bases i'll provide the .obj of a crate model, which is literally just a 6 sided cube:

Code: Select all

# picocad model
mtllib box.mtl
o box
v -0.5 1.0078125 0.5
v 0.5 1.0078125 0.5
v 0.5 0.0078125 0.5
v -0.5 0.0078125 0.5
v -0.5 1.0078125 -0.5
v 0.5 1.0078125 -0.5
v 0.5 0.0078125 -0.5
v -0.5 0.0078125 -0.5

vt 0 1
vt 0.34375 1
vt 0.34375 0.65625
vt 0 0.65625
vt 0 1
vt 0.34375 1
vt 0.34375 0.65625
vt 0 0.65625
vt 0.6875 1
vt 0.6875 0.65625
vt 0.34375 0.65625
vt 0.34375 1
vt 0 1
vt 0.34375 1
vt 0.34375 0.65625
vt 0 0.65625
vt 0 1
vt 0.34375 1
vt 0.34375 0.65625
vt 0 0.65625
vt 0.6875 1
vt 0.6875 0.65625
vt 0.34375 0.65625
vt 0.34375 1

usemtl box.mtl
s off
f 4/4/1 3/3/1 2/2/1 1/1/1 
f 7/8/2 8/7/2 5/6/2 6/5/2 
f 1/12/3 2/11/3 6/10/3 5/9/3 
f 8/16/4 4/15/4 1/14/4 5/13/4 
f 3/20/5 7/19/5 6/18/5 2/17/5 
f 8/24/6 7/23/6 3/22/6 4/21/6 
Any input is appriciated, Thanks as always x

Return to “Assets (and other stuff)”