Way to color/shade surface according to values of another function evaluated on the surface?

OlyDLG shared this question 3 years ago
Needs Answer

For example, I want to color or shade the surface g(x,y,z)=x^2+y^2+z^2-2=0 according to the values thereon of f(x,y,z)=2x^2+y^2+z^2. Thanks for your help.

© 2023 International GeoGebra Institute