Skip to content

make MAX_TEX_NUMBER settable from code #1162

@KKsema

Description

@KKsema

Description

Currently MAX_TEX_NUMBER in OpenGL_SceneGeometry.hxx is hardcoded to 32 different textures in raytracing/pathtracing. With rasterizing there isn't such limitation.

Use Case

Users of OCCT can use the raytracing/pathtracing rendering for much bigger scenes with many different textures. The texture limit currently raises pretty quickly and leaves an unclean rendering result.

Benefits

Enables OCCT to be used as a rendering technology in building and property construction. Examples include a complete floor of an office building or apartment complex, complete with interior furnishings.

Additional Context

See attached images for example in rasterizing and raytracing

Image Image

Metadata

Metadata

Assignees

Labels

0. NewThe issue was created, but not updated by maintainer. Waiting for updates labels and categories2. EnhancementNew feature or request

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions