Christian Wolinski

MaplePrimes Activity


These are replies submitted by Christian Wolinski

@Rouben Rostamian  You wish for what once was, as do I. Maple 5.4 had an arbitrary amount of sources of light. I never checked limits for it. I imagine their new interface coerced this change. Lame.

@Carl Love I just found this online, quite randomly since I gave up on this issue.

From Maple Help page:

 

Lighting Schemes

 
  

No Lighting displays the surface as though no colored lights were shining on it.

  

User Lighting displays the surface with a user-defined lighting scheme that was defined with the light option in the plot command that created the plot.

  

Light Scheme 1 displays the surface with three directional light coordinates: (90.0, -45.0, 0.0, 0.9, 0.0), (-45.0, 45.0, 0.0, 0.0, 0.9), and (45.0, 90.0, 0.9, 0.0, 0.0). To interpret these coordinates, see plot3d/options.

  

Light Scheme 2 displays the surface with three directional light coordinates: (90.0, 45.0, 0.9, 0.0, 0.0), (45.0, 45.0, 0.0, 0.9, 0.0), and (-45.0, 90.0, 0.0, 0.0, 0.9).

  

Light Scheme 3 displays the surface with three directional light coordinates: (45.0, 45.0, 0.0, 0.0, 0.9), (45.0, 45.0, 0.0, 0.9, 0.0), and (135.0, 0.0, 0.9, 0.0, 0.0).

  

Light Scheme 4 displays the surface with one directional light at coordinate: (60.0, 85.0, 0.8, 0.8, 0.8).


I tried again with Maple 5.4 and Maple 2017. Result is clear: Maple 2017 render is bugged.
Some observations:
1) only the last light in the sequence of lights is applied to the object
2) the condition persists when using DAG objects.

L:=[[(45.0, 45.0, 0.0, 0.0, 0.9)],[(45.0, 45.0, 0.0, 0.9, 0.0)], [(135.0, 0.0, 0.9, 0.0, 0.0)]];
plot3d(1, alpha = 0 .. 2*Pi, beta = 0 .. Pi, coords = spherical, color = white, style = patchnogrid, view = [(-2 .. 2)$3], axes = boxed, scaling=constrained, grid=[81,41], light=L[1], light=L[2], light=L[3],ambientlight=[0.5,0.5,0.5]);
plot3d(1, alpha = 0 .. 2*Pi, beta = 0 .. Pi, coords = spherical, color = white, style = patchnogrid, view = [(-2 .. 2)$3], axes = boxed, scaling=constrained, grid=[81,41], lightmodel=light3);

Maple 5.4:

Maple 2017:

@Carl Love So that is the difference. They removed colors from light models. How pathetic.

@Carl Love Forgot to label these. First one is Maple 2017, second one is Maple 5.4. My apologies.

Maple 2017.

plot3d(1, alpha = 0 .. 2*Pi, beta = 0 .. Pi, coords = spherical, color = white, lightmodel = light3, style = patchnogrid, view = [(-2 .. 2)$3], axes = boxed, scaling=constrained, grid=[81,41]);



Maple 5.4

plot3d(1, alpha = 0 .. 2*Pi, beta = 0 .. Pi, coords = spherical, color = white, lightmodel = light3, style = patchnogrid, view = [(-2 .. 2)$3], axes = boxed, scaling=constrained, grid=[81,41]);
 

@Carl Love I see what you see. I still believe this is all wrong. Why can I not induce color? I recall lightmodel being much more useful than this.

plot3d(0, 0..1, 0..1, glossiness=0.5, lightmodel= light3, style=patchnogrid, orientation= [80, 30, -36]);
plot3d(0, 0..1, 0..1, color=grey, glossiness=0.5, lightmodel= light3, style=patchnogrid, orientation= [80, 30, -36]);

 

@shkarah I find it a bad idea to make an assigment to "f(x)" and then use "f[i](x)" at the same time. I am betting this would be a problem for some procedures. I do not know the actual source of the problem you've had.

@shkarah use this:

i := 'i':
N := 4;
F := sum(p^i*f[i](x), i = 0 .. N);
HPMEq := (1 - p)*(diff(F, `$`(x, 3))) + p*((diff(F, `$`(x, 3))) + 1/2*(diff(F, x, x))*F);
for i from 0 to N do equ[2][i] := coeff(HPMEq, p, i) = 0 end do;

 

@emendes I think the student package is intended for high school students.

@mschneider My code ensures that both logs valuate only to reals. That is all it does.

@Carl Love Wow!  I thought of using solve, but then I saw it would never work... My mistake.

@Shiyao I would presume it is because the second integral is applying to lns and arctans and lots of radicals.

@acer In your fix, did you edit the contents of the .mw file directly?
I meant for the author to reinstate the formatting of the document from the text given.

Can I skip the exercises?

@vv and Your query does not ask Maple the question you are attempting: "whether some number is real".

First 8 9 10 11 12 13 14 Last Page 10 of 21