Hello, friends. Tell me please what values should ??I set for D3DRS_POINTSCALE_A, D3DRS_POINTSCALE_B, D3DRS_POINTSCALE_? to point sprites scaled just like other objects in the scene. The parameters A = 0 B = 0 and C = 1 (proposed by F. D. Luna) not suitable because the scale is not accurate enough and the distance between the particles (point sprites) can be greater than it should be. If I replace the point sprites to billboards, the scale of the particles is correct, but the rendering is much slower. Help me please because the speed of rendering particles for my task is very important but the precise of their scale is very important too.
Direct3D computes the screen-space point size according to the following formula: [link=http://msdn.microsoft.com/en-us/library/windows/desktop/bb147281(v=vs.85).aspx][/link]
I can not understand what values ??should be set for A, B, C to scaling was correct
P.S. Sorry for my english I'm from Russia
0 · ·