[vtkusers] Strange rendering problem - renderwindow becomes black

Andras Lasso lasso at queensu.ca
Tue Sep 18 21:13:39 EDT 2018


Determinant of this matrix is negative, which means that you turn the model inside out. You can use vtkReverseSense or vtkPolyDataNormals (with auto-orientation enabled) to fix it.

Andras

________________________________
From: vinmean <iamdpak at gmail.com>
Sent: Tuesday, September 18, 2018 6:39 PM
To: vtkusers at vtk.org
Subject: Re: [vtkusers] Strange rendering problem - renderwindow becomes black

The problem is with some of the transformation matrices. But I don't see any
thing wrong with the matrix as the same matrix works well with actors
without textures. Below is one such matrix that gives me this issue.

        Eigen::Matrix4d tmat;
         tmat <<   0.997911, -0.00378345,   0.0644943,   0.0259245,
         -0.0180899,    0.941987,    0.335162,    0.129426,
          0.0620209,    0.335629,    -0.93995,   -0.772905,
                  0,           0,           0,           1;





--
Sent from: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvtk.1045678.n5.nabble.com%2FVTK-Users-f1224199.html&data=02%7C01%7Classo%40queensu.ca%7C88d54845897f4bf2714c08d61db79ef5%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636729071828430400&sdata=FjVCEvm0JWIHwbXQRgWtNdRpStJ3gU0%2BwDj0Sfjyetw%3D&reserved=0
_______________________________________________
Powered by https://na01.safelinks.protection.outlook.com/?url=www.kitware.com&data=02%7C01%7Classo%40queensu.ca%7C88d54845897f4bf2714c08d61db79ef5%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636729071828430400&sdata=6mgDyX8naFmFC7JMMWReUbLp4M9jC1FyQjiEJ8qqCQA%3D&reserved=0

Visit other Kitware open-source projects at https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2Fopensource%2Fopensource.html&data=02%7C01%7Classo%40queensu.ca%7C88d54845897f4bf2714c08d61db79ef5%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636729071828430400&sdata=fheKAHrKjeLtKRqmXJ0JFHm%2FhvaSa6QxWva9z%2FBUBfo%3D&reserved=0

Please keep messages on-topic and check the VTK FAQ at: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.vtk.org%2FWiki%2FVTK_FAQ&data=02%7C01%7Classo%40queensu.ca%7C88d54845897f4bf2714c08d61db79ef5%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636729071828430400&sdata=%2F2TsMf9XvU%2BCUbIQYMs9%2B2BwKkoO5fsaJ9%2BxW96krF4%3D&reserved=0

Search the list archives at: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmarkmail.org%2Fsearch%2F%3Fq%3Dvtkusers&data=02%7C01%7Classo%40queensu.ca%7C88d54845897f4bf2714c08d61db79ef5%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636729071828430400&sdata=7aTYn9vEv%2BFzwOxsv%2FsXXuHMD8n%2FtVJQiaYp%2BRpASC8%3D&reserved=0

Follow this link to subscribe/unsubscribe:
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpublic.kitware.com%2Fmailman%2Flistinfo%2Fvtkusers&data=02%7C01%7Classo%40queensu.ca%7C88d54845897f4bf2714c08d61db79ef5%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636729071828430400&sdata=QTTo2%2B4PcNSgqxMNFczJnsrrDtdtxHU4u6QD57IG0yQ%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180919/d4e3fce6/attachment.html>


More information about the vtkusers mailing list