I've had a quick play and I've got a wire frame mode working in Rockout under DX...
Add this somewhere before the main loop...
Add this somewhere before the main loop...
Const D3DFILL_POINT = $01 Const D3DFILL_WIREFRAME = $02 Const D3DFILL_SOLID = $03 Global d3dDriver:TD3D7Max2DDriver = D3D7Max2DDriver()And replace 'WireFrame()'...
Function WireFrame (enable = True) If enable 'glPolygonMode (GL_FRONT_AND_BACK, GL_LINE) d3dDriver.device.SetRenderState(D3DRS_FILLMODE, D3DFILL_WIREFRAME) Else 'glPolygonMode (GL_FRONT_AND_BACK, GL_FILL) d3dDriver.device.SetRenderState(D3DRS_FILLMODE, D3DFILL_SOLID) EndIf End Function