These are chat archives for pixijs/pixi.js

25th
Aug 2016
Ivan Popelyshev
@ivanpopelyshev
Aug 25 2016 01:32
you are lucky
We jut ha this issue
Looking for closed issues...
look for #2794
Basically, set position of graphics as a big part of your coordinates, thus making polygon coords small
Ivan Popelyshev
@ivanpopelyshev
Aug 25 2016 01:37
Nd set high precision for pixi const, thatll help too. Look in the issue for actual code
Its like "far lands" in minecraft :)
sam-locuslabs
@sam-locuslabs
Aug 25 2016 01:44
thanks... will try that
Ivan Popelyshev
@ivanpopelyshev
Aug 25 2016 01:44
Btw, sprite coords are calculated on js side, thats why they are not affected. Graphcs is multiplied on translation matrix in shader because it has many vertices, for speed
Its 4:44 i cant sleep and im on railroad in south of russia, battery low, you are vry lucky that i gave you advice :)
sam-locuslabs
@sam-locuslabs
Aug 25 2016 01:47
:)... have a good trip and get some sleep!
Ivan Popelyshev
@ivanpopelyshev
Aug 25 2016 01:48
Thank you. Ok one more try it goes zzzzzzzzz
Pedro Cunha
@pedromcunha
Aug 25 2016 15:07
Hey guys, I'm a noob when it comes to pixi, is there a way to take screens from a camera and put it into a pixi canvas?
Ivan Popelyshev
@ivanpopelyshev
Aug 25 2016 19:04
do it for regular canvas, use Texture.fromCanvas, use texture.basetexture.update() if you do it again