View Issue Details

IDProjectCategoryView StatusLast Update
0005141The Dark ModCodingpublic21.03.2020 17:40
Reporterstgatilov Assigned To 
Status newResolutionopen 
Product VersionTDM 2.07 
Target VersionTDM 2.09 
Summary0005141: idImage::ActuallyLoadImage should always load CPU-side data
DescriptionRight now if someone attemps to load an image from frontend, the request is simply ignored.
It is expected that when someone would need the texture for drawing, it will get requested again from backend.

However, particle collision feature uses CPU-resident textures to cut off particles.
Such textures are ALWAYS loaded from frontend, never from backend.
Hence, if you don't load such texture during level load, then it will never get loaded no matter how hard you ask for it.

This should be fixed.
The data gets loaded from file immediately, regardless of frontend/backend.
The uploading to GPU should only happen from backend when requested.
Steps To Reproduce0) In idRenderWorldLocal::ParseModel, temporarily comment out preload code.
1) Install test_raincollision FM.
2) Set "com_smp 1".
3) Start new game or execute "map rain".
4) Check that rain stops on obstacles (at least on roof). "Use r_showTris 1" to make it easier.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
03.02.2020 17:16 stgatilov New Issue
03.02.2020 17:16 stgatilov Tag Attached: particle
03.02.2020 17:44 stgatilov Steps to Reproduce Updated View Revisions
21.03.2020 17:40 stgatilov Target Version => TDM 2.09