Jump to content
The Dark Mod Forums

How to do Scaling Too Stealthy


Recommended Posts

Background: I'm building my first TDM game under Win10 with DR, and used Springheel's vids to learn basics (since Great Site Crash of June 2019 made other info inaccessible until recently). I've worked with other IDE's in past *cough Unity*.

In DR, I was having difficulties scaling up standard models, e.g., grammaphone. DR's Modify->Transform and Scale menu always had the scaling menu grayed out. I made some headway using the rotation matrix's XYZ values (a deprecated method), but with the game-time anomalies others had reported (to lighting and presumably collision model) or didn't report (rendering stops prematurely on scaled-up objects at periphery of player's vision).

Finally, I discovered a forum post that mentioned the Model Scaler, which solved the anomalies. Yeah!

But further thoughts as a DR newbie:

1) How come wiki.thedarkmod has NO mention of Model Scaler at all? Nor the major forum posts about scaling? There's really a need for guidance in wiki about when to use Modify/'Rotation and Scale' versus Rescale versus Model Scaler. (I'm willing to write a page if you help me know best scaling practices.)

2) If that info is in some video (appreciate pointer to it), here's a more general task suggestion: consider getting video transcription software, apply to each important vid and post to wiki web pages, so full-text search can find info.

3) The use of Model Scaler doesn't evidently changed the rotation matrix values (seen in Entity viewer).  So it's changing some undocumented spawnarg? I need to be able to scale models by a fixed amount but can't control or even see that value... nor revert to unscaled (other than undo).  Maybe I don't know where to look. Or the scaling factor's not retained because model edges are just resized and the original sizes forgotten?

4) Could (3) be is a feature request? Show a tooltip saying, e.g "2.763 x" as Model Scaler handles are moved.

Otherwise, DR is working well for me, game builds fine. Exploring behavioral aspects now. Thanks.

Geep

Link to comment
Share on other sites

I don't use the model scaler much, but one major thing to note is that it doesn't work like in other game engines, i.e. unity or unreal. This isn't just a translation tool, it saves every scaled model as unique one. And it also works in a different way than in other game engine, or in modeling software. It scales models in relation to the selected grid.

Link to comment
Share on other sites

The model scaler is relatively new--I think from the most recent DR version--which is probably why there isn't much documentation about it.

Link to comment
Share on other sites

I can write a stub description in the wiki. I tried to log in to the wiki with my forum credentials (so I could create a new page), but they weren't honored. Are wiki login creds separate from forum creds. Or is wiki login not working?

Link to comment
Share on other sites

Springheel or other wiki admin -

Attached is the proposed page content (but not yet wiki-formatted). If the contents look OK, please create the page for me to complete. Proposed page title is

Rescaling Models with Dark Radiant's “Model Scaler”

Probably I can complete the page formatting as a guest, save the access grant to the future.

thanks

Model Scaler.txt

Link to comment
Share on other sites

Thanks, Springheel, grayman. Unfortunately, it appears that it's not true that one can edit the wiki without logging in... and forum credentials (as discovered earlier)  don't cover logging in at the wiki. Could someone please create me a "Geep" wiki account with editing privileges? Thanks.

Link to comment
Share on other sites

Understood. Makes it hard to complete format tweaking, though, which is generally an iterative process for me. (Ideal system would be some forum sandbox to post and refine wiki page previews. Don't really expect that.)

I guess I can further format the wiki source blind and attach the suggested revised version here. Is that the best approach?

Link to comment
Share on other sites

OK, here's a revision. I promoted grayman's addition into it's own section, corrected the bullets and links, tweaked the headings, verbiage, & italics a bit. As I mentioned, the reformatting was done blind.  Please review, fix any remaining bloopers, and update http://wiki.thedarkmod.com/index.php?title=Model_Scaling

Thanks

Model Scaler v2.txt

Link to comment
Share on other sites

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

    • Ansome

      Finally got my PC back from the shop after my SSD got corrupted a week ago and damaged my motherboard. Scary stuff, but thank goodness it happened right after two months of FM development instead of wiping all my work before I could release it. New SSD, repaired Motherboard and BIOS, and we're ready to start working on my second FM with some added version control in the cloud just to be safe!
      · 1 reply
    • Petike the Taffer  »  DeTeEff

      I've updated the articles for your FMs and your author category at the wiki. Your newer nickname (DeTeEff) now comes first, and the one in parentheses is your older nickname (Fieldmedic). Just to avoid confusing people who played your FMs years ago and remember your older nickname. I've added a wiki article for your latest FM, Who Watches the Watcher?, as part of my current updating efforts. Unless I overlooked something, you have five different FMs so far.
      · 0 replies
    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
×
×
  • Create New...