(Runs at 70fps for me on normal LOVE and 300-500 on LuaJIT LOVE)
<3D is a simple 3d library for LOVE that will enable users to make simple 3d games. It should allow a few thousand colored triangles/quads to be rendered in real time. Here's a sample of the API:
Game = Object:new()
function Game:Game()
self.mdl = Model:new(objstring)
self.camera = Camera:new()
end
function Game:update(dt)
self.mdl:rotate(1*dt, 1*dt, 1*dt)
end
function Game:draw()
self.camera:draw(self.mdl)
end
love.state(Game:new())
That's using my "loove" project, but it will work without that too. How about a demo?
xXxMoNkEyMaNxXx wrote:Why don't you implement my Textured polygons for all? I'm thinking of textured meshes...
Shameless plug is shameless...
Anyway: That lloks really good, if you could add some colour/lines to see different vertexes it might be clearer as to what shape it is because ATM its all 1 colour
xXxMoNkEyMaNxXx wrote:Why don't you implement my Textured polygons for all? I'm thinking of textured meshes...
Shameless plug is shameless...
Anyway: That lloks really good, if you could add some colour/lines to see different vertexes it might be clearer as to what shape it is because ATM its all 1 colour
I think what xXxMoNkEyMaNxXx would like is something like the demo below only with a real 3D system (like yours) that can handle 3D operations (on quads rather than triangles) rather than the cobbed up one I used in the demo.
Just some chopped together code to show what could be done with textured quads (really quire limiting).
Code doesn't deal properly with a limited number of quads because of the primitive way 'z' data is handled.
Textured triangles really would be nice!
Username wrote:After playing a bit with your last example, i got this:
Never said it was idiot proof (sorry).
Just an exampe to let you explore the limits of what you could do at this point in time with textured quads.
Could have just given you a rotating torus but that wouldn't have been any fun.