Open iqch opened 4 years ago
Looks like the gray from the right side bleeds in: textures in OSPRay are fetched with "REPEAT" border mode. A quick test to confirm this is to use OSP_TEXTURE_FILTER_NEAREST
.
Both produces same result, I tried. A bit later I will test it wit manually constructed map, to exclude oiio affection
пт, 5 июня 2020 г. в 13:44, Johannes Günther notifications@github.com:
Looks like the gray from the right side bleeds in: textures in OSPRay are fetched with "REPEAT" border mode. A quick test to confirm this is to use OSP_TEXTURE_FILTER_NEAREST.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ospray/ospray/issues/426#issuecomment-639402852, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQD2CNMABBVIQPIWLT27TTRVDEA3ANCNFSM4NTCDOKQ .
Simple subdiv
_geometry = ospNewGeometry("subdivision");
Simple material _renderParam->_material = ospNewMaterial("pathtracer", "principled");
Loading as from hdospray project
OSPTexture HdOSPRayMaterial::LoadOIIOTexture2D(const char file, bool nearestFilter) { ImageInput in = ImageInput::open(file); if (!in) { std::cerr << "#osp: failed to load texture '" << file << "'" << std::endl; return nullptr; }
};
poduces strange grayish borders on connection edges
framebuffer
renderer
rendering call ospRenderFrameBlocking(_frameBuffer, _renderer, _camera, _world);