[Interest] Rendering a cylinder with QDiffuseSpecularMaterial and QPhongMaterial

Megidd Git megiddgit at gmail.com
Sat Dec 12 07:59:10 CET 2020


Hi!

A cylinder 3D mesh has points only on its two ends:

[image: image.png]

I'm using QDiffuseSpecularMaterial and also QPhongMaterial to render the
cylinder. However, both materials are rendering like this:

[image: image.png]

[image: image.png]

[image: image.png]

The complete question is posted here:

https://stackoverflow.com/q/65211533/3405291

Can anybody give me a hint on what I might be missing?

Thanks!

🙂
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20201212/2a39b93b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 9910 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20201212/2a39b93b/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 8857 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20201212/2a39b93b/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 7751 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20201212/2a39b93b/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 10875 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20201212/2a39b93b/attachment-0003.png>


More information about the Interest mailing list