ShowFrameBuffer is not being called by Rhino


#1

Hello

I’ve tried ViewportRendering C++ sample but it worked for me only once and currently I can see that CRhinoDisplayPipeline::ShowFrameBuffer is not being called by Rhino, the rest code works properly
pDoc->DeferredRedraw() is also being called as expected

what it could be?


#2

Additional info:

It works properly only when Pipeline has been just registered and if plugin starts and pipeline is already registered then Rhino does not call ShowFrameBuffer


#3

I’ve found that issue happens becuase theoption on the image below is not set to my Pipeline and even if I change it using this dialog Rhino does not remember that and after Rhino’s start this option is always in “OpenGL” state


(Dale Fugier) #4

The pipeline is not saved with the display mode. Just re-assign it when you load your plug-in.

https://github.com/mcneel/Rhino5Samples_CPP/blob/master/SampleViewportRenderer/SampleViewportRendererPlugIn.cpp


#5

Ok, thanks, it looks to be resolved