View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005971 | The Dark Mod | Textures | public | 11.06.2022 09:28 | 12.06.2022 04:04 |
| Reporter | Frost_Salamander | Assigned To | Obsttorte | ||
| Priority | normal | Severity | normal | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | PC | OS | Windows | OS Version | 10 |
| Product Version | TDM 2.10 | ||||
| Summary | 0005971: non-glass textures with func_fracture entities are transparent / show z-fighting | ||||
| Description | I would like to have breakable objects that aren't necessarily glass, like sections of wood walls or panels. If you create a brush with a wood texture and convert it to a func_fracture, in-game the resulting object looks like it has single-sided faces and shows z-fighting effects if it's next to another brush. See screen shot for an example. If the brush is very thin and not directly adjacent to another brush it's barely noticeable and you don't see the z-fighting, so it can work, but if it's thicker and part of a larger section (like part of a wall) it's unusable. Perhaps there is something the mapper can do to the entity to stop this, but I don't know what it is. If so, some text in the entity description or with Wiki would be useful. | ||||
| Steps To Reproduce | 1. create a wall with brushes and give it a wood texture. 2. cut out a door or window-sized section and convert that section to a func_fracture 3. Run dmap and enter the game and observe the describe behaviour | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
|
func_fracture is intented for glass (or very thin surfaces) I guess. For breakable objects use flinders: https://wiki.thedarkmod.com/index.php?title=Breakable_objects Note that the glass pieces created for func_fracture are 2D, while on a door you would need 3D pieces to make it look properly. It's a different case. |
|
|
Thanks for that, I didn't know about flinders. Am I correct in saying that it only works with models? Is it possible to make it work with func_statics instead (so we can create them out of brushes)? Personally I think the 2D glass pieces aren't a problem with func_fracture and they retain the texture of the original object and disappear quickly anyways so it wouldn't bother me. Regardless, if you don't think func_fracture can be improved to work with non-glass/thicker object this can be closed. |
|
|
"Is it possible to make it work with func_statics instead (so we can create them out of brushes)?" It works with entities, func_statics are entities. So yes. But the flinders need the be defined. However, you can export models created in DR so it isn't an issue either way. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 11.06.2022 09:28 | Frost_Salamander | New Issue | |
| 11.06.2022 09:28 | Frost_Salamander | File Added: wood_func_fracture.jpg | |
| 11.06.2022 11:55 | Obsttorte | Note Added: 0014860 | |
| 11.06.2022 11:56 | Obsttorte | Note Edited: 0014860 | |
| 11.06.2022 22:35 | Frost_Salamander | Note Added: 0014864 | |
| 12.06.2022 04:04 | Obsttorte | Assigned To | => Obsttorte |
| 12.06.2022 04:04 | Obsttorte | Status | new => closed |
| 12.06.2022 04:04 | Obsttorte | Resolution | open => fixed |
| 12.06.2022 04:04 | Obsttorte | Note Added: 0014865 |