Rhino 5 vs Rhino 6 Displaypipeline

#1

Hi

i’m using the sample from @dale to create preview images of geometry which he mentioned already in my last post at:

first i used this code in Rhino 5 which worked very well. But now i’m converting to Rhino 6 and now with the exact same code i got an image which is hard to recognize:

R5vsR6

I don’t know what is exactly the problem, i already tried to change the material but it’s always so dull.
Can you help me to improve the Rhino 6 preview image to get more contrast?

0 Likes

#2

If you’ve modified or even re-typed the sample code it would probably help if you posted your version here.

0 Likes

(Dale Fugier) #3

Hi @dsw,

The I’ve updated the sample preview code, that I wrote for V5, for V6. You might want to compare the changes and see if they make a difference.

https://github.com/mcneel/rhino-developer-samples/blob/6/cpp/SampleCommands/cmdSampleMeshPreviewImage.cpp

– Dale

0 Likes

#4

Hi @dale,
i used the exact same code, but the display attributes which should be applied in the line

const CDisplayPipelineAttributes* dma = CRhinoDisplayAttrsMgr::StdShadedAttrs();

does not have any affect. In my code i got the same result if i used shaded or the rendered attributes. Even if i use the wireframe attributes i got a shaded image. Any ideas?

0 Likes

(Dale Fugier) #5

Hi @dsw,

I’m going to need a sample that replicates the problem.

– Dale

0 Likes