Page 1 of 1

Drawing Point3D series without perspective in FullRotation

Posted: Thu Jun 12, 2014 9:02 am
by 16568578
Dear all,

I'd like to draw a Point3D series like it is drawn in 2D.
Currently if I turn the chart (Rotate Tool) the points are drawn as ellipses with perspective deformation applied to them.

I'd like to see them as simple circle from all views.
Best would be to have "bubbles" or "balls" like it is 3D - but simple circles are good as well.

a few pictures to demonstrate it:

Scaling the points by depth would be OK but not necessary.

Thanks for any ideas !

Re: Drawing Point3D series without perspective in FullRotation

Posted: Thu Jun 12, 2014 9:27 am
by yeray
Hello,

Have you tried activating OpenGL?

Code: Select all

uses TeeOpenGL;
//...
var OpenGL1: TTeeOpenGL;
//...
  OpenGL1:=TTeeOpenGL.Create(Self);
  OpenGL1.TeePanel:=Chart1;
  OpenGL1.Active:=true;

  Series1.Pointer.Style:=psCircle;
  Series1.Pointer.Pen.Visible:=false;

Re: Drawing Point3D series without perspective in FullRotation

Posted: Thu Jun 12, 2014 9:59 am
by 16568578
Hi Yeray,

unfortunately OpenGL has some different problems.
It was not realy looking nice (last time I looked at it) and TNearestTool for selecting a Point is not working correctly.

Currently I would like to do it with the normal 3D chart GDI+/GDI

Re: Drawing Point3D series without perspective in FullRotation

Posted: Thu Jun 12, 2014 12:53 pm
by yeray
Hello Christian,

All the coordinates are transformed to the 3D perspective and I'm afraid it isn't straightforward to modify this process to only do a part of these calculations.
I see you own the sources, so you are free to give it a try to modify them according to your needs.
Also, this could be a good enhancement for the wish list. You can create a ticket yourself.

Re: Drawing Point3D series without perspective in FullRotation

Posted: Fri Jun 13, 2014 8:11 am
by 16568578
Hi Yeray,

I just did as you suggested.
I did 3 modifications to 3 files - if you like I can send them to you.

Maybe you could include a property to switch this behaviour in future releases - as it helps me a lot not to modify the sources on each update.

Best regards
Christian Ziegelt

Re: Drawing Point3D series without perspective in FullRotation

Posted: Fri Jun 13, 2014 11:23 am
by yeray
Hello Christian,

We'll be glad to take a look at your modifications and try to introduce them into the sources.
You can post the files at our upload page, and please tell us after doing it.