View Issue Details

IDProjectCategoryView StatusLast Update
0005516DarkRadiantModelspublic03.02.2021 18:32
ReporterDragofer Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status acknowledgedResolutionopen 
Product Version2.11.0 
Summary0005516: Model exporter: option to remove doubled vertices
DescriptionBrush-and-patch creations often have many overlapping vertices wherever one patch is connected to another. I think it'd be worth having an option to remove such vertices when exporting as a model, as long as they use the same material, for mappers who don't place much weight on having these verts for flat smoothing. This would hopefully improve loading times and (stencil shadow) performance.

I've attached an lwo model containing a complex patch-based creation (Persian window) with 28044 verts. Blender can get it down much further, to 16831 verts, if running remove doubles commands on a per-material basis.
Additional Information(Unfortunately doing such merges with Blender is impractical because A) I believe one would have to go through every single material on every model and B) Blender only supports material paths up to 64 chars, so most of the models would need manual fixing afterwards.)
TagsNo tags attached.

Activities

greebo

greebo

03.02.2021 14:23

administrator   ~0013615

Are you confident that this behaviour always desired? It's at least thinkable that some don't want adjacent patches to be welded by the model exporter, since this is affecting smoothing.
Dragofer

Dragofer

03.02.2021 17:51

developer   ~0013620

Last edited: 03.02.2021 17:57

No, it should only be an optional setting. Personally I often choose to remove all doubles, since I don't consider the visual difference to be that great and would rather have a less complex model to load and render. For some models it's of course quite important that they're smoothed in a certain way.

A possible consideration is to make this reversible, so if a mapper doesn't like the all-smooth look he can re-export with this setting disabled and enough verts come back to achieve "default" smoothing (90°).

The most powerful option would probably be to offer a "smoothing angle" setting that would add or remove verts as needed to achieve the specified degree of smoothing, but I have my doubts that many DR users would get much practical use out of that degree of control.
Dragofer

Dragofer

03.02.2021 18:32

developer   ~0013624

Reattaching the example model with 28k verts instead of 43k verts, since there's no reason to bring 5115 (resolved) into this ticket.
building_interior_25.7z (169,939 bytes)

Issue History

Date Modified Username Field Change
30.01.2021 11:16 Dragofer New Issue
30.01.2021 11:31 Dragofer Additional Information Updated
30.01.2021 11:35 Dragofer Description Updated
30.01.2021 11:35 Dragofer Additional Information Updated
30.01.2021 11:38 Dragofer Additional Information Updated
30.01.2021 11:39 Dragofer Description Updated
31.01.2021 19:52 Dragofer Description Updated
31.01.2021 19:52 Dragofer Additional Information Updated
03.02.2021 14:23 greebo Status new => feedback
03.02.2021 14:23 greebo Note Added: 0013615
03.02.2021 17:51 Dragofer Note Added: 0013620
03.02.2021 17:51 Dragofer Status feedback => new
03.02.2021 17:57 Dragofer Note Edited: 0013620
03.02.2021 18:21 greebo Status new => acknowledged
03.02.2021 18:30 Dragofer Description Updated
03.02.2021 18:30 Dragofer Additional Information Updated
03.02.2021 18:32 Dragofer Note Added: 0013624
03.02.2021 18:32 Dragofer File Added: building_interior_25.7z