mipmap distance

Blitz3D Forums/Blitz3D Programming/mipmap distance

EmerGki(Posted 2007) [#1]
Hi guys, have some way to control the distance to mipmapping?


bytecode77(Posted 2007) [#2]
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



EmerGki(Posted 2007) [#3]
Thank You Devils Child, I'll try this!!! =D


FlagDKT(Posted 2008) [#4]
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


FlagDKT(Posted 2008) [#5]
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