Jump to content
The Dark Mod Forums

Search the Community

Searched results for '/tags/forums/blender lwo export/' or tags 'forums/blender lwo export/q=/tags/forums/blender lwo export/&'.

  • 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. Does anyone have the latest version of the md5 import / export scripts for Blender, for both importing and exporting md5mesh and md5anim with the latest Blender release? I last attempted to rig a custom character ages ago, the scripts are long unsupported and I couldn't find new ones. Blender is now at version 3.5.1, do we have md5 scripts for that?
  4. This topic is all about discussing anything regarding Blender. As a n00b, it is amazing how a single bad setting can make your cycles renders require extreme levels of sampling to get rid of noise.... and still not look perfect. Today I learned how critically important the "multiple importance sampling" option is if you have an HDRI background with strong sunlight in an area. It reduces the number of necessary samples, and as a result, also reduces your rendering time while producing a MUCH cleaner looking image. Also, the new version that is just about to come out (2.70) will increase cycles rendering speed on the CPU by about 30%. That is pretty awesome.
  5. Hi. I'm a long-time Blender user and was wondering if it's possible, in part or in whole, to use Blender to make levels, mostly the level geometry. I understand that NPC, scripting, partitioning, etc would be something better done in DarkRadiant, but I'd like to use Blender to make the buildings, streets, terrain, etc and to place them.
  6. 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.

  7. I've just finished uploading on Youtube a video in five parts in which I show a complete process of creating this normal map: Links: part 1 part 2 part 3 part 4 part 5 I used Blender, Sculptris and GIMP with normalmap plugin. BTW, my PDF tutorial to Blender can be still downloaded here: http://www.fileshost...hp?id=F02584AD1
  8. 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 :) ...

  9. 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.

  10. I'm looking into the following warning: I think it is fairly easy to automatically break such polygons into triangles, as long as they are: planar: otherwise different triangulations produce different geometry, so better forbid such ambiguity. convex: breaking nonconvex polygon into triangles is too much hassle. Briefly looking into debugger on a few cases, I got an impression that most of the offenders are simple quads. I wanted to ask if there are other LWO-related things to improve/fix. For instance, I see that smoothing groups stored in LWO file are ignored by D3 engine. Isn't it inconvenient? LWO is a very rich format, it allows storing patches, bones, and lots of other stuff. Just look into specs (attached). D3 is using a small subset of it. By the way, how popular is this format today? How easy is it to convert into it from other programs? lwo2.html
  11. When exporting from Blender to TDM in .lwo format, it's necessary to set the material names to textures/darkmod/,,,,something. If an object has a lot of textures it's going to be tedious to search the mtr files to get the right name. The same goes for applying textures to imported .lwo objects. I wrote this plugin to make that task much easier. Version 2.8.0 Download: Go to the GitHub page: https://github.com/RSoul82/Blender-TDM-Material-Manager Right click the .py file, then go to Save As and put it in some folder. (Or go to Clone or Download and save it as a zip file to your computer). The old version, for Blender 2.79, is here: https://github.com/RSoul82/Blender-TDM-Material-Manager/tree/Blender-2.79-archive (this is unlikely to be upgraded unless it causes serious problems) It'll be interesting to see how this is in the wild.
  12. Hi, I thought I should document this discussion here, for future reference, as info on this subject has become quite scattered and out of date. I've been wrestling with MD5s for a while now with no success. Importing works but the meshes and armatures are problematic. I decided to start with an animated model from scratch. Followed a few instructions in videos or tutorials (most recently trying out Sotha's solution http://forums.thedarkmod.com/topic/14970-blender-rig-for-standard-male-npc/?do=findComment&comment=325423 ) but have yet to be able to export successfully. The animation oddly enough is working correctly (on the model viewer, havent gotten into the game yet), but the mesh itself is getting horribly deformed. Im using the io_scene_md5 importer/exporter. Going back to version 2.72 didnt solve it for me. In blender After exporting Any thoughts?
  13. So I have been going through my city WIP converting FuncStatics into .LWO models using the new export menu Greebo added - Main Menu>File>Export Selected as Model - But then I discovered I could select normal FS and .LWO models and export them all as a single model So it them occurred to me I should be able to do the same thing with existing core mod models - https://www.youtube.com/watch?v=Ar5jP3XqOwM&
  14. Would it possible to tweak or add to the model (.LWO and .ASE) export function the ability to reduce the amount of textures, or better still to export a single custom texture for the exported model..? For example atm if we take a bunch of Springheel's modular models, or just random models and brushwork and export that collection to a single model there is X number of textures which as I understand it increases the draw call count by the number of textures used. With Springheels modular models the texture count is lower due to the way he created them, due to the small amount of and similar textures used. But for maps like the one Im working on, I'm taking .ASE, .LWO and exiting brush/patch work and exporting to a single model.
  15. Not so long ago I found what could make a pretty good profile picture and decided to try it out on these new forums. But I couldn't find a button anywhere that would let me change it. I asked on Discord and it seems Spooks also couldn't find anything anywhere. So I logged into an old alternative account and, lo and behold, that account has a button. This is on the first screen I get when I: 1) click on my account name in the top-right of the browser -> 2) click on 'profile'. Compared to my actual account: Are you also missing this button on your account? It'd be very much appreciated if that functionality could be restored to any of the affected accounts.
  16. Is it possible to export multiple objects/meshes from blender with the LWO exporter? Or do they always have to be joined into one mesh first? So far that is the only way i can get everything to show up in game. Also, does it have advantages to have separate meshes? In blender yes, but in game also? This article talks about submeshes and different skins: http://wiki.thedarkmod.com/index.php?title=Creating_Multiple_Skins_For_A_Model But those might be for ASE models?
  17. Hi, I need to know what the code is to use Spoiler Tags. I am using my tablet and I don't have the options to use anything, like spoiler tags, quote tags, text changes etc. Thanks
  18. This is quite exciting I've just found out that there's a script that can export geometry from Blender to Quake 3 .map format. That means you can not only make static meshes but also BSP entirely in Blender. It's hidden by default, you have to enable it in user preferences -> addons -> import / export. I created a default Blender torus: The walls don't have any thickness so script has to add inner walls. That's what "thickness" option is for: Exported .map needs to be converted to Doom 3 map format. Thankfully there's a neat converter: http://www.fileplane...3-Map-Converter The program converts not only .map but also other files. There's a lot of options which I simply unchecked. You need to put path to Quake 3 but a false one will do just fine. In converted .map file you have to remove these lines: Now you can open the map in Darkradiant. I applied the stone texture in Radiant. As you can see exporter has added thickness to the shape and now it has inner walls: In game you can see that compiler has removed the unneeded polygons (since no entity will ever get inside the torus):
  19. I do kinda wish there was some sort of script that would export generic null positions (or cube primative) over selected mesh positions. Would be super handy for combining/cleaning up scenes arranged in DR.

    1. Show previous comments  5 more
    2. rich_is_bored

      rich_is_bored

      I've got a solution for you. Make a func_static out of a small brush. Select the "model" key/value pair. Now deselect everything and select the models you want to extract position data from. In the entity inspector you should still have the model key/value pair queued up. Apply it to everything selected by clicking the green checkmark. Now all the models will be replaced with the brush you created. Export this selection of brushes as an obj.

    3. rich_is_bored

      rich_is_bored

      Scratch that. Exporting as obj doesn't work and I can't revert the brushes back to worldspawn either.

    4. Epifire

      Epifire

      You know now that I think about it. If I can use the world 0 0 0 set the same as Softimage, I might just be able to copy and paste the values out manually. Most of the big things I'm needing are rotation snapped anyways so that makes it easy.

  20. I've noticed that some .lwo models I import into Blender have their texture mapping split into multiple UV channels. It makes editing hard and re-exporting impossible because only one UV channel will be considered. Here's a simple way to combine all the UV channels: Here's an example of a door, where some faces have visible UV mapping and others appear to be solid colour only: When looking in the Object Data you can see it has 3 UV channels: Selecting the other two channels shows that the plain faces do in fact have mapping: To combine the three of them so you can see and export all of the UV mapping, you have to split the object by the UV channel, delete the unused channels from each object and then give each object's UV channel the same name, before combining the object again. You can leave the first channel alone. Select the second channel, go into Edit mode and also open the UV mapping panel. Click on the button shown here to ensure it's active: In the UV panel, select everything (A to toggle). In the lower left corner (or perhaps somewhere else) you'll see what looks like a single vertex: This is actually all of the vertices belonging to the other UV channels. Use the box ( B ) or circle ( C ) select tools to deselect them (Middle mouse click/drag). That will limit the selection solely to the faces that are mapped in the current UV channel: In the 3D panel, you can now split the selected faces (P) to make a new mesh: If there are more UV channels, select the original mesh, select the next UV channel in the list, and repeat the above process. Continued in the next post due to attachment limit being reached...
  21. HI all. I tried to export some terrain as obj, but when the centering option was enabled I got an error about an object not being defined on line 228. The line is this: vert -= Vector3(xcenter, ycenter, zcenter)It should be this: vert -= dr.Vector3(xcenter, ycenter, zcenter)
  22. Still spreading the word about TDM on forums to new peops... Funny to see people say "Awesome, I loved playing Thief back in the day!"

    1. Show previous comments  2 more
    2. kano

      kano

      Yes it was in a discussion where someone was saying how unhappy they are with the way game companies grant themselves permission to do whatever they like to your PC and personal info today. I pointed out that giving up games completely is an unnecessarily overkill solution when there are free games like TDM to play.

    3. Epifire

      Epifire

      Honestly the mod/Indie genre is still really booming right now. And they aint got no reason to do shady invasive privacy bs.

    4. Petike the Taffer

      Petike the Taffer

      What Epifire said. :-)

×
×
  • Create New...