[sage-devel] Re: Anomaly with several layered parametric plots 3d when using three.js

2019-11-22 Thread Paul Masson
This is a basic problem with WebGL, which is what Three.js uses, as opposed to the canvas renderer in Jmol/JSmol. The current version of WebGL does not handle transparency very well, and there's not much we can do about that. Transparent objects in WebGL are treated as if they are located entire

Re: [sage-devel] Anomaly with several layered parametric plots 3d when using three.js

2019-11-22 Thread Dima Pasechnik
yes, it does not look too well in three.js in Jupyther notebook. You can use jmol, just use show(d1+d2+d3+d4+d5,viewer='jmol') as the last command. On Fri, Nov 22, 2019 at 4:46 PM João Palhoto Matos wrote: > > The sage code producing the example and two 3d models, one correct produced > with j

[sage-devel] Anomaly with several layered parametric plots 3d when using three.js

2019-11-22 Thread João Palhoto Matos
The sage code producing the example and two 3d models, one correct produced with jsmol in sage 8.8, and other showing the problem produced with three.js in sage 9.0beta6, are available from https://cdi2tp.math.tecnico.ulisboa.pt/test#sage -- You received this message because you are subscribed

Re: [sage-devel] Re: [sage-support] Error in operations of finite field

2019-11-22 Thread David Roe
The issue is that you redefined x after defining K. I wrote more on the ticket. David On Fri, Nov 22, 2019 at 1:57 AM Dima Pasechnik wrote: > This is a variable name clash. Somehow, using 'x' for modulus creates a > problem. > If I instead do > > T.=GF(2)[] > K.=GF(2^6, modulus=xx^6 + xx^4 + xx

[sage-devel] Re: [sage-support] Error in operations of finite field

2019-11-22 Thread Dima Pasechnik
This is a variable name clash. Somehow, using 'x' for modulus creates a problem. If I instead do T.=GF(2)[] K.=GF(2^6, modulus=xx^6 + xx^4 + xx^3 + xx + 1) ... then everything works as expected. On Fri, Nov 22, 2019 at 9:51 AM Dima Pasechnik wrote: > > This is now https://trac.sagemath.org/tic

[sage-devel] Re: [sage-support] Error in operations of finite field

2019-11-22 Thread Dima Pasechnik
This is now https://trac.sagemath.org/ticket/28786 Note that it only happens if modulus is explicitly given. On Fri, Nov 22, 2019 at 9:47 AM Dima Pasechnik wrote: > > yes, I can confirm this is still giving an error in the latest Sage > beta. (9.0.beta6). > Note that actually it's two identical i