CParticleEmitter2::Render
function · models · primitive
- Address
0x7b3d20· 1978 bytes, up to0x7b44d9- Meaning
- Sets the particle view, draws an emitter's particles in view space and restores the view
- Confidence
- verified, proof one
- Finding
- models/particles#particle-view-space
- Test
models::mat3x4_transform_difftest,models::render_negate_difftest,models::render_normalize_difftest
Finding: Particle view space in models: particles
An emitter draws in view space with the device view set to identity. Positions go through the particle matrix: for an emitter in its own space, the emitter matrix, then a translation by minus the camera position, then the view; otherwise the reference frame, when given, then the translation and the view. Every vertex takes as normal the view image of world +z.
The derivation is in the doc.
Callers 1
Callees 20
- _atexit crt
- GetTextureDeviceObject gx
- Vector3LengthSquared spline
- GxVertexStride gx
- 0x589ab0 gx
- GxRsSetObject gx
- GxRsPush gx
- GxRsPop gx
- 0x58a010 gx
- GxBufLock gx
- GxBufUnlock gx
- GxBufCreate gx
- GxVertexBufBind gx
- PassBufferToDevice gx
- GxPrimRenderOne gx
- SetDeviceView gx
- GetDeviceView gx
- CParticleEmitter2::WriteAllQuads models
- ParticleFillQuadIndices models
- MultiplyMatrix4 cmath
Calls and jumps by a bare address, from tables/calls.tsv.