Delete the platform proxy tree renderer and copy SpeedTreeWrapper, SpeedTreeForest, SpeedTreeForestDirectX8, SpeedTreeConfig.h and VertexShaders.h from 40250. The SDK SpeedTreeRT.h public API becomes the shim; the closed CSpeedTreeRT is reimplemented in platform/SpeedTreeLib/SpeedTreeRT.cpp (procedural geometry, static lighting, single LOD, DIVERGENT). Shims gain the D3D8 vertex shader declaration tokens, D3D_OK, CreateVertexShader/DeleteVertexShader, ID3DXBuffer/D3DXAssembleShader, MessageBox and __min/__max. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
232 lines
8.8 KiB
JSON
232 lines
8.8 KiB
JSON
{
|
|
"reference": "SpeedTreeLib/SpeedTreeWrapper.cpp",
|
|
"reference_sha256": "938924f5303879f1b322ad48f11c974319471fcdcca616fcb958d8cf43469fa5",
|
|
"priority": "P4",
|
|
"contracts": [],
|
|
"functions": {
|
|
"CSpeedTreeWrapper::CSpeedTreeWrapper": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::CSpeedTreeWrapper"
|
|
]
|
|
},
|
|
"CSpeedTreeWrapper::SetVertexShaders": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::SetVertexShaders"
|
|
],
|
|
"note": "verbatim; WRAPPER_USE_NO_WIND / no GPU placement in SpeedTreeConfig.h, so the shader path returns the FVF as in 40250"
|
|
},
|
|
"CSpeedTreeWrapper::OnRenderPCBlocker": {
|
|
"status": "NEEDS_LIVE",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::OnRenderPCBlocker"
|
|
],
|
|
"note": "verbatim; PC-blocker alpha visual NEEDS_LIVE"
|
|
},
|
|
"CSpeedTreeWrapper::OnRender": {
|
|
"status": "NEEDS_LIVE",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::OnRender"
|
|
],
|
|
"note": "verbatim; visual NEEDS_LIVE"
|
|
},
|
|
"CSpeedTreeWrapper::~CSpeedTreeWrapper": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::~CSpeedTreeWrapper"
|
|
]
|
|
},
|
|
"CSpeedTreeWrapper::LoadTree": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::LoadTree"
|
|
]
|
|
},
|
|
"CSpeedTreeWrapper::SetupBuffers": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::SetupBuffers"
|
|
]
|
|
},
|
|
"CSpeedTreeWrapper::SetupBranchBuffers": {
|
|
"status": "NEEDS_LIVE",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::SetupBranchBuffers"
|
|
],
|
|
"note": "verbatim. DIVERGENT input: CSpeedTreeRT is the closed IDV lib; platform/SpeedTreeLib/SpeedTreeRT.cpp stands in for it and yields procedural branch strips (height 1000, species from file name), not the .spt-computed geometry; visual NEEDS_LIVE"
|
|
},
|
|
"CSpeedTreeWrapper::SetupFrondBuffers": {
|
|
"status": "NEEDS_LIVE",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::SetupFrondBuffers"
|
|
],
|
|
"note": "verbatim; the CSpeedTreeRT stand-in reports no fronds (0 vertices), so palms/ferns lose their fronds -- DIVERGENT until the .spt engine is reproduced; NEEDS_LIVE"
|
|
},
|
|
"CSpeedTreeWrapper::SetupLeafBuffers": {
|
|
"status": "NEEDS_LIVE",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::SetupLeafBuffers"
|
|
],
|
|
"note": "verbatim. DIVERGENT input: the stand-in's leaf clusters and composite-atlas rects are hand-picked (not the .spt leaf-map texcoords); NEEDS_LIVE"
|
|
},
|
|
"CSpeedTreeWrapper::Advance": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::Advance"
|
|
]
|
|
},
|
|
"CSpeedTreeWrapper::MakeInstance": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::MakeInstance"
|
|
]
|
|
},
|
|
"CSpeedTreeWrapper::GetInstances": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::GetInstances"
|
|
]
|
|
},
|
|
"CSpeedTreeWrapper::DeleteInstance": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::DeleteInstance"
|
|
]
|
|
},
|
|
"CSpeedTreeWrapper::SetupBranchForTreeType": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::SetupBranchForTreeType"
|
|
]
|
|
},
|
|
"CSpeedTreeWrapper::RenderBranches": {
|
|
"status": "NEEDS_LIVE",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::RenderBranches"
|
|
],
|
|
"note": "verbatim; static-lit colours (LIGHT_STATIC, LIGHTING FALSE), stage-1 self-shadow modulate, ALPHAREF 84; visual NEEDS_LIVE"
|
|
},
|
|
"CSpeedTreeWrapper::SetupFrondForTreeType": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::SetupFrondForTreeType"
|
|
]
|
|
},
|
|
"CSpeedTreeWrapper::RenderFronds": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::RenderFronds"
|
|
]
|
|
},
|
|
"CSpeedTreeWrapper::SetupLeafForTreeType": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::SetupLeafForTreeType"
|
|
]
|
|
},
|
|
"CSpeedTreeWrapper::UploadLeafTables": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::UploadLeafTables"
|
|
],
|
|
"note": "verbatim; WRAPPER_USE_NO_WIND / no GPU placement in SpeedTreeConfig.h, so the shader path returns the FVF as in 40250"
|
|
},
|
|
"CSpeedTreeWrapper::RenderLeaves": {
|
|
"status": "NEEDS_LIVE",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::RenderLeaves"
|
|
],
|
|
"note": "verbatim; camera-facing leaf cards come from the stand-in's m_pLeafMapCoords (rebuilt from SetCamera); visual NEEDS_LIVE"
|
|
},
|
|
"CSpeedTreeWrapper::EndLeafForTreeType": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::EndLeafForTreeType"
|
|
]
|
|
},
|
|
"CSpeedTreeWrapper::RenderBillboards": {
|
|
"status": "NEEDS_LIVE",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::RenderBillboards"
|
|
],
|
|
"note": "verbatim; the stand-in keeps billboards inactive (single LOD), so far trees never drop to billboards -- NEEDS_LIVE"
|
|
},
|
|
"CSpeedTreeWrapper::CleanUpMemory": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::CleanUpMemory"
|
|
]
|
|
},
|
|
"CSpeedTreeWrapper::PositionTree": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::PositionTree"
|
|
]
|
|
},
|
|
"CSpeedTreeWrapper::LoadTexture": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::LoadTexture"
|
|
]
|
|
},
|
|
"CSpeedTreeWrapper::SetShaderConstants": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::SetShaderConstants"
|
|
],
|
|
"note": "verbatim; WRAPPER_USE_NO_WIND / no GPU placement in SpeedTreeConfig.h, so the shader path returns the FVF as in 40250"
|
|
},
|
|
"CSpeedTreeWrapper::SetPosition": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::SetPosition"
|
|
]
|
|
},
|
|
"CSpeedTreeWrapper::GetBoundingSphere": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::GetBoundingSphere"
|
|
]
|
|
},
|
|
"CSpeedTreeWrapper::CalculateBBox": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::CalculateBBox"
|
|
]
|
|
},
|
|
"CSpeedTreeWrapper::GetCollisionObjectCount": {
|
|
"status": "DIVERGENT",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::GetCollisionObjectCount"
|
|
],
|
|
"note": "verbatim; the stand-in returns one trunk CO_CYLINDER (radius 35, height 750), not the .spt collision objects"
|
|
},
|
|
"CSpeedTreeWrapper::GetCollisionObject": {
|
|
"status": "DIVERGENT",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::GetCollisionObject"
|
|
],
|
|
"note": "verbatim; the stand-in returns one trunk CO_CYLINDER (radius 35, height 750), not the .spt collision objects"
|
|
},
|
|
"CSpeedTreeWrapper::GetPosition": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::GetPosition"
|
|
]
|
|
},
|
|
"CSpeedTreeWrapper::GetTreeSize": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::GetTreeSize"
|
|
]
|
|
},
|
|
"CSpeedTreeWrapper::OnUpdateCollisionData": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"extension/src/port/SpeedTreeLib/SpeedTreeWrapper.cpp:CSpeedTreeWrapper::OnUpdateCollisionData"
|
|
]
|
|
}
|
|
}
|
|
}
|