Page 1 of 1
Continuous colored 3D surface in WPF
Posted: Thu Dec 11, 2014 1:12 pm
by 9535497
Hi Steema,
Is it possible to create continuous colored 3D surface in WPF? I mean not only solid colored surface rectangles, but with color gradient depending on height (see attachment). I'm able to do this in .NET form application by enabling openGl, but not having luck in WPF.
Thanks for every advice.
Re: Continuous colored 3D surface in WPF
Posted: Tue Dec 16, 2014 9:35 am
by narcis
Hi zizou5,
I'm afraid not, this is an OpenGL specific functionality. What you can do is defining gradient sort of ColorRange as shown in the
All Features\Welcome !\Chart styles\Extended\Contour\Palette and Color range or
All Features\Welcome !\Chart styles\Extended\Surface\Wireframe and palette examples in the features demo, available at TeeChart's program group. As an alternative, you can create your custom color palette as in the example I made
here.
Re: Continuous colored 3D surface in WPF
Posted: Mon Dec 22, 2014 1:48 pm
by 9535497
ok, thank you for information and possible alternative tips. It would be great if this possibility appears in future teechart .NET versions
Re: Continuous colored 3D surface in WPF
Posted: Tue Sep 08, 2015 7:12 pm
by 16075226
Can you show me some code which 'turns on' OpenGL and implements the continuously colored surface as shown above?
Re: Continuous colored 3D surface in WPF
Posted: Tue Sep 08, 2015 8:32 pm
by 16075226
Steema.TeeChart.Drawing.GL.TeeOpenGL openGL = new Steema.TeeChart.Drawing.GL.TeeOpenGL(SurfaceChart.Chart);
openGL.Active = true;
openGL.ShadeQuality = true;
Re: Continuous colored 3D surface in WPF
Posted: Wed Sep 09, 2015 9:29 am
by Christopher
Anaesthesia wrote:Steema.TeeChart.Drawing.GL.TeeOpenGL openGL = new Steema.TeeChart.Drawing.GL.TeeOpenGL(SurfaceChart.Chart);
openGL.Active = true;
openGL.ShadeQuality = true;
Has this answered the question for you?