What is the basic requirement for 3d stuff?
Posted: Mon Oct 19, 2020 2:36 pm
Hello, as I asked in the title, what are the basic things to make 3d things?
I created a transformation with the line
local camera = love.math.newTransform()
I slightly rotated the transformation matrix that I created.
camera: setMatrix (0.9876883,0.0244717, -0.1545085,0,0,0.9876883,0.1564345,0,0.1564345, -0.1545085,0.9755283,0,0,0,0,1)
then I tried line bellow in draw function but I got a meaningless drawing.
love.graphics.applyTransform (camera)
I created a transformation with the line
local camera = love.math.newTransform()
I slightly rotated the transformation matrix that I created.
camera: setMatrix (0.9876883,0.0244717, -0.1545085,0,0,0.9876883,0.1564345,0,0.1564345, -0.1545085,0.9755283,0,0,0,0,1)
then I tried line bellow in draw function but I got a meaningless drawing.
love.graphics.applyTransform (camera)