<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>How can I render a window on screen with vtkOpenVRRenderWindow?</div><div>The relevant code in VTK8.1 is following:</div><div>       this->HelperWindow->SetDisplayId(this->GetGenericDisplayId());</div><div>       this->HelperWindow->SetOffScreenRendering(1);//I tried to comment out this line, </div><div>                                                                  //then a black window appeared on the screen. </div><div>                                                                //This window did not do any rendering.</div><div>       this->HelperWindow->Initialize();</div><div>The relevant code using sdl in VTK8.0 is following:</div><div><div>    this->WindowId = SDL_CreateWindow( this->WindowName,</div><div>        this->Position[0], this->Position[1],</div><div>        this->Size[0] / 2, this->Size[1] / 2,</div><div>        unWindowFlags );</div></div><div>I want the 8.1 version to be the same as the 8.0 version on the desktop to display the rendering window and embedded into the qt main window.</div><div>Ps: I can not embed the 8.0 version's sdl window into qt window because some strange errors.</div><div>Thanks very much.</div></div><br><br><span title="neteasefooter"><p> </p></span>