Bug 373384 - Only a single 3D graph plotted
Summary: Only a single 3D graph plotted
Status: RESOLVED FIXED
Alias: None
Product: kalgebra
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-07 14:51 UTC by Maximiliano Curia
Modified: 2017-02-15 00:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maximiliano Curia 2016-12-07 14:51:45 UTC
This is a forwarded report from the Debian issue: https://bugs.debian.org/845612

----
Package: kalgebra
Version: 4:16.08.3-1
Severity: normal

Start kalgebra, choose "3D Graph". Either use one of the examples, or enter
a formula like "x*y", press <Enter>. Graph gets plotted.

Now change the formula to eg. "x+y", press <Enter>. Graph doesn't show any
surface any more, only the axes.

Even reverting to the previous formula doesn't help - no new data will be
plotted
----

Additionally, using with the example: t->vector{t,t**2,t}, somehow kalgebra does manage to redraw this particular plot, somehow I think that this is managed by analitza in a different way.

Happy hacking,
Comment 1 Aleix Pol 2016-12-15 13:14:41 UTC
I also have this issue, just looked at the code and it's _really_ weird. :/
Comment 2 Jarek 2017-01-21 10:28:37 UTC
The same problem spotted in KAlgebra 0.10 for openSUSE Leap 42.2
Comment 3 Aleix Pol 2017-02-14 23:58:57 UTC
Git commit e10d40be86b1b27e3506c478ed28add7ffcb4ef3 by Aleix Pol.
Committed on 14/02/2017 at 23:58.
Pushed by apol into branch 'master'.

Consider Plotter3D, the non-OpenGLES version, deprecated

It wasn't working well (see reported bug) and it is essentially duplicating
effort.

M  +1    -0    analitzaplot/CMakeLists.txt
M  +6    -17   analitzaplot/examples/plots3ddemo.cpp
M  +1    -0    analitzawidgets/CMakeLists.txt
M  +1    -1    analitzawidgets/plotsview3d.h

https://commits.kde.org/analitza/e10d40be86b1b27e3506c478ed28add7ffcb4ef3
Comment 4 Aleix Pol 2017-02-15 00:00:12 UTC
Git commit cb101600d027a3e509f8424dec57af115d447a23 by Aleix Pol.
Committed on 15/02/2017 at 00:00.
Pushed by apol into branch 'master'.

Use PlotsView3DES to render 3D plots

Uses the same code we use on the mobile version, which doesn't have the
reported bug.

M  +6    -6    src/kalgebra.cpp
M  +3    -4    src/kalgebra.h

https://commits.kde.org/kalgebra/cb101600d027a3e509f8424dec57af115d447a23