DiscussionsIssue archiveVisualization and 3D Viewer

Archived discussion

Multi-sampling Issue

Visualization and 3D ViewerFri, 10/26/2018 - 14:411 reply

Browse this forum
QuestionAuthor

Hi,

I am currently developing a viewer application using OpenCascade 7.3.0. I have based the initial framework off the WPF_D3D sample, using a D3DHost_View to update the source of a WPF D3DImage.

I have been trying to enable Multisampling and when I change the NbMsaaSamples to a value greater than 0 the sampling is correctly applied but the view is rendered inverted. (See attachment, left has no sampling, right has NbMsaaSamples = 32)

Is there a setting im missing that could be causing this?

Any help would be much appreciated.

Discussion

1 archived reply

Posts are displayed in their archived order.

01Commenter-1

This is a current limitation of WPF_D3D sample, it doesn't support flipping output buffer for OpenGL->Direct3D conversion in case if buffer defines MSAA samples.
You may consider contributing OCCT a patch or contacting Open CASCADE support services to solve the issue.