View Issue Details

IDProjectCategoryView StatusLast Update
0005988DarkRadiantMap Editingpublic13.01.2024 05:31
ReporterFrost_Salamander Assigned Togreebo  
PrioritynormalSeveritynormalReproducibilityalways
Status closedResolutionfixed 
PlatformPCOSWindowsOS Version10
Product Version3.0.0 
Target Version3.1.0Fixed in Version3.1.0 
Summary0005988: Unable to select func_emitter with particle attached
DescriptionI'm seeing some odd behaviour with func_emitter entities, depending on the chosen particle.

With ea001_etherfog_low.prt, the entity jumps around when you try to move it with translate, and then becomes impossible to select. It also seems to move position if you reopen the map. Also, with this particle if you try to select other things that surround the entity like nearby walls, they will only be partially highlighted or the face will not be highlighted, as if an invisible particle effect from the func_emitter is obscuring them. It makes it difficult to work with the entity and the surrounding area.

With sparks_wires_oneshot.prt, if you hide the entity the cube-shaped outline disappears, but the particle effect stays visible. (see 0006061)

I quickly tried chimney_smoke1.prt and it seemed OK, but I haven't tried any others.
Steps To Reproduceea001_etherfog_low.prt:

1. Create a new map and add a func_emitter to it
2. Give the func_emitter the ea001_etherfog_low.prt particle by setting it in the model spawnarg.
3. Try to translate the entity, and note that the entity position jumps around a bit.
4. On deselect, try to select it again. I should become impossible to select, even when using shift + mouse drag. You might have to try it a couple of times.
5. Save the map, then re-open. The entity might be in a slightly different position than when you saved it, but you should be able to select it again.
6. If you have brushes nearby and try to select them, they might not be fully highlighted


greebo: This second problem is already covered by 0006061:
sparks_wires_oneshot.prt:

1. Create a new map and add a func_emitter to it
2. Give the func_emitter the sparks_wires_oneshot.prt particle by setting it in the model spawnarg
3. hide the entity and observe that the cube disappears but the sparks remain.
Additional InformationThe attached screenshot shows what happens when you select brushes nearby the func_emitter with the ea001_etherfog_low.prt particle . Only the outline of the selected brush is showing, instead of the face. Also note the window - only half of the glass texture is being shown.
TagsNo tags attached.
Attached Files
func_emitter.PNG (2,257,110 bytes)

Relationships

related to 0006061 closedgreebo Particle effects still visable when hidden via layers or filter 
has duplicate 0005991 closedgreebo Func_Emitters almost impossible to draged/move 
related to 0006074 closedgreebo Func_animates created via Create Model initially place the mesh at map origin 

Activities

greebo

greebo

15.08.2022 13:32

administrator   ~0015168

Last edited: 15.08.2022 13:32

The second problem has been covered by 0006061 in the meantime, so I'll only address the first described selection problem in the course of this issue.
On a related note, I prefer not to mix problems into one single tracker entry (even though I understand it's more convenient for reporters). I like to keep separate problems in separate tracker entries, it makes it much easier for me during development.
greebo

greebo

15.08.2022 15:29

administrator   ~0015170

The selection problem is now fixed, this was due to the box being rendered with some offset to the actual origin (where the selection test was performed).
As for the described overlay effects, this is a rendering interference I'm probably not going to be able to solve without turning off particle rendering completely for the non-lighting camera preview.

Related Changesets

DarkRadiant: master 7ee4cbe3

15.08.2022 15:10

greebo


Details Diff
0005988: The RenderableBox renderable should take the local bounds origin into account, it's not always located at 0,0,0.
(This is related to a change in 0005968.) The visible Entity Boxes are not necessarily centered at the value of their origin key, they are offset using editor_mins and editor_maxs vectors that are not necessarily symmetric.
Affected Issues
0005968, 0005988
mod - libs/render/RenderableBox.h Diff File
mod - radiantcore/entity/generic/GenericEntityNode.cpp Diff File

DarkRadiant: master 127ed356

15.08.2022 15:22

greebo


Details Diff
0005988: Let the RenderableArrow start at the center of the entity's visible bounding box. Affected Issues
0005988
mod - radiantcore/entity/RenderableArrow.cpp Diff File

Issue History

Date Modified Username Field Change
22.06.2022 21:05 Frost_Salamander New Issue
22.06.2022 21:05 Frost_Salamander File Added: func_emitter.PNG
01.07.2022 11:18 Bikerdude Relationship added related to 0005991
15.08.2022 13:19 greebo Status new => acknowledged
15.08.2022 13:26 greebo Status acknowledged => confirmed
15.08.2022 13:27 greebo Relationship added related to 0006061
15.08.2022 13:29 greebo Summary Multiple func_emitter problems => Unable to select func_emitter with particle attached
15.08.2022 13:29 greebo Description Updated
15.08.2022 13:29 greebo Steps to Reproduce Updated
15.08.2022 13:32 greebo Note Added: 0015168
15.08.2022 13:32 greebo Note Edited: 0015168
15.08.2022 13:34 greebo Relationship replaced has duplicate 0005991
15.08.2022 15:22 greebo Assigned To => greebo
15.08.2022 15:22 greebo Status confirmed => assigned
15.08.2022 15:22 greebo Target Version => 3.1.0
15.08.2022 15:27 greebo Changeset attached => DarkRadiant master 7ee4cbe3
15.08.2022 15:27 greebo Changeset attached => DarkRadiant master 127ed356
15.08.2022 15:29 greebo Status assigned => resolved
15.08.2022 15:29 greebo Resolution open => fixed
15.08.2022 15:29 greebo Fixed in Version => 3.1.0
15.08.2022 15:29 greebo Note Added: 0015170
18.08.2022 16:42 greebo Relationship added related to 0006074
13.01.2024 05:31 greebo Status resolved => closed