Jump to content
The Dark Mod Forums

Recommended Posts

  • 2 months later...
Posted

I've opened a ticket to ask for .obj model render support to be added to DR so this can catch on better. Support for a universal model format is very significant when obtaining models from online repositories.

On 10/23/2022 at 8:39 PM, stgatilov said:

Should we support referencing part of OBJ file as model in TDM map? Is it common to export several LODs into one OBJ?

I'm not sure - the ideal would be if models automatically switched to LOD versions if any are available, and if the stages are in the same file this would be easier to achieve. But I think it's still going to require entityDefs with hand-calibrated distance values.

Could still be convenient, the same way how having the shadowmesh and collisionmesh in the same model file is more convenient than having a _cm file somewhere nearby.

Posted

OBJ does not have anything like LOD info in the format.
It only allows aplitting geometry into groups/objects of different names.
Putting all the LOD settings into OBJ is barely possible.

Maybe it is possible to use defaults in such case, but wouldn't it be better to implement some Blender export or DarkRadiant import for such case (i.e. that would create entityDef automatically) ?

  • 2 years later...
Posted (edited)

I managed to work out the obj workflow for 3dsmax exporter -> TDM, but there are a few problems I've found.

1) It seems like TDM parses comment lines as normal lines, e.g. it complains about newline characters or dots in dates, e.g.:

# 3ds Max Wavefront OBJ Exporter v0.97b - (c)2007 guruware
# File Created: 13.03.2025 12:15:16

mtllib column01_96.mtl

#
# object column01_96
#

results in an error:

Clipboard_03-13-2025_01.thumb.jpg.ea9972ca7f30cac16b641643159efe81.jpg

The error goes away and the model is loaded correctly when I delete that whole section, so the file starts with just vertex(?) coordinates.

2) Even after getting exporter settings right in 3dsmax, models have no collision ingame. Regenerating .cm and .proc files didn't help.

I'm on TDM 2.12 btw.

Edited by Guest
Posted
On 3/13/2025 at 10:45 AM, peter_spy said:

I managed to work out the obj workflow for 3dsmax exporter -> TDM, but there are a few problems I've found.

I think I see both issues in the code.
Created 6610, will fix shortly after 2.13 release.

  • Thanks 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • opnode  »  STiFU

      Saw you username pop up, just wanted to say thanks for your recent commits :3
      · 0 replies
    • Petike the Taffer

      I've updated all of the Fan Mission documentation on our TDM wiki. As I've gone to the trouble of documenting every officially known fan mission, we currently have a total of 192 missions (the vast majority of them Single Missions, and a few done in the format of a Campaign). Maybe I should get working on my own again, soon, just to add something to the approaching first two hundred. 
      · 0 replies
    • demagogue

      I saw a let's play video with the indicator that pops up showing the direction for AI barks. This for the record. I hadn't looked into it before and wanted to now, but search terms weren't helping me find info on it in the forum. Could anyone drop a link to a thread or post on it?
      · 2 replies
    • Petike the Taffer

      I think I still have the login details for the Google Account used to log in to The Dark Mod's official YouTube channel. With all the new videos that have been done regarding 2.12 and 2.13, it really feels like it's time for an update. I don't know if logging into another account is going to work, as I've had some issues with it in recent times, but If I manage to do so, I'll do some updating regarding the newer videos.
      · 0 replies
    • The Black Arrow

      New Year Plans:
      Play Thief Gold
      Play Thief 2
      Play Thief 3
      Play Thief Gold...To play "The Black Parade"
      Finally, eat Velvet Cake and...Play The Dark Mod, wooeey!
      · 6 replies
×
×
  • Create New...