mipmap distance
Blitz3D Forums/Blitz3D Programming/mipmap distance
| ||
| Hi guys, have some way to control the distance to mipmapping? |
| ||
| of course download my shadow system (devil shadow system) on www.devil-engines.net there is a dll with following command:
for i = 0 to 7
DX7_SetMipmapLODBias%(SOMETHING_BETWEEN_0_AND_1000000000,i)
nextz
|
| ||
| Thank You Devils Child, I'll try this!!! =D |
| ||
For i = 0 To 7
DX7_SetMipmapLODBias(0,i)
Next
Memory access violation! with DevilShadowSystem_DX7.dll taken from: http://devil-engines.dev-ch.de/Downloads/DSS_1.35u.zip |
| ||
Ops..forgot to include:
d3d=SystemProperty$("Direct3D7")
dev7=SystemProperty$("Direct3DDevice7")
draw7=SystemProperty$("DirectDraw7")
hwnd=SystemProperty$("AppHWND")
instance=SystemProperty$("AppHINSTANCE")
If SetSystemProperties(d3d,dev7,draw7,hwnd,instance) RuntimeError "Error setting 1 or more System Propertys!"
However the mipmap bias accepts negative values too |