raptop changed the topic of #principia to: READ THE FAQ: http://goo.gl/gMZF9H; The current version is Galileo. We currently target 1.5.1, 1.6.1, 1.7.x, 1.8.1, and 1.9.1. <scott_manley> anyone that doubts the wisdom of retrograde bop needs to get the hell out | https://xkcd.com/323/ | <egg> calculating the influence of lamont on Pluto is a bit silly… | <egg> also 4e16 m * 2^-52 is uncomfortably large
egg|laptop|egg has quit [Remote host closed the connection]
egg|laptop|egg has joined #principia
<_whitenotifier-9244> [Principia] amicloud forked the repository - https://git.io/JUB4r
Jesin has joined #principia
egg|laptop|egg has quit [Remote host closed the connection]
egg|cell|egg has quit [Ping timeout: 189 seconds]
<_whitenotifier-9244> [Principia] wgaylord commented on issue #2636: KSP 1.10.0 - https://git.io/JUBED
Mike` has quit [Ping timeout: 189 seconds]
Mike` has joined #principia
Blu3wolf has joined #principia
raptop has quit [Ping timeout: 190 seconds]
UmbralRaptop has joined #principia
UmbralRaptor has quit [Ping timeout: 204 seconds]
egg|laptop|egg has joined #principia
<_whitenotifier-9244> [Principia] eggrobin opened pull request #2720: Tables for Gauss-Legendre quadrature - https://git.io/JUBoz
egg|laptop|egg has quit [Remote host closed the connection]
<_whitenotifier-9244> [Principia] Pending. Build queued… - 
<_whitenotifier-9244> [Principia] Pending. Building… - http://casanova.westeurope.cloudapp.azure.com:8080/job/Principia/4505/
egg|laptop|egg has joined #principia
egg|laptop|egg has quit [Remote host closed the connection]
<_whitenotifier-9244> [Principia] Success. Build finished. - http://casanova.westeurope.cloudapp.azure.com:8080/job/Principia/4505/
egg|cell|egg has joined #principia
<discord-> S​tandecco. — @egg I need to get the color of a pixel from lat/lon coordinates, and from your pluto texture orientation info and a bit of interpolation I gathered this:
<discord-> S​tandecco. — ``` // GetPixelColor(int x, int y) returns the color of the pixel of coordinates (x,y),
<discord-> S​tandecco. — // where (0,0) identifies the bottom right corner and (width, height) matches the top left corner;
<discord-> S​tandecco. — // KSP maps are both horizontally and vertically flipped, and longitude has a 1/4 width offset;
<discord-> S​tandecco. — // therefore:
<discord-> S​tandecco. — // latitude = +90 => y = 0
<discord-> S​tandecco. — // latitude = 0 => y = height/2
<discord-> S​tandecco. — // latitude = -90 => y = height
<discord-> S​tandecco. — // and:
<discord-> S​tandecco. — // longitude = -180 => x = 3/4 * width
<discord-> S​tandecco. — // longitude = -90 => x = 0
<discord-> S​tandecco. — // longitude = 0 => x = 1/4 * width
<discord-> S​tandecco. — // longitude = +90 => x = 1/2 * width
<discord-> S​tandecco. — // longitude = +180 => x = 3/4 * width``` is it correct?
<discord-> e​gg. — @Standecco (edited)
<discord-> S​tandecco. — aw
<discord-> S​tandecco. — are you in italy?
<discord-> S​tandecco. — @egg I need to get the color of a pixel from lat/lon coordinates, and from your pluto texture orientation info and a bit of interpolation I gathered this:
<discord-> S​tandecco. — ``` // GetPixelColor(int x, int y) returns the color of the pixel of coordinates (x,y),
<discord-> S​tandecco. — // where (0,0) identifies the bottom right corner and (width, height) matches the top left corner;
<discord-> S​tandecco. — // KSP maps are both horizontally and vertically flipped, and longitude has a 1/4 width offset;
<discord-> S​tandecco. — // therefore:
<discord-> S​tandecco. — // latitude = +90 => y = 0
<discord-> S​tandecco. — // latitude = 0 => y = height/2
<discord-> S​tandecco. — // latitude = -90 => y = height
<discord-> S​tandecco. — // and:
<discord-> S​tandecco. — // longitude = -180 => x = 3/4 * width
<discord-> S​tandecco. — // longitude = -90 => x = 1/2 * width
<discord-> S​tandecco. — // longitude = 0 => x = 1/4 * width
<discord-> S​tandecco. — // longitude = +90 => x = 0
<discord-> S​tandecco. — // longitude = +180 => x = 3/4 * width``` is it correct? (edited)
<discord-> e​gg. — Yes, in Venice
<_whitenotifier-9244> [Principia] pleroy closed pull request #2717: New numerical utilities for integration - https://git.io/JUWd9
<_whitenotifier-9244> [Principia] pleroy pushed 6 commits to master [+4/-0/±14] https://git.io/JUBdt
<_whitenotifier-9244> [Principia] pleroy d9890e8 - Quadrature and a test.
<_whitenotifier-9244> [Principia] pleroy 75c53c5 - Add function Integrate.
<_whitenotifier-9244> [Principia] pleroy 4d69459 - Fix Primitive.
<_whitenotifier-9244> [Principia] ... and 3 more commits.
raptop has joined #principia
<_whitenotifier-9244> [Principia] pleroy commented on pull request #2720: Tables for Gauss-Legendre quadrature - https://git.io/JUBd0
<_whitenotifier-9244> [Principia] pleroy commented on issue #2636: KSP 1.10.0 - https://git.io/JUBd1
<_whitenotifier-9244> [Principia] pleroy closed issue #2636: KSP 1.10.0 - https://git.io/JJm9n
<discord-> S​tandecco. — nice, have fun with the pigeons! (and also the other stuff)
raptop changed the topic of #principia to: READ THE FAQ: http://goo.gl/gMZF9H; The current version is Galois. We currently target 1.8.1, and 1.9.1. <scott_manley> anyone that doubts the wisdom of retrograde bop needs to get the hell out | https://xkcd.com/323/ | <egg> calculating the influence of lamont on Pluto is a bit silly… | <egg> also 4e16 m * 2^-52 is uncomfortably large
<discord-> S​tandecco. — for posterity, this is the code that works:
<discord-> S​tandecco. — ```Cs
<discord-> S​tandecco. — // GetPixelColor(int x, int y) returns the color of the pixel of coordinates (x,y),
<discord-> S​tandecco. — // where (0,0) identifies the bottom right corner and (width, height) matches the top left corner;
<discord-> S​tandecco. — // KSP maps are both horizontally and vertically flipped, and longitude has a 1/4 width offset;
<discord-> S​tandecco. — // maps are flipped vertically again when stored in MAPSO;
<discord-> S​tandecco. — // therefore:
<discord-> S​tandecco. — // latitude = +90 => y = height
<discord-> S​tandecco. — // latitude = 0 => y = height/2
<discord-> S​tandecco. — // latitude = -90 => y = 0
<discord-> S​tandecco. — // and:
<discord-> S​tandecco. — // longitude = -180 => x = 3/4 * width
<discord-> S​tandecco. — // longitude = -90 => x = 1/2 * width
<discord-> S​tandecco. — // longitude = 0 => x = 1/4 * width
<discord-> S​tandecco. — // longitude = +90 => x = 0
<discord-> S​tandecco. — // longitude = +180 => x = 3/4 * width
<discord-> S​tandecco. —
<discord-> S​tandecco. — // parse color from color map
<discord-> S​tandecco. — int x = Convert.ToInt32((90 - lon) / 360 * Width);
<discord-> S​tandecco. — int y = Convert.ToInt32((90 + lat) / 180 * Height);```
raptop has quit [Read error: Connection reset by peer]
raptop has joined #principia
Blu3wolf has quit [Quit: Konversation terminated!]
raptop has quit [Ping timeout: 189 seconds]
UmbralRaptop has quit [Ping timeout: 204 seconds]
UmbralRaptop has joined #principia
raptop has joined #principia
bees has quit [Ping timeout: 204 seconds]
bees has joined #principia
egg|laptop|egg has joined #principia
<_whitenotifier-9244> [Principia] eggrobin synchronize pull request #2720: Tables for Gauss-Legendre quadrature - https://git.io/JUBoz
<_whitenotifier-9244> [Principia] Pending. Build queued… - 
<_whitenotifier-9244> [Principia] Pending. Building… - http://casanova.westeurope.cloudapp.azure.com:8080/job/Principia/4506/
egg|laptop|egg has quit [Remote host closed the connection]
egg|laptop|egg has joined #principia
egg|cell|egg has quit [Ping timeout: 204 seconds]
egg|cell|egg has joined #principia
<_whitenotifier-9244> [Principia] Success. Build finished. - http://casanova.westeurope.cloudapp.azure.com:8080/job/Principia/4506/
<discord-> e​gg. — @Standecco saw a seagull eating a pigeon so I guess that is one way to have fun with the pigeons
egg|laptop|egg has quit [Remote host closed the connection]
egg|laptop|egg has joined #principia
<discord-> K​itten Dispenser. — does upgrading to the latest version of Principia necessitate a restart?
<discord-> e​gg. — Of KSP? Yes. Of your computer? No. Of your game? No, we are save-compatible from one version to the next, and we mention it in the change log when we drop compatibility with truly ancient versions. Of the universe? Not that I kn—
<raptop> You fool, you've doomed us all!
<discord-> l​pg. — a new principia release obviously necessitates a restart of egg