v8.3.1, View3D, Rectangles with transparent images

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
FHubbell
Posts: 2
Joined: Thu May 24, 2018 5:26 pm

v8.3.1, View3D, Rectangles with transparent images

Post by FHubbell » Mon Jun 11, 2018 3:37 pm

Hello,

rectangles in a View3D with transparent images don't seem to work well with other rectangles in the scene. Transparent areas of a rectangle can hide the rectangles behind it. This depends on the order in which they were added and the order as they are seen from the camera. The rectangles are only displayed correctly if they are added in the opposite order in which they are seen from the camera.

Is there a way to fix this without reordering the rectangles? (Our users will be able to freely move the camera and rectangles in the scene)

I've added two images of the same scene viewed from the front and the back. The rectangles were added in order from front to back as seen in the first image. The red rectangle does not have an image, only the color is set.

Best regards,
Franklin
Attachments
View from the front
View from the front
transparent_rectangles_1.jpg (68.1 KiB) Viewed 4990 times
View from the back
View from the back
transparent_rectangles_2.jpg (63.3 KiB) Viewed 4990 times

ArctionKestutis
Posts: 552
Joined: Mon Mar 14, 2016 9:22 am

Re: v8.3.1, View3D, Rectangles with transparent images

Post by ArctionKestutis » Tue Jun 12, 2018 4:31 pm

Yes, there is Z-order issue with Rectangle3D. The best workaround is to use SurfaceGridSeries3D instead (create SurfaceGrid with Bitmap fill, and 4 nodes grid is enough).

Hope this helps.

Post Reply