SplatVector3
function · loadingscreen · orchestration
- Address
0x4078e0· 22 bytes, up to0x4078f5- Signature
float * __thiscall (float *this, float v)- Meaning
- Stores one float in all three components
- Confidence
- verified, proof one
- Finding
- camera#unprojection
- Test
models::portal_seg_normalize_difftest
Finding: Unprojection in camera
0x7ad2c0 maps a screen fraction (a, b), each in [0, 1] from the bottom-left, to a point on
the near plane and a point on the far plane, written through ecx and edx. It reads two device
matrices, builds the eight frustum corners c0 to c7 with 0x5c43b0, and interpolates: near is
lerp(lerp(c0, c1, b), lerp(c3, c2, b), a), far the same over c4, c5, c7, c6. It does
not read a camera.
The derivation is in the doc.
Callers 83
- BuildRouteVertices loadingscreen
- NewObjectNode objectlayer
- CGWorldFrame::CGWorldFrame ui
- DrawGroundReticle ui
- UpdateChatBubble ui
- TabardModelModelReady ui
- CCamera::BuildPivotHeights uicamera
- CCamera::ClipNearBox uicamera
- CGxDevice::AddVertex gx
- PlayAnimatedHandlerState objectlayer
- QuestGiverHandlerOnFrameOpen objectlayer
- CGUnit_C::PlayTrack objectlayer
- CGUnit_C::PlayAnimation objectlayer
- CGUnit_C::WriteMovementPacket objectlayer
- DispatchMoveSpeedOpcode objectlayer
- CGUnit_C::OnForcedTeleport objectlayer
- GetModelTopPosition objectlayer
- CGUnit_C::ComputeSelectionRadius objectlayer
- CGUnit_C::UpdateEmoteQueue objectlayer
- CGUnit_C::PlayWoundAnimation objectlayer
- CMissile::Launch objectlayer
- CMissile::Advance objectlayer
- CEffect::Update objectlayer
- UpdateSpellEffectObject objectlayer
- CMovement::ProbeFallAway collision
- AverageGroundNormal collision
- ProbeGroundBelow terrain
- Rain::Rain lighting
- Snow::Snow lighting
- Snow::DrawFixed lighting
- Sand::Update lighting
- Mists::Mists lighting
- AllocFrustum terrain
- SetupWorldStages terrain
- BuildFrustumVolume terrain
- BuildPortalVolume terrain
- DrawChunkPass terrain
- DrawMapObjectPass terrain
- InitLiquidRamps terrain
- GatherSlotLights terrain
- AaBspChooseSplit models
- CMap::LoadWdl terrain
- CMap::LoadWdt terrain
- SetDoodadDefBounds terrain
- AnchorPlacement terrain
- CMapObjDef::SetPlacement terrain
- GetLiquidStatus terrain
- TraceGameObjects terrain
- ConstructMapEntity terrain
- BakeMapEntityGroupLight terrain
- CMapObj::IntersectSegment models
- CMapObj::CrossPortals models
- CMapDoodadDef::CMapDoodadDef terrain
- CMapDoodadDef::Repose terrain
- CMapDoodadDef::BakeGroupLight terrain
- LinkEntityToMapObject terrain
- DrawPortalQuad terrain
- DrawDebugBox terrain
- TraceMapObjectPlanes terrain
- TraceListedCellsFirstHit terrain
- GatherMapObjectFacets terrain
- GatherEntityFacets terrain
- TestMapObjectBox terrain
- CMapChunk::GetLiquidHeight terrain
- CMapObjGroup::IntersectSegment models
- CMapObjGroup::SegmentAnyHit models
- CMapObjGroup::RayHitLiquid models
- LinkLightToGroups terrain
- WORLDTEXTSTRING::QueueIcon playername
- DrawBlobShadow lighting
- HandleSpellStart spell
- HandleSpellGo spell
- M2DrawProjectedBatch models
- CM2Model::CM2Model models
- M2BoneStateConstruct models
- M2LightStateConstruct models
- CSimpleModel::CSimpleModel ui
- UnprojectScreenPoint camera
- LightningBolt::BuildPoints gx
- LightningBolt::Update gx
- CParticleEmitter2::ReserveStorage models
- CParticleEmitter::Reserve models
- BoundsOfIndexedPoints cmath
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.