PointBatch prototype

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
Xgoff
Party member
Posts: 211
Joined: Fri Nov 19, 2010 4:20 am

PointBatch prototype

Post by Xgoff »

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
User avatar
Ref
Party member
Posts: 702
Joined: Wed May 02, 2012 11:05 pm

Re: PointBatch prototype

Post by Ref »

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?
User avatar
Xgoff
Party member
Posts: 211
Joined: Fri Nov 19, 2010 4:20 am

Re: PointBatch prototype

Post by Xgoff »

Ref 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?
you may be able to get away with an older beta as long as it has ffi support

but anyway i'll attach the one i'm using
Attachments
8.0j.zip
lovejit b10
(2.07 MiB) Downloaded 201 times
User avatar
Ref
Party member
Posts: 702
Joined: Wed May 02, 2012 11:05 pm

Re: PointBatch prototype

Post by Ref »

Xgoff wrote:
Ref 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?
you may be able to get away with an older beta as long as it has ffi support

but anyway i'll attach the one i'm using
Some progress - I no longer get Love complaining but isn't you're demo more than a blank (black) screen?
User avatar
Xgoff
Party member
Posts: 211
Joined: Fri Nov 19, 2010 4:20 am

Re: PointBatch prototype

Post by Xgoff »

Ref wrote:
Xgoff wrote:
Ref 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?
you may be able to get away with an older beta as long as it has ffi support

but anyway i'll attach the one i'm using
Some progress - I no longer get Love complaining but isn't you're demo more than a blank (black) screen?
you should be seeing a multicolored wiggly love logo

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
User avatar
Ref
Party member
Posts: 702
Joined: Wed May 02, 2012 11:05 pm

Re: PointBatch prototype

Post by Ref »

Babe in the woods here.
Requested file attached.
Hope it means something to you!
Attachments
glext.txt
File generated
(2.08 KiB) Downloaded 177 times
User avatar
Xgoff
Party member
Posts: 211
Joined: Fri Nov 19, 2010 4:20 am

Re: PointBatch prototype

Post by Xgoff »

Ref wrote:Babe in the woods here.
Requested file attached.
Hope it means something to you!
odd.

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.
User avatar
Ref
Party member
Posts: 702
Joined: Wed May 02, 2012 11:05 pm

Re: PointBatch prototype

Post by Ref »

Have you updated the files?
Redownloaded everything and I still get the very LOVEly black screen.
User avatar
Xgoff
Party member
Posts: 211
Joined: Fri Nov 19, 2010 4:20 am

Re: PointBatch prototype

Post by Xgoff »

Ref wrote:Have you updated the files?
Redownloaded everything and I still get the very LOVEly black screen.
yes

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
User avatar
Ref
Party member
Posts: 702
Joined: Wed May 02, 2012 11:05 pm

Re: PointBatch prototype

Post by Ref »

Xgoff wrote: EDIT: do spritebatches work correctly? if they do then at least i know it's a problem in my code
SpriteBatch works fine so no need to tromp on my mule. :>)
Really look forward to seeing what can be done with PointBatch.
Best
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests