Skip to content

Commit

Permalink
[doc] Added disclaimer to the doc
Browse files Browse the repository at this point in the history
  • Loading branch information
sherholz-intel committed Mar 24, 2022
1 parent c2635bf commit 927c661
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ license](http://www.apache.org/licenses/LICENSE-2.0).
| :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| Path traced image of a variation of the Nishita Sky Demo scene from Blender Studio (CC0) without and with using Open PGL to guide directional samples (i.e., on surfaces and inside the water volume). |

# Disclaimer

The current version of Open PGL is still in a beta stage and should be
used with caution in any production related environment. The API
specification is still in flux and might change with upcoming releases.

# Version History

## Open PGL 0.3.0
Expand Down
2 changes: 1 addition & 1 deletion doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ tmpdir:
## Markdown
## ----------------------------------------------------------------------------
../README.md: tmp/readme_head.md overview.md examples.md changelog.md support.md compilation.md tmp/including.md api.md related_projects.md
../README.md: tmp/readme_head.md overview.md examples.md disclaimer.md changelog.md support.md compilation.md tmp/including.md api.md related_projects.md
$(PANDOC) $+ -t gfm > $@
## ----------------------------------------------------------------------------
Expand Down
4 changes: 4 additions & 0 deletions doc/disclaimer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Disclaimer
===============

The current version of Open PGL is still in a beta stage and should be used with caution in any production related environment. The API specification is still in flux and might change with upcoming releases.
4 changes: 4 additions & 0 deletions openpgl/field/Field.h
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,9 @@ struct Field
inline void fitRegions(SampleContainer& samples)
{
size_t nGuidingRegions = m_regionStorageContainer.size();
#if defined( OPENPGL_SHOW_PRINT_OUTS)
std::cout << "fitRegion: "<< (m_isSurface? "surface":"volume") << "\tnGuidingRegions = " << nGuidingRegions << std::endl;
#endif
#if defined(OPENPGL_USE_OMP_THREADING)
#pragma omp parallel for num_threads(this->m_nCores) schedule(dynamic)
for (size_t n=0; n < nGuidingRegions; n++)
Expand Down Expand Up @@ -353,7 +355,9 @@ struct Field
void updateRegions(SampleContainer& samples)
{
size_t nGuidingRegions = m_regionStorageContainer.size();
#if defined( OPENPGL_SHOW_PRINT_OUTS)
std::cout << "updateRegion: " << (m_isSurface? "surface":"volume") << "\tnGuidingRegions = " << nGuidingRegions << std::endl;
#endif
#if defined(OPENPGL_USE_OMP_THREADING)
#pragma omp parallel for num_threads(this->m_nCores) schedule(dynamic)
for (size_t n=0; n < nGuidingRegions; n++)
Expand Down

0 comments on commit 927c661

Please sign in to comment.