gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Some Picking

#168545 - chebastian - Mon May 04, 2009 3:04 pm

First of all, there seems to be some problem with picking and n0$gba, cant seem to get the picking example (or mine) working on the emulator, on the ds both work fine.
Anyone had the same problem, and possibly a solution?
(I actually sat debugging my app for hours untill i found this out... xD )

Second, simply put how do i transform PosTestXresult into world coordinates? cause it aint if im not mistaken..

Third, is there already a world to screenspace conversion function somewhere in libnds?

Thanks in advance.

#168549 - ritz - Mon May 04, 2009 5:16 pm

chebastian wrote:
there seems to be some problem with picking and n0$gba, cant seem to get the picking example (or mine) working on the emulator, on the ds both work fine

no$gba doesn't support the GFX_POLYGON_RAM_USAGE / GFX_VERTEX_RAM_USAGE registers (they just return 0 on read) which the picking example uses

#168555 - chebastian - Tue May 05, 2009 12:51 am

thanks, is there any other emulator that can run it?
none of my games seem to work on ideas at all.

#168557 - ritz - Tue May 05, 2009 4:11 am

I think ideas supports GFX_VERTEX_RAM_USAGE in one of the latest builds. I know of no other emulator that supports these registers.