not much to say that isn't described in pbapi.md, but basically it's a way to have per-vertex colors and coordinates, which is pretty nice for some things. especially advanced things, because this is a fairly advanced feature
still wip, docs are not entirely correct, etc. i also don't know if it'll run on osx. also you need a luajit2 build of love to run it, because once you go ffi you don't go back!
includes a pretty crappy test demo thing
https://github.com/fogfx/love2d-pointbatch
PointBatch prototype
Re: PointBatch prototype
Love to play but apparently must have an older version of lovejit.
Do you kown of a source for a windows pre-compiled version you are using?
Do you kown of a source for a windows pre-compiled version you are using?
Re: PointBatch prototype
you may be able to get away with an older beta as long as it has ffi supportRef wrote:Love to play but apparently must have an older version of lovejit.
Do you kown of a source for a windows pre-compiled version you are using?
but anyway i'll attach the one i'm using
- Attachments
-
- 8.0j.zip
- lovejit b10
- (2.07 MiB) Downloaded 202 times
Re: PointBatch prototype
Some progress - I no longer get Love complaining but isn't you're demo more than a blank (black) screen?Xgoff wrote:you may be able to get away with an older beta as long as it has ffi supportRef wrote:Love to play but apparently must have an older version of lovejit.
Do you kown of a source for a windows pre-compiled version you are using?
but anyway i'll attach the one i'm using
Re: PointBatch prototype
you should be seeing a multicolored wiggly love logoRef wrote:Some progress - I no longer get Love complaining but isn't you're demo more than a blank (black) screen?Xgoff wrote:you may be able to get away with an older beta as long as it has ffi supportRef wrote:Love to play but apparently must have an older version of lovejit.
Do you kown of a source for a windows pre-compiled version you are using?
but anyway i'll attach the one i'm using
try enabling the console in conf.lua (should add that file to the repo...) and see if there's any output (probably not, but who knows)
EDIT: okay i updated the repo. if you could post the contents of the glext.txt file that gets generated when you run the test file, that would be awesome
Re: PointBatch prototype
Babe in the woods here.
Requested file attached.
Hope it means something to you!
Requested file attached.
Hope it means something to you!
- Attachments
-
- glext.txt
- File generated
- (2.08 KiB) Downloaded 177 times
Re: PointBatch prototype
Ref wrote:Babe in the woods here.
Requested file attached.
Hope it means something to you!
well, i found out my laptop doesn't draw it either, so i'll have to look into this
EDIT: ok, i did something really stupid and committed a fix. hopefully that works.
Re: PointBatch prototype
Have you updated the files?
Redownloaded everything and I still get the very LOVEly black screen.
Redownloaded everything and I still get the very LOVEly black screen.
Re: PointBatch prototype
yesRef wrote:Have you updated the files?
Redownloaded everything and I still get the very LOVEly black screen.
i'm not quite sure then... your card supposedly supports vertex buffer objects (but then again it's an intel igp so it may well by lying) i'll implement a vertex array fallback soon and see if that helps, although i might not be able to work on this for a couple of days
EDIT: do spritebatches work correctly? if they do then at least i know it's a problem in my code
Re: PointBatch prototype
SpriteBatch works fine so no need to tromp on my mule. :>)Xgoff wrote: EDIT: do spritebatches work correctly? if they do then at least i know it's a problem in my code
Really look forward to seeing what can be done with PointBatch.
Best
Who is online
Users browsing this forum: No registered users and 0 guests