demo code:
int main(int argc, char **argv)
{
RendererOptions ro;
ro.showFrameBuffer = true;
ro.enableFrameBuffer = true;
VRayInit init(true);
VRayRenderer* renderer;
try
{
renderer = new VRayRenderer(ro);
renderer->vfb.show(true, true);
}
catch (const VRay::VRayException ex)
{
std::cout << ex.what() << std::endl;
}
bool result = renderer->vfb.loadImage("123.exr");
result = renderer->vfb.saveImage("123.bmp");
}
Same code in SDK 4.30.3.1 works fine,but in SDK 5.10.01
VFB UI can't display, vfb.loadimage return true,but vfb.saveimage return false.
int main(int argc, char **argv)
{
RendererOptions ro;
ro.showFrameBuffer = true;
ro.enableFrameBuffer = true;
VRayInit init(true);
VRayRenderer* renderer;
try
{
renderer = new VRayRenderer(ro);
renderer->vfb.show(true, true);
}
catch (const VRay::VRayException ex)
{
std::cout << ex.what() << std::endl;
}
bool result = renderer->vfb.loadImage("123.exr");
result = renderer->vfb.saveImage("123.bmp");
}
Same code in SDK 4.30.3.1 works fine,but in SDK 5.10.01
VFB UI can't display, vfb.loadimage return true,but vfb.saveimage return false.
Comment