#gemrb@irc.freenode.net logs for 30 Jan 2014 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage


[01:11:57] <-- raevol has left IRC (Quit: Leaving.)
[04:16:47] --> Beholder has joined #gemrb
[04:20:53] <-- Beholder has left IRC (Ping timeout: 248 seconds)
[04:30:43] <-- |Cable| has left IRC (Ping timeout: 272 seconds)
[04:43:57] --> |Cable| has joined #gemrb
[07:36:13] --> lynxlynxlynx has joined #gemrb
[07:36:14] --- ChanServ gives channel operator status to lynxlynxlynx
[08:03:03] --> Beholder has joined #gemrb
[08:03:06] <Beholder> hi
[08:03:37] <Beholder> is it possible that points in GemPolygon is not ordered (cw or ccw)?
[08:47:19] <wjp> they should be ordered
[08:48:17] <fuzzie> having problems?
[08:52:10] <Beholder> yeah, i wrote ear-clipping triangulation implementation. It works fine for most polys, but not for all. Died man in planar sphere savegame causes to infinite loop. I have no time to debug it yestarday, i'll try it today
[09:18:37] <wjp> hm, I'm not sure the polygons are simple
[09:19:18] <wjp> they could possibly have self-intersections
[09:19:26] <wjp> although, again, I'm not sure
[10:12:55] --> Eli2 has joined #gemrb
[10:14:43] <-- Eli2_ has left IRC (Ping timeout: 245 seconds)
[10:19:26] <-- Lightkey has left IRC (Ping timeout: 264 seconds)
[10:32:43] --> Lightkey has joined #gemrb
[10:40:17] --> WingedHussar has joined #gemrb
[10:54:40] <Beholder> i'll try to visualize death man polygon to check points, if it has intersections i need to split it to polygons without intersections before triangulation
[10:56:18] <edheldil> I hope the problem is elsewhere, shipping overlapping polys sounds like a really bad idea
[11:05:39] <-- WingedHussar has left IRC (Ping timeout: 272 seconds)
[11:06:17] --> WingedHussar has joined #gemrb
[13:31:40] --> PKodon has joined #gemrb
[13:41:10] <-- Beholder has left IRC (Read error: Connection reset by peer)
[13:41:28] --> Beholder has joined #gemrb
[14:23:12] <-- wjp has left IRC (Ping timeout: 252 seconds)
[14:28:48] --> wjp has joined #gemrb
[14:45:38] --- ChanServ gives channel operator status to wjp
[16:58:07] --> raevol has joined #gemrb
[17:14:00] --> kpederse1 has joined #gemrb
[17:15:48] --> Beholder_ has joined #gemrb
[17:17:41] <-- kpedersen has left IRC (Ping timeout: 272 seconds)
[17:20:28] --> kpedersen has joined #gemrb
[17:24:01] <-- kpederse1 has left IRC (Ping timeout: 272 seconds)
[17:25:26] <Beholder_> http://i-fotki.info/16/476ac621c8f2a525ffca3c606995939abc8616173762707.png.html
[17:25:28] <Seniorita> Ifotki.info - бесплатный хостинг фотографий для форумов, дневников, гостевых книг
[17:25:29] <Seniorita> »Ресурс для публикации фотографий на форумах, дневника, личных страницах«
[17:25:49] <Beholder_> i think the problem is too small & thin parts
[17:29:41] <fuzzie> tricky
[17:31:51] <Beholder_> http://i-fotki.info/16/08c0338641bdeb09312692987a8506cdbc8616173763154.png.html
[17:31:52] <Seniorita> Ifotki.info - бесплатный хостинг фотографий для форумов, дневников, гостевых книг
[17:31:53] <Seniorita> »Ресурс для публикации фотографий на форумах, дневника, личных страницах«
[17:31:59] <Beholder_> http://i-fotki.info/16/3d97e2fd1ee6526fe2e96bbec54d5930bc8616173763154.png.html
[17:32:00] <Seniorita> Ifotki.info - бесплатный хостинг фотографий для форумов, дневников, гостевых книг
[17:32:01] <Seniorita> »Ресурс для публикации фотографий на форумах, дневника, личных страницах«
[17:32:13] <Beholder_> simple polygons
[17:32:31] <Beholder_> triangulation
[17:46:22] <Beholder_> why i get poligons from all map not only on-screen?
[18:08:47] <lynxlynxlynx> ouch
[18:10:42] <lynxlynxlynx> but can't think of anything helpful
[18:16:20] <Beholder_> skeleton polygon has a 35 vertices :o
[18:25:26] <wjp> hm, I guess we don't do a bounding box test on the polygons before sending them off to the Video driver?
[18:26:02] <wjp> but that should be easy to handle on the Video side, right?
[18:30:29] <Beholder_> right, i already do it (check for points inside viewport)
[18:30:54] <Beholder_> if no one inside, i discard this polygon
[18:32:36] <Beholder_> i see the problem with sceleton is a checking of a point-around direction
[18:33:48] <Beholder_> my method does it wrong
[18:34:12] <wjp> Gem_Polygon has a BBox you can use for bounding box checking, by the way
[18:39:03] <Beholder_> i hardcoded direction, but not right anyway (infinite loop and wrong triangulation)
[18:40:49] <Beholder_> http://i-fotki.info/16/ffc8644d5dd48ba788fdee18fbff6470bc8616173767295.png.html
[18:40:50] <Seniorita> Ifotki.info - бесплатный хостинг фотографий для форумов, дневников, гостевых книг
[18:40:51] <Seniorita> »Ресурс для публикации фотографий на форумах, дневника, личных страницах«
[18:42:50] <wjp> hm, needs a zoom function :-)
[18:44:38] <Beholder_> http://i-fotki.info/16/035fbc8a3837a28c97f0519e14986b09bc8616173767520.png.html
[18:44:39] <Seniorita> Ifotki.info - бесплатный хостинг фотографий для форумов, дневников, гостевых книг
[18:44:40] <Seniorita> »Ресурс для публикации фотографий на форумах, дневника, личных страницах«
[18:44:42] <Beholder_> wrong
[18:45:09] <Beholder_> http://i-fotki.info/16/feefc8695e0f5dd907bba6f8737864bcbc8616173767549.png.html
[18:45:09] <Seniorita> Ifotki.info - бесплатный хостинг фотографий для форумов, дневников, гостевых книг
[18:45:11] <Seniorita> »Ресурс для публикации фотографий на форумах, дневника, личных страницах«
[18:45:24] <Beholder_> right - no triangulation, only outline
[18:46:56] <wjp> how do you check for "ears"?
[18:47:35] <Beholder_> wait a min, i paste the code
[18:49:18] <Beholder_> http://pastebin.ca/2604256
[18:49:19] <Seniorita> pastebin - Miscellany - post number 2604256
[18:51:00] <wjp> hm
[18:51:27] <wjp> the break after the pointInTriangle() check is strange
[18:51:53] <wjp> since that break jumps to triangles.push_back(polygon[i]);
[18:52:26] <wjp> it should maybe only do that if j == count?
[18:52:34] <Beholder_> oh, you are right!
[19:02:14] <Beholder_> http://i-fotki.info/16/b799ed78f66b93f85b5db8bf2bbde3e3bc8616173768566.png.html
[19:02:15] <Seniorita> Ifotki.info - бесплатный хостинг фотографий для форумов, дневников, гостевых книг
[19:02:17] <Seniorita> »Ресурс для публикации фотографий на форумах, дневника, личных страницах«
[19:02:23] <Beholder_> lost some..
[19:35:10] --> Yoshimo has joined #gemrb
[19:41:26] <Beholder_> http://pastebin.ca/2604300
[19:41:28] <Seniorita> pastebin - Anonymous - post number 2604300
[19:41:43] <Beholder_> this looks right
[19:41:50] <Beholder_> but not works too
[20:04:03] <Beholder_> oops
[20:04:25] <Beholder_> polygon has repeating points
[20:25:44] <-- Yoshimo has left IRC (Quit: Yoshimo)
[20:27:50] <-- Beholder_ has left IRC (Ping timeout: 264 seconds)
[21:04:01] --> edheldil_ has joined #gemrb
[23:32:42] <-- lynxlynxlynx has left IRC (Remote host closed the connection)