Jump to content
The Dark Mod Forums

Search the Community

Searched results for '/tags/forums/importing models into dr/' or tags 'forums/importing models into dr/q=/tags/forums/importing models into dr/&'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General Discussion
    • News & Announcements
    • The Dark Mod
    • Fan Missions
    • Off-Topic
  • Feedback and Support
    • TDM Tech Support
    • DarkRadiant Feedback and Development
    • I want to Help
  • Editing and Design
    • TDM Editors Guild
    • Art Assets
    • Music & SFX

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

  1. edit: TL;DR: I've tweaked the .lwo exporter to preserve autosmooth angle Ahem. When I started writing this post a couple of days ago, it was supposed to be a "please help me, models won't smooth" kind of thing, but as I started taking screenshots and such for a comprehensive view of the problem, the question morphed into a "is there a hack to get .lwo's to export the way .ase's do", then to "how to get the same surface smoothing from Blender as you can get from Lightwave" and eventually to "does anyone around know python and blender enough to fix the export plugin". But then I fixed the addon myself, so it was almost as if there's no point to the thread. However, while googling around for a solution I stumbled upon a whole bunch of incomplete (1,2) or outright wrong (1,2) information, and whenever the question came up the issue was never really resolved completely. That might be because the problem isn't obvious, since a lot of exported models will actually end up correctly smoothed on export, leading one to believe wrong shading in rare cases is due to modeling mistakes / bad shadowmesh / etc. Point is, having the definitive .lwo smoothing post seems useful. Identifying the problem: Here's the mesh. I add an 'edge split' modifier (I use sharp edges while modeling the low poly, so I can uncheck the 'edge angle' option). I can now apply the modifier(s) and export to .ase (triple the mesh either in export options or in modifiers beforehand). The .ase looks alright in-game: Now I'll export it to .lwo using this script. Depending on export options, here are the results: If I also check "remove doubles", I'll lose all of the split (sharp) edges: (recalculating normals on export can be unpredictable as well, so clean up the model beforehand instead) Right about this point I start searching for a solution online, stumble upon this and try the renderbump hack. However, all it seems to do is weld all of the vertices back together at runtime and attempt to smooth the whole surface, similarly to "remove duplicates", but with no upper threshold. (to anyone possibly reading this in the future: don't forget to revert your changes to the materials!) Source of the problem: At this point I still wasn't sure if it's even possible to get .lwo's identical to .ase's, so I installed Lightwave. Naturally, it took some time to eventually stumble upon Surface Editor (F5), and the "smoothing threshold" contained therein. But then I just had to crank it up to 180 and export to "LWO2". That fixes everything in-game: So the issue is trivial, I just have to find a way to somehow pass on a smoothing angle through the exporter. However, the "auto smooth" option on the object data tab doesn't seem to affect anything regardless of angle. Long story short, after some hex-comparison magic, I home in on SMAN block in the exporter script: So what it actually does is set your smoothing angle to either 90°, 86°(??), or 0°, depending on whether you've chosen "idtech compatible", "smoothed", or neither. The solution: Now, I don't know Python and I don't know Blender scripting, so I can't say with full certainty that I didn't break anything. But I did cobble together a version of the script that seems to do the job. Here it is, mirror / do whatever you want with it. If your mesh has autosmooth enabled, and you've checked "idtech" or "smoothed" on export, your chosen autosmooth angle will now transfer to the surface in .lwo: I took the liberty of changing the default export options to what seems to suit TDM the best, you can just open the script in notepad and edit them to your taste. Wrapping up, there are still some mysteries I didn't solve, such as "idtech compatible" models taking up only half the size of models exported otherwise (including from Lightwave itself), there doesn't seem to be any visible difference in-game, at least in TDM. That "1.5 radian" in the code still makes me scratch my head. And I still don't know if the 4-8x size savings over .ase matter for in-game memory at all (but at least I know I won't have to edit the *BITMAPs manually anymore). Even after all this, the .ase still has just slightly better shading, but since the outputs of the exporter and Lightwave itself are now identical, seems safe to say it's as good as it gets.
  2. Is there something wrong with the forums lately, or is it my browser? I've been having trouble formatting posts, and just now I couldn't format anything at all.

    I'm using Vivaldi.

    Usually I have to: select text, click bold, nothing happens, select again, click bold, then it works. 

    Same for other stuff, like creating spoilers, bullet points, links. Nothing works the first time. 

    1. datiswous

      datiswous

      I have no problem. I use Firefox. @Zerg Rush also uses Vivaldi. Have you tried without extensions, or in another browser?

      (btw. bold, italic and underline have shortcut keys: Ctrl B, Ctrl I and Ctrl U, you could try that)

       

  3. Would someone be willing to help adjusting some of the following mapping and model issues and suggestions? Mapping: * 0006364: Ladder cuts into the arch and the northern door when door is opened (https://bugs.thedarkmod.com/view.php?id=6364) * 0006365: Ladder in the wood shed cuts into a barrel (https://bugs.thedarkmod.com/view.php?id=6365) * 0006366: Clouds in the sky do not move in Tears of St. Lucia (https://bugs.thedarkmod.com/view.php?id=6366) * 0006374: Chandeliers in church hall (https://bugs.thedarkmod.com/view.php?id=6374) * 0006396: Return check is too sensitive (https://bugs.thedarkmod.com/view.php?id=6396) * 0006376: Wrong trigger for the hint about the hammer (https://bugs.thedarkmod.com/view.php?id=6376) * 0006395: Wall of church grounds unfinished (https://bugs.thedarkmod.com/view.php?id=6395) * 0006423: Graft map A New Job and map Tears of St. Lucia (https://bugs.thedarkmod.com/view.php?id=6423) * Training Mission, room Archery: Walking on the stone path outside the shooting range sounds like walking on grass. Floor in tower sounds OK. (-225.92 -807.79 240.29 32.6 -146.3 0.0) Models: * 0006373: Failure to pick lock of chest (https://bugs.thedarkmod.com/view.php?id=6373) * 0006375: Locked doors have no keyholes (https://bugs.thedarkmod.com/view.php?id=6375) * 0006381: Issues with model fence around the pulpit (https://bugs.thedarkmod.com/view.php?id=6381) * 0006382: The depth of the seats of the benches are too narrow (https://bugs.thedarkmod.com/view.php?id=6382) * 0006397: Some banners with builder symbol look sqashed narrow (https://bugs.thedarkmod.com/view.php?id=6397) The following are listed as authors of the mission: * Original map: Jdude * Story: Springheel * Additional mapping: Springheel, Fidcal, Bikerdude, Greebo, datiswous (not listed), JackFarmer (not listed)
  4. I created two walls: both have a base brush that is 128 x 128, and 4 units thick. One of the brushes, however, has a little bit of decor that sticks out another 4 units. Later on when I was working on my map, I cloned a model, moved it 128 units, and then changed it's model. However, when changing it from the wall with decor to the wall with no decor, it proceeded to shift itself 2 units forward. I thought maybe it had to do with what grid size I had saved/exported the model as, but adjusting that did nothing. And the models are both aligned together. This is the only model I've had do this. What is causing this?
  5. I got just a tiny bit into this "Mystery Song" thing and found an amazing song that funnily enough reminds me just a tiny bit of Thief, it's only because I miss playing it but I hate playing games during Summer. Check it out (and yes, I love that album cover, too!):

     

    1. datiswous

      datiswous

      Quote

      "Mystery Song" thing

      ???

    2. The Black Arrow

      The Black Arrow

      Apparently, some songs are unknown so they're part of the "Mystery Song" trend, the reason why is because there's very little to no info about them, some like Johan Lindell have been found out, but others like this are still unknown:

       

  6. Why do we see people selling fan art and models from games online? How and why do they not get ripped a new one by publishers? I mean there are some companies who just sit on franchises and do nothing with them; they tend to be the most litigious, while more active ones who have actually made good games in the last 15 years seem to ignore it? I guess sitting around, hoarding franchises and not developing games all day means you have more time to go after fans. :) But still, I do feel that profiting off of someone else's work without their permission is wrong.

    1. jaxa

      jaxa

      It's difficult/expensive to police, might not be competing with the actual product, and alienates fans who are giving free advertising to the works. It may be in a legal gray area if trademarks aren't used.

    2. jaxa

      jaxa

      Using Nintendo as an example, they tend to go after emulators, unauthorized ports, and fan games. They aren't as likely to go after fan art. There was a recent DMCA request sent to SteamGridDB, but that was more like reworked box art, I assume used for emulator GUIs:

      https://arstechnica.com/gaming/2022/11/nintendo-goes-after-fan-made-custom-steam-icons-with-dmca-takedowns/

    3. SeriousToni

      SeriousToni

      Well, there are even people who sell tshirt prints of the thief games for their own profit without legal pursue. I think doing fanart without profit is fine, but selling them for their own pocket to be printed on clothes and posters by using the fame of games other people / companies made is not right.

  7. Bumped into an interesting piece of wisdom called Hyrum's Law:
    With a sufficient number of users of an API, it does not matter what you promise in the contract: all observable behaviors of your system will be depended on by somebody.

    1. Show previous comments  2 more
    2. stgatilov

      stgatilov

      Love and hate are close friends 😉
      Also: there are libraries that everyone complains about and libraries that nobody uses 😁

    3. STiFU

      STiFU

      I'd be curious to hear some actual examples where the MSVC implementation of STL diverges from what the standard dictates and developers actually rely on that divergence. I honstely can't imaging there are any instances. The only thing I could think of is that some programmers might rely on implementation where the standard indicates "undefined behaviour", but that would be a major error on the programmers part.

    4. stgatilov

      stgatilov

      One example from recent practice: I had to advise my colleague to not use std::hash<int>, because while it makes some useful things on MSVC, it is a plain identity function for integers on GCC. That's because standard does not control the quality of hash functions at all, so GCC decides to put the hash finalizer into the hash table. I think he just used boost hash function in the end: it has same implementation on all platforms.

      Another case is C++11 random. We all know that C rand sucks for many reasons, and different algorithm on different platforms is one of the reasons. For testing purposes, it is often desirable to have exactly the same PRNG on all platforms. For that reason C++11 generators are fully defined by the standard: std::mt19937 works exactly the same way on Windows and Linux. But the distributions are not fixed. So if you use std::mt19937 + std::uniform_int_distribution, then you'll get different results on MSVC and GCC. Reinvent that wheel yourself 😉

      Another example might be std::deque. Ideologically, people expect it to be a linked list of chunks. But it seems (I did not test this myself, I prefer reinventing such wheels) that MSVC implementation has very small size of chunks, so it boils down to be a worse version of std::list.

      In all of the cases, all implementations fully comply with the standard requirements. But as a programmer, you might expect or implicitly rely on some properties in terms of performance/reproducibility and thus depends on implementation details, which are not cross-platform.

  8. Is it possible somehow to work on individual parts of the game world in separate .map files and then have a master .map file where all other scenes are merged together ?
  9. Currently the components that make up a LOD-enabled model are usually stored in various different places. Taking the aphrodite statue as an example: - The most detailed model stage is found in darkmod/decorative/statues. - All the other stages are found in darkmod/misc/lod, probably so that the decorative statues folder is less cluttered. - The LOD entity that makes use of all these stages is in a different menu altogether, Create Entity > LOD/decorative/statues. I've seen that a lot of the times, even though a LOD entity is available for a particular model, mappers just use the most detailed stage in a simple func_static, missing out completely on the LOD optimisation. I suppose this is because mappers mainly use the Model Chooser instead of the Entity Chooser for decorating the map and don't realise how the LOD system works/forget to check every time whether a LOD entity exists for any of the models they create. Some possible ways to address this: - Let the Model Chooser check whether there's a LOD entity that makes use of a model the mapper is about to create. If yes, it could create that entity instead of a func_static. - Wellingtoncrab suggested an overhaul by combining the Entity Chooser and Model Chooser into an integrated asset chooser which could show flags for certain models, i.e. LOD. This would also make it easier at a glance to see what's available.
  10. Latest Darkradiant Git introduces an issue on Linux (Manjaro / KDE Plasma) with the amdgpu driver. To reproduce I simply use "Filters - Func_static entities" to hide all map models, then click on it once more to show them again: Most of the time every model is glitched out and has its polygons stretched all over the screen once it reappears. Fortunately this doesn't trigger a crash and simply reloading the map works... sometimes entities will instead leave a visual copy of their model when you drag then, that does cause DR to crash soon after.
  11. Today I was building my map for a game jam and Idk what happened but there is no preview of the models or prefabs. And prefabs and model that I already placed in the map dissapeared. In the preview there are just a few boxes but it not shows the hole model I've already reinstalled TDM and dark radiant, reload models, prefabs.
  12. Contributions downloads are at http://fidcal.com/DarkMod/index.htm Note that there is no dedicated beautiful sortable webpage list. I don't have time and also this means less delays. Just browse the folders and click on readmes and images and grab any zips. If anyone submits anything I can just upload it in a few minutes. ~~~~~~~~~~~~~~ If you wish to offer coding, modelling, or any other kind of help got to the I want to help forum for discussion. If you have any extensive assets you wish to discuss also you can go to the I want to help forum. If you simply want to share an FM, prefab(s), textures, whatever then post details in this thread (there are other websites for FMs too.) Generally these need to be zipped up with a description.txt plain text file and optionally an image, and uploaded somewhere I can get them such as a fileshare website like rapidshare. Any problem with that and if you have ftp I can arrange a direct upload to a private temporary folder on my website. All submissions to this thread should be accompanied by a short description summary to go on the download page and optionally a picture(s). Such submissions will be placed on my website download page (wip) at fidcal.com. Anything suspect for any reason I reserve the right to delete. I accept no liability for downtime or even no-continuance of the download section or even the entire website for any reason. Downloaders: I accept no liability if you download anything you'd rather not: download at your own risk. Oh yes, and I am not responsible for global warming, economic depression, you name it; I'm not responsible. From there, any mappers can download what they want. The Dark Mod Team may or may not assess some items for inclusion in future Dark Mod updates. FMs may be assessed for inclusion on the Dark Mod website. Anyone feel free to mirror the download folder. Any suggestions post in this thread too.
  13. I'm beginning to understand why people who aren't into social clubbing "don't last long" on this project, and why it's so full of holes. When moderators are siding with bullies, by closing down threads that they derail, then I start to wonder if I should support the platform to begin with.

    I'm sure that the core development is solid, but when you're constantly tone policed and bullied, and moderators are playing into it too, then the project will just drive away talent, and replace it with socialites instead. ...and without talent, you only end up with a small skeleton crew trying to do everything themselves.

    ...so Dragofer and Airship Ballet, and all you other socialites, you win. From now on I'll just keep to myself. You'll never be able to do my work, but at least you'll be happy together, and that's what matters to you.

     

    Update

    Actually, I have to revise my statement:
    I actually messaged greebo - the top dog, I gather - about nbohr1more's outburst of insanity below, and since I haven't even heard back from him, I just have to assume that there's not a single core programmer here, who's not backing nbohr's threats. ...and that's bad.

    ...so if you're a newbie reading this, or an honest soul like ZergRush, then just slowly back out of these forums, run, and don't look back. This is nothing more than a cult posing as a game development project, using Thief and IDTech4 to sucker hopefuls in, to do work for them, while trying to cajole them into something going on behind the scenes, which apparently - according to nbohr - is something that should be hidden from the state. These people aren't programmers - they don't even understand things like how to fix the simplest bugs. All they have, is an engine, and an IP, and some sort of fascist social cult. There was some other project I saw being made in the Unreal Engine. Try joining that project. ...or start a project of your own. Anything but this asylum.

    Hopefully that was "divisive" enough for a final post, because at this point I really want people to leave this place. This project is, on a management level, just awful garbage, run by garbage people, apparently from the top down, and I'm just glad that they have a garbage place to stay, together, and hopefully forever.

    Nort

    1. Show previous comments  13 more
    2. STiFU

      STiFU

      The amount of insults towards the team members and this community contained in Nort's updated status is a pretty strong indicator that something is maybe not right in Nort's head, don't you think? Also, I said "like Nort here maybe has".

      Anyway, the core message was that we accept everyone as long as they behave. Let's not get lost in the details.

    3. datiswous

      datiswous

      In general I just find this not the right thing to do, if you don't know the diagnoses, don't say it. If you have a psychological disorder, doesn't mean you would act like Nort, or maybe you do, but it's not clear. People with actual psychological disorders might be offended.

      What I also hear often is people call someone "a bit autistic", while we know some characteristics of people with autistic syndrome, it's not like we can judge who is and who is not.

      Quote

      "...so if you're a newbie reading this", please know that we will accept you and value your contributions, as long as you don't talk down on others and don't spread hatred towards other persons or communities.

      This is the proper message (I don't ask you to change yours, I just wanted to make my point).

    4. duzenko
  14. Since Aluminum directed me here ( https://forums.thedarkmod.com/index.php?/topic/9082-newbie-darkradiant-questions/page/437/#comment-475263 ) can we have unlimited renderer effects? Well, maybe not unlimited, by maybe 3-5? Thanks.

     

    1. Show previous comments  1 more
    2. Nort

      Nort

      Since I wasn't the one mainly asking, I'll just cite you in the original thread instead.

    3. AluminumHaste

      AluminumHaste

      There already is a kind of sorting, sort nearest, sort decal, sort <n>. For things like windows and such, sort nearest should probably have the desirable affect, though looking through multiple translucent shaders might kill performance.

    4. Nort

      Nort

      Is having multiple render effects really killing performance that badly? I don't understand. You're saying that if I have two transparent objects side-by-side, then they'll just count as two render effects, but when combined, they somehow become something much more difficult to render?

      Never-the-less, unless we're talking some kind of infinite portal problem, why not let the mapper choose how much he wants to kill performance? Just warn him against putting too many effects close together.

  15. You know how there are these long videos which turn your TV into a fireplace on christmas?

    Well, can we make a video with just videos of happy, friendly farm animals? ...for dogs? I notice that they get really happy when there are animals on TV, and how bored they are just lying around the house most of the day. When we leave them alone, we could just turn on the TV and have them be happy all day instead. It'll be like ASMR, but for pets.

    1. Show previous comments  6 more
    2. Nort

      Nort

      Yeah, but they get really excited when they see other animals, like horses, and really happy.

    3. Xolvix

      Xolvix

      It exists. RedLetterMedia covered "Dog Sitter" in one of their vids (worth watching the whole thing though):

       

       

    4. Nort

      Nort

      I guess there's a right and a wrong way to simply film friendly farm animals. Rewinding them back and forth, having lots of jump cuts, having dogs talks like humans, and having animals wear outfits, would just confuse the dog. It's not hard to do animal ASMR: You just film peaceful animals for extended periods of time. Beyond that, the video is just four guys talking about their own human opinions. They're not the intended audience.

  16. Greetings, as there seem to be few or no(?) visible developments getting the antiquated TDM codebase looking like something that came out this decade - what about taking all the TDM changes and forward porting them to a modern Doom 3 engine like: https://github.com/dhewm/dhewm3 Where you'd get (for 'free'); 64 Bit supportOpenAL - EFX == E.A.X.Better build supportLots of other fixes and things Ports for most platforms What would be nice to know is the depth and scope of TDM 'features' inserted into Doom3. The idea is to take bits from TDM (engine) itself that are unique and needed for TDM (mod) and re-insert these into a branch of dhewm3. Making a TDM-compatible dhewm3. as the final result. That way a modern, fast-moving codebase is leveraged immediately and TDM gains alot of goodies, without hair-pulling.
  17. Woo!! 2.10 Beta "Release Candidate" ( 210-07 ) is out:

    https://forums.thedarkmod.com/index.php?/topic/21198-beta-testing-210/

    It wont be long now :) ...

  18. All I want to do is import a basic, static model into the editor. The model is in .lwo format, the polygons are all triangles, the UV's are all mapped correctly. I am not a modelling noob. The textures are all square, and in .dds format. The model does not need a collision mesh or a shadow mesh. It is just a small teddy bear. The problem is that I do not know how to associate a material with this custom model in DR. And in the wiki, which is so out of date now, there is a page that specifically deals with this issue but the example images do not load! Does anyone have the example images from this page? https://wiki.thedarkmod.com/index.php?title=Model/Texture_Guidelines Because I see that I need the path info for the model textures to be embedded in the .lwo mesh file, but the example of the path I'm supposed to use does not load in the wiki. Or maybe someone could please just give me a short description of how to import custom models into DR? I am an experienced modeler and texture artist, so no need to ELI5, it's just associating the custom model with a material file in DR that I cannot find any info on. EDIT: Is it something to do with entity .def files? https://wiki.thedarkmod.com/index.php?title=DEF_Files
  19. I don't think there's a link to thedarkmod.com on forums.thedarkmod.com ...

    1. datiswous

      datiswous

      Yeah and the wiki and moddb. It should have those links in the footer I think. Probably easy to add by an admin.

      Edit: And a link to the bugtracker. I'm always searching for a post in the forum that links to that because I can't remember the url.

    2. Petike the Taffer

      Petike the Taffer

      I drew attention to this several times in the last few years. No one payed it any attention, so I just gave up.

    3. duzenko

      duzenko

      Reluctance to improve the forums is matched by reluctance to allow more people to work on it. Talk about trust and power.

  20. Is there documentation about creating 3D model for TDM especially for animated characters? thanks
  21. To assign the rotation point of a func_static made into an atdm:mover_door I go into vertex mode, select the axis of rotation (the only selectable vertex) and move it to the right spot. When I export that same func_static as .ase, import the .ase and make it an atdm:mover_door everything works, except the axis of rotation isn't selectable. When exporting as .ase I check the option 'Center objects at 0,0,0 origin', and the axis of rotation is now centered at exact center of the model. If I leave this option unchecked (default) the axis of rotation is centered at 0,0,0 of the DR grid - so when I put the cursor at a point of the grid and 'create model', that's where the axis of rotation is created while the model itself is offset accordingly. In neither case is this center, or axis of rotation, selectable or moveable independently of the model. eta: A kludge is to extend the door to be exported as .ase with a nodraw brush so the center of the combo is at the axis location desired. This works but is an abominable kludge which only gets worse since for double doors kludged versions of both L and R are required. Likewise for every other axis adjustment that needs to be made.
  22. Perhaps a silly question, but how do you do custom model importing into DR ? I've found loads of documentation on things like WIP model import/export for various 3D modelling software, or what formats models should be saved in, etc., etc. But I basically couldn't find anything on how to import a finished, working custom model into DR. Sharing custom models made by our members is awesome, but it's hardly of any use if one isn't even sure on how to import them into the level they're building. I couldn't find a thread or a wiki article that could answer this. So, any up-to-date advice on how to do this for the current version of DarkRadiant ? I'll take whatever good advice I can get, and rest assured, I'll also write down some documentation based on it. Just so the info could be shared with other newbs who are still learning the ropes in DR. On a final note: Yes, I mean custom models. Not prefabs or maps. I know how to import those, it's easy. And those are already part of the base game at this point. But custom models made by others, that's a whole other kettle of fish for me. I'd like to try something simple for a start, e.g. importing a custom chair, etc., just to test the model importing process. Thanks in advance for any and all advice, I appreciate it immensely.
×
×
  • Create New...