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

    • DeTeEff

      The best thing about not mapping more than like every other year is the awesome feeling to see how far TDM has gotten in all appartments. I can just create some parallaxing cobblestones and walk to and fro and just let the jaw drop
      · 2 replies
    • Ansome

      Happy Halloween, TDM folks!
      · 1 reply
    • Acolytesix  »  nbohr1more

      Hey, was trying to use the TDM_Update.exe file, but when I do it doesn't do anything! It just goes back to 2.12. I'm trying to run Luitenant 4, but it won't update, so I can't play it. What am I doing wrong?
      · 2 replies
    • The Black Arrow

      Been away for quite a long time, didn't have much free time sadly, but the little that I had I was able to play a Romhack for Ocarina of Time called "Sands of Time".
      It's great, fun, rather hard but too but I like it (except when it's way too tedious, only some parts are, not all of them)
      Although the reason I'm sharing this is...Listen to the music, I've timestamped it to 27:56, it's titled "Memories Lost".
      Doesn't it sound so serene, so melodic...So Thief-like? It's fantastic, I love it, it reminded me of Thief and how much I want to get back to it, so hopefully this month or the next, I will have a lot of free time to play it.
      I can't wait to try that new big Thief campaign, The Black Parade, it seems to be promising.
      No spoilers please, but can someone tell me if it has horror elements? Or better yet, horror mission...Or even missionS?
       
      · 1 reply
    • STiFU

      Just managed to get the true ending of Silksong. I am really happy the true ending wasn't as hard to get as the one in its predecessor, which I never managed to achieve. 😄 Awesome game! Loved almost every bit of it.
      · 1 reply
×
×
  • Create New...