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.
Continuous colored 3D surface in WPF
Continuous colored 3D surface in WPF
- Attachments
-
- sheet flatness.png (166.66 KiB) Viewed 12658 times
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Continuous colored 3D surface in WPF
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.
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.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Continuous colored 3D surface in WPF
ok, thank you for information and possible alternative tips. It would be great if this possibility appears in future teechart .NET versions
-
- Newbie
- Posts: 22
- Joined: Mon Aug 24, 2015 12:00 am
Re: Continuous colored 3D surface in WPF
Can you show me some code which 'turns on' OpenGL and implements the continuously colored surface as shown above?
-
- Newbie
- Posts: 22
- Joined: Mon Aug 24, 2015 12:00 am
Re: Continuous colored 3D surface in WPF
Steema.TeeChart.Drawing.GL.TeeOpenGL openGL = new Steema.TeeChart.Drawing.GL.TeeOpenGL(SurfaceChart.Chart);
openGL.Active = true;
openGL.ShadeQuality = true;
openGL.Active = true;
openGL.ShadeQuality = true;
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Continuous colored 3D surface in WPF
Has this answered the question for you?Anaesthesia wrote:Steema.TeeChart.Drawing.GL.TeeOpenGL openGL = new Steema.TeeChart.Drawing.GL.TeeOpenGL(SurfaceChart.Chart);
openGL.Active = true;
openGL.ShadeQuality = true;
Best Regards,
Christopher Ireland / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |