Friday, 2008-09-26

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
*** bddebian has quit IRC00:28
* llnz wander off00:31
llnzlater all00:31
*** llnz has quit IRC00:31
*** JLafont has quit IRC00:47
*** tansell__ has joined #tp01:30
*** tansell__ is now known as tansell01:37
*** Alklomion has joined #tp01:41
Alklomionhey mithro: are you busy?01:42
mithroAlklomion: i'm around01:46
Alklomionmithro: do you know of any methods for translating the coordinate on a screen? if that makes sense01:47
*** tansell_ has quit IRC01:47
mithroAlklomion: what do you mean?01:47
Alklomionessentially, if the map is currently between 50 and 150, the coordinate would be drawn at 25 if the real coordinate was 7501:47
mithroit's pretty simple maths01:48
Alklomionbut 0 to 100, it would be 7501:48
mithrohrm?01:49
Alklomionnot sure what I mean still?01:50
mithroyes01:50
mithrodraw a picture and upload it somewhere :)01:50
AlklomionAs the starmap moves, the coordinates need to be translated, I'm not aware of how to work out they should be translated.01:51
mithroyes01:51
mithroso you have an "offset"01:51
mithroIE you might be at01:51
mithro+20, -1001:51
mithroand you just add them to the coordinates01:51
Alklomionaah01:52
mithroso 50, 10 becomes 80, 001:52
*** Greywhind has joined #tp01:52
mithrohey Greywhind01:53
AlklomionSo for every object that i'm planning to draw to a map, i'd need to assign them an x,y offset value?01:53
Greywhindhi mithro01:53
Greywhindi'm about to go to sleep01:53
mithrono01:53
mithroyou have a global offset for the view port01:53
mithrowhich you add to the coordinates as you draw them01:54
Alklomionok, because 1 dimension is easy. If we had a line and our viewport is from 0 to 10002:00
Alklomionour offset would be 0, and if it was 50 to 150, the offset would now be 50? or -5002:01
*** tansell has quit IRC02:03
*** tansell has joined #tp02:05
mithroAlklomion: -5002:09
mithro50+-50 = 002:09
mithroif our viewport was 21 to 121, our offset would be -2102:10
Alklomioncheers for that mithro: i now have white square planets!02:20
*** nash has quit IRC02:31
mithroyay!02:36
*** DTRemenak|RDP has joined #tp03:21
*** DTRemenak has quit IRC03:39
*** tuna has quit IRC04:08
mithroAlklomion: so where are you at?04:11
AlklomionWell, i've started the star map, it has navigation and paints some pretend planets that I created04:13
mithrookay cool04:13
mithroput you are still stuck on the pipeline connection?04:13
mithroyou going to be around on the weekend?04:13
Alklomioni should be around04:23
Alklomionand i'm still stuck on pipeline connection04:23
*** mithro has quit IRC04:33
*** Alklomion has quit IRC04:54
*** zzorn has quit IRC07:11
*** JLP has quit IRC07:50
*** bddebian has joined #tp09:45
bddebianheya09:46
*** JLafont has joined #tp10:14
*** Greywhind has quit IRC11:14
*** Erroneous has joined #tp12:36
*** Erroneous has quit IRC12:44
*** Erroneous has joined #tp12:49
*** Greywhind has joined #tp13:23
*** Greywhind has quit IRC14:05
*** zzorn has joined #tp14:15
*** JLafont has quit IRC14:52
*** JLafont has joined #tp14:55
*** bddebian has quit IRC17:00
*** Greywhind has joined #tp18:14
*** Erroneous has quit IRC18:19
*** bddebian has joined #tp21:10
*** Greywhind has quit IRC23:57

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!