Form what I can see, the 3D Graphics command voids return value, so there is no TGraphics (or TGLGraphics?) object exposed.In order to switch graphics objects such as:[vode]Global GPU_CURRENT:TGraphics'.... GPU_CURRENT=Graphics(W,H,D) '.... If (GPU_CURRENT<>Null) CloseGraphics(GPU_CURRENT) GCCollect End If GPU_CURRENT = Graphics(NewW, NewH, NewD)
'testc:TCamera = CreateCamera()teste:TEntity = CreateSphere()testl:TLight = CreateLight()AmbientLight(128,128,128)