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

    • taaaki

      The post editor for the dark themes should be working again. Apologies for the inconvenience.
      · 1 reply
    • jaxa

      Talk GabeCube:
      https://forums.thedarkmod.com/index.php?/topic/18055-2016-cpugpu-news/page/39/#findComment-508710
      · 3 replies
    • The Black Arrow

      Things have been so bad these days for me...
      Just a year ago, I've been feeling dizzy, I thought it was nothing, today's stress, that type of thing, went to sleep...Still dizzy! 9 more days dizzy, went to doctor (I would have gone on the first day if NOT for the long appointment time)
      Said it may be Neck Dizziness...I did exercises for 6 months, no changes.
      Went to a Physical Therapist, went to another, no changes.
      I've asked my doctor for a full check this time.
      I hated yesteryear so much due to personal reasons, this year might be the same.
      To be brutally honest, I'd rather have cancer or/and chronic pain than suffer dizziness any second longer, especially when nothing helps.
      Hard to enjoy Thief when you're dizzy so I was hoping this year, Winter will be best for me.
      · 7 replies
    • JackFarmer

      Hello mappers and taffers! 

      Are you still out there? It is so calm here these days and I am afraid this is no good sign.
      Proof me wrong, tell your best friend (=me), that you are still here and that you will not go away!
      · 7 replies
    • JackFarmer

      Happy Labour Day, my taffing taffers & hard working mapping friends!
      And remember the poor souls who, within the Inventors’ organization, labor under Jonus’s yoke to ensure the success of that very guild! Always remember the hard workers!
      · 2 replies
×
×
  • Create New...