Skip to content

Send emitter parent balls to destiny for line of sight occlusion - #30

Merged
phevosccp merged 3 commits into
mainfrom
occlusion-parent-ball
Nov 5, 2026
Merged

phevosccp merged 3 commits into
mainfrom
occlusion-parent-ball

Conversation

@phevosccp

@phevosccp phevosccp commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Summary

Follow-up to #22. Emitters on a deployable or wall were occluded by that object's own collision. Trinity now gives each emitter the ball it is mounted on through ITr2AudParentBall (carbonengine/trinity#134).

IEveObstructionQuery2 replaces IEveObstructionQuery. Blue matches interfaces by name, so the new QuerySightlines signature needs a new name. Destiny implements both, so destiny ships first.

Depends on carbonengine/trinityaudioapi#11. The carbon-trinityaudioapi bump follows once the registry has the port.

Testing

  • ctest: 98/98 pass.
  • Frontier client: hull and container emitters are no longer blocked by its own collision, and a separate wall still blocks them.

Trinity tells each emitter which ball it is mounted on through
ITr2AudParentBall. Emitters hold it weakly and the sightline pass hands
it to destiny with the emitter's position, so destiny can skip that
ball's own geometry. Deployables and walls no longer occlude their own
emitters.

IEveObstructionQuery2 replaces IEveObstructionQuery: Blue matches
interfaces by name, so the new QuerySightlines signature needs a new
name.
@phevosccp phevosccp changed the title Pass emitter parent balls to destiny via IEveObstructionQuery2 Send emitter parent balls to destiny for line of sight occlusion Oct 27, 2026
ccp-zoetrope
ccp-zoetrope previously approved these changes Nov 2, 2026

@ccp-zoetrope ccp-zoetrope left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made a suggestion that I don't consider blocking but more of a nice to have if you agree.

Comment thread include/IEveObstructionQuery2.h Resolved
@ccp-zoetrope
ccp-zoetrope self-requested a review November 5, 2026 13:53

@ccp-zoetrope ccp-zoetrope left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now!

@phevosccp
phevosccp merged commit e4868d5 into main Nov 5, 2026
12 checks passed
@phevosccp
phevosccp deleted the occlusion-parent-ball branch November 5, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants