changing the light to directional seemed to make it a bit smoother after updateing normals,
or when i loaded a cube from a modeler with a smooth group of 90.
Thats kinda strange, its seems like a directional light should "pop in " more than a point light.
Graphics3D 800,600,32,1
SetBuffer BackBuffer()
cube=CreateCube()
UpdateNormals cube
AmbientLight 0,0,0
light=CreateLight(1)
PositionEntity light,30,0,-30
camera=CreateCamera()
PositionEntity camera,0,0,-3
While Not KeyHit(1)
TurnEntity cube,.5,.5,1.1
UpdateWorld
RenderWorld
Flip
Wend
End
Zmatrix
or when i loaded a cube from a modeler with a smooth group of 90.
Thats kinda strange, its seems like a directional light should "pop in " more than a point light.
Graphics3D 800,600,32,1
SetBuffer BackBuffer()
cube=CreateCube()
UpdateNormals cube
AmbientLight 0,0,0
light=CreateLight(1)
PositionEntity light,30,0,-30
camera=CreateCamera()
PositionEntity camera,0,0,-3
While Not KeyHit(1)
TurnEntity cube,.5,.5,1.1
UpdateWorld
RenderWorld
Flip
Wend
End
Zmatrix