The GetSurface command (and the GetEntityBrush command) seems to always return a Null value. Is there any other way to get access to a mesh's surfaces? I'm using Klepto's extended version, btw.
Here's some sample code. In the debugger, the value for s is Null! Am I missing something?
Graphics3D 1024, 768, 32, 2
c:TMesh = CreateCube ()
s:TSurface = GetSurface( c, 0 )
DebugStop
While Not KeyDown ( KEY_ESCAPE )
Flip ()
Wend
Here's some sample code. In the debugger, the value for s is Null! Am I missing something?
Graphics3D 1024, 768, 32, 2
c:TMesh = CreateCube ()
s:TSurface = GetSurface( c, 0 )
DebugStop
While Not KeyDown ( KEY_ESCAPE )
Flip ()
Wend