Import sidesign.minib3d Graphics3D 800 , 600 , 0 , 2 Local Cam:TCamera = CreateCamera() Local Light:TLight = CreateLight() PositionEntity Cam , 0 , 10 , - 10 Local cube:TMesh = CreateCube() PointEntity Cam,Cube While Not KeyHit(Key_Escape) TurnEntity(cube,0.5,0.5,0.5) 'FirstPass CameraClsMode cam,True,True Wireframe(False) EntityColor cube , 0 , 255 , 0 RenderWorld() 'Second Pass CameraClsMode cam , False , False EntityColor cube , 255 , 0 , 0 Wireframe(True) RenderWorld() Flip Wend
It is not commented but a look in the manual section in this forum should make the program more clear. In my hopefully soon available extended Version will be an additional command, which will enable you to choose the desired rendermode per entity(Full,Wire,Point).
greetings.