View Issue Details

IDProjectCategoryView StatusLast Update
0032753Open CASCADEOCCT:Visualizationpublic2022-10-19 15:50
Reporterkgv Assigned Tovpozdyayev 
Status newResolutionopen 
Target Version7.8.0 
Summary0032753: Visualization, TKOpenGl - bake 360 spherical panorama background into cubemap
DescriptionTKOpenGl provides an interface for setting 360 degrees image-based background in two ways:
- As 360 spherical image `V3d_View::SetTextureEnv()` - legacy API supported by Ray-Tracing renderer (`Graphic3d_RenderingParams::UseEnvironmentMapBackground`) and by legacy OpenGL material model (unused in modern applications).
- As a cubemap image `V3d_View::SetBackgroundCubeMap()` - supported by Ray-Tracing renderer as well as a PBR rasterization renderer.

It is proposed to unify rendering logic and implement baking of 360-degrees spherical image into cubemap (as 0032606 does for a skybox), so that rendering logic supporting spherical images as alternative to cubemap could be dropped, and PBR renderer will be able to handle sphetrical panoramas.

As a further revision, `Graphic3d_CubeMap` might inherit base class `Graphic3d_TextureEnv`.
TagsNo tags attached.
Test case number


related to 0032754 assignedCheskoArt Visualization, TKOpenGl - Phong shading model ignores environment cubemap 


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-12-28 11:01 kgv New Issue
2021-12-28 11:01 kgv Assigned To => kgv
2021-12-28 11:11 kgv Relationship added related to 0032754
2022-08-17 11:55 kgv Target Version 7.7.0 => 7.8.0
2022-10-19 15:50 smoskvin Assigned To kgv => vpozdyayev