Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8539

How to control shadow in m_bShadeSurface?

$
0
0

@yyo942512 wrote:

hello, everyone. I am a rhino C++ Plugin Beginner.
i want to capture views and create its hbitmap in order to convert to cv::Mat.
in this processing ,I used CDisplayPipelineAttributes.m_bShadeSurface to replace render mesh for convenience.
but i don’t know how to control surface’s shadow , the image in opencv like this.
48266625_2222087828113938_2387385776531832832_n
at this time, the view of rhino is
48365425_2261203527247385_4680243927083646976_n
Please tell me what was missing in the process.
This is my test code, I will be grateful for any help you can provide.
code.cpp (2.2 KB)

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 8539

Trending Articles