You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tutorial for OBJ supporting MD3 Tags For Attachment
Step 1: Open model_brush.c
Step 2: Copy the following code and press CTRL-V in appropriate place in Mod_OBJ_Load(model_t *mod, void *buffer, void *bufferend)
Step 3: Declare the int idx I didn't mention
Step 4:
@Baker7 Does one add the tagname lines manually to the .obj file or is it already supported by the editor/exporter?
Manually. OBJ files are text files.
Note: To self, release something with that helicopter in it so a working example is out in the real world.
Might add -- I have .mdl with attachments also ... you pick a specific triangle of the model and can make it an attachment point ... when the .mdl is loaded, the attachment data is generated for indicated triangles.
Tutorial for OBJ supporting MD3 Tags For Attachment
Step 1: Open model_brush.c
Step 2: Copy the following code and press CTRL-V in appropriate place in Mod_OBJ_Load(model_t *mod, void *buffer, void *bufferend)
Step 3: Declare the int idx I didn't mention
Step 4:
OBJS: The main one is helicopter_less_2.obj which uses "tagname propellor_rear 102.8 0.7 20.6" to indicate attachment point.
helicopter.zip
In QuakeC you have do something like:
Eventually I'll do a little QuakeC demo with the model.
The text was updated successfully, but these errors were encountered: