Skip to content

Commit 5681db9

Browse files
committed
Merge branch 'release-0.11.x'
2 parents b7daee7 + 2607dff commit 5681db9

File tree

199 files changed

+12621
-5830
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

199 files changed

+12621
-5830
lines changed

.gitlab-ci.yml

Lines changed: 69 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -14,35 +14,44 @@ stages:
1414
- test
1515
- release
1616
- scan
17+
- test-signing
1718

1819
.centos7:
19-
tags: [ build, docker, modules ]
20+
tags: [build, docker, modules]
2021
image: $DOCKER_REGISTRY/centos:7
2122
before_script:
2223
- module load python/$PYTHON_VERSION
2324
- echo $Python3_ROOT
2425
- ls $Python3_ROOT
2526

27+
.centos7-test:
28+
tags: [build, docker, modules]
29+
image: $DOCKER_REGISTRY/ospray/docker-images:centos7-mod
30+
before_script:
31+
- module load python/$PYTHON_VERSION
32+
- echo $Python3_ROOT
33+
- ls $Python3_ROOT
34+
2635
.ubuntu18.04:
27-
tags: [ build, docker, modules ]
36+
tags: [build, docker, modules]
2837
image: $DOCKER_REGISTRY/ubuntu:18.04
2938
before_script:
3039
- module load python/$PYTHON_VERSION
3140
- echo $Python3_ROOT
3241
- ls $Python3_ROOT
3342

3443
.ubuntu20.04:
35-
tags: [ build, docker ]
44+
tags: [build, docker]
3645
image: $DOCKER_REGISTRY/clamav:ubuntu20.04
3746

3847
.macos:
39-
tags: [ osx, clang ]
48+
tags: [osx, clang]
4049

4150
.macos-sign:
42-
tags: [ osx, clang, sign ]
51+
tags: [osx, clang, sign]
4352

4453
.windows:
45-
tags: [ win, msvc15 ]
54+
tags: [win, msvc15]
4655
before_script:
4756
- $env:Python3_ROOT = $PYTHON_ROOT_WINDOWS
4857
- echo $env:Python3_ROOT
@@ -77,12 +86,20 @@ stages:
7786
name: ospray_studio
7887
paths:
7988
- build-macos/package/ospray_studio*
89+
only:
90+
- master
91+
- /^release-.*$/
92+
- devel
8093

8194
.windows-release-artifacts:
8295
artifacts:
8396
name: ospray_studio
8497
paths:
8598
- build-win/package/ospray_studio*
99+
only:
100+
- master
101+
- /^release-.*$/
102+
- devel
86103

87104
source-protex-scan:
88105
stage: scan
@@ -106,7 +123,7 @@ build-centos7:
106123
- module load intel/2020.1
107124
- export CC=icc
108125
- export CXX=icpc
109-
- export CXXFLAGS="-static-intel -static-libstdc++ -fPIC -D_GLIBCXX_USE_CXX11_ABI=0"
126+
- export CXXFLAGS="-static-intel -fPIC -D_GLIBCXX_USE_CXX11_ABI=0"
110127
- gitlab/build.sh
111128

112129
build-ubuntu18.04:
@@ -144,7 +161,7 @@ build-windows-msvc15:
144161

145162
build-kw:
146163
stage: build
147-
extends: .ubuntu18.04
164+
extends: .centos7
148165
script:
149166
- gitlab/build-kw.sh
150167
artifacts:
@@ -156,15 +173,15 @@ build-kw:
156173

157174
test-run-centos7:
158175
stage: test
159-
extends: .centos7
160-
needs: [ build-centos7 ]
176+
extends: .centos7-test
177+
needs: [build-centos7]
161178
script:
162179
- build/install/bin/ospStudio --verify_install
163180

164181
test-run-ubuntu18.04:
165182
stage: test
166183
extends: .ubuntu18.04
167-
needs: [ build-ubuntu18.04 ]
184+
needs: [build-ubuntu18.04]
168185
script:
169186
- gitlab/run.sh
170187
only:
@@ -174,7 +191,7 @@ test-run-ubuntu18.04:
174191
test-kw:
175192
stage: scan
176193
extends: .centos7
177-
needs: [ build-kw ]
194+
needs: [build-kw]
178195
script:
179196
- gitlab/kw-check-issues.sh
180197
allow_failure: true
@@ -226,7 +243,7 @@ build-windows-icl:
226243

227244
build-kw-dev:
228245
stage: build
229-
extends: .ubuntu18.04
246+
extends: .centos7
230247
script:
231248
- gitlab/build-kw-dev.sh
232249
artifacts:
@@ -247,14 +264,15 @@ kw-gen-report:
247264
needs: [build-kw-dev]
248265
script:
249266
- gitlab/kw-gen-report.sh
267+
- gitlab/store-files.sh $CI_PROJECT_NAME $CI_PIPELINE_ID klocwork "klocwork/report.log"
250268
artifacts:
251269
paths:
252270
- klocwork/report.log
253271

254272
test-run-ubuntu18.04-dev:
255273
stage: test
256274
extends: .ubuntu18.04
257-
needs: [ build-ubuntu18.04-dev ]
275+
needs: [build-ubuntu18.04-dev]
258276
script:
259277
- gitlab/run-dev.sh
260278

@@ -272,12 +290,13 @@ release-centos7:
272290
extends:
273291
- .centos7
274292
- .linux-release-artifacts
275-
needs: [ test-run-centos7 ]
293+
needs: [test-run-centos7]
294+
dependencies: []
276295
script:
277296
- module load intel/2020.1
278297
- export CC=icc
279298
- export CXX=icpc
280-
- export CXXFLAGS="-static-intel -static-libstdc++ -fPIC -D_GLIBCXX_USE_CXX11_ABI=0"
299+
- export CXXFLAGS="-static-intel -fPIC -D_GLIBCXX_USE_CXX11_ABI=0"
281300
- gitlab/build.sh package
282301

283302
release-windows:
@@ -288,6 +307,29 @@ release-windows:
288307
dependencies: []
289308
script:
290309
- gitlab\win.ps1 package
310+
- ;& $env:SIGN_FILE_WINDOWS $CI_PROJECT_DIR/build-win/package/ospray_studio*.msi
311+
312+
test-release-windows-zip:
313+
stage: test-signing
314+
extends:
315+
- .windows
316+
- .windows-release-artifacts
317+
needs: [release-windows]
318+
script:
319+
- Expand-Archive $CI_PROJECT_DIR/build-win/package/*.zip -DestinationPath .
320+
- ;& $env:SIGN_FILE_WINDOWS -t (Get-ChildItem $CI_PROJECT_DIR\ospray_studio-*\bin\* | Select-Object -Expand FullName)
321+
322+
test-release-windows-msi:
323+
stage: test-signing
324+
extends:
325+
- .windows
326+
- .windows-release-artifacts
327+
needs: [release-windows]
328+
script:
329+
# XXX VERY IMPORTANT!!! msiexec returns immediately. Adding the pipe to Out-Null the simplest way to wait for completion
330+
# XXX VERY IMPORTANT!!! never try to extract/install to the same TARGETDIR that the .msi file resides. It fails in a very opaque way.
331+
- msiexec.exe /a (Get-ChildItem $CI_PROJECT_DIR/build-win/package/*.msi | Select-Object -Expand FullName) /qn TARGETDIR=$CI_PROJECT_DIR | Out-Null
332+
- ;& $env:SIGN_FILE_WINDOWS -t $CI_PROJECT_DIR/build-win/package/*.msi (Get-ChildItem "$CI_PROJECT_DIR\Intel\OSPRay Studio v0\bin\*" | Select-Object -Expand FullName)
291333

292334
release-macos:
293335
stage: release
@@ -296,12 +338,17 @@ release-macos:
296338
- .macos-release-artifacts
297339
dependencies: []
298340
script:
299-
- gitlab/macos.sh package
300-
only:
301-
- master
302-
- /^release-.*$/
303-
- devel
304-
- web
341+
- gitlab/macos.sh package
342+
343+
test-release-macos:
344+
stage: test-signing
345+
extends:
346+
- .macos-sign
347+
- .macos-release-artifacts
348+
needs: [release-macos]
349+
script:
350+
- unzip $CI_PROJECT_DIR/build-macos/package/*.zip
351+
- $SIGN_FILE_MAC -t $CI_PROJECT_DIR/ospray_studio-*/bin/* $CI_PROJECT_DIR/ospray_studio-*/lib/*.dylib $CI_PROJECT_DIR/build-macos/package/*.pkg
305352

306353
scan-bdba-bin:
307354
stage: scan

CHANGELOG.md

Lines changed: 50 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,47 @@
11
Version History
22
---------------
33

4+
### Changes in OSPRay Studio v0.11.0
5+
6+
- Compatible with OSPRay release v2.10.0
7+
8+
- Note! The background color now defaults to black. It is left to the user to
9+
set a background color through either the UI or command-line arg `--bgColor
10+
<rgba>`. This was done to prevent confusion when background color is blended
11+
with an HDRI light.
12+
13+
- Features and Improvements
14+
- UI
15+
- Improved transform SearchWidget to correctly handle volumes and allow
16+
- Fix animation start time and allow playback without UI showing using
17+
`<spacebar> hotkey` to toggle playback
18+
- Camera
19+
- Improved scene camera support with ability to switch between multiple
20+
cameras without overwriting the preloaded camera positions
21+
- Batch
22+
- Add ability to export SceneGraph file in batch mode, including scene
23+
camera information
24+
- Benchmarking is enabled by default with the same command line options as
25+
batch-mode. `ospStudio benchmark batch [options]`
26+
- Importer
27+
- Added `INTEL_lights_sunsky` vendor extension to glTF importer
28+
- Added support for glTF `KHR_materials_emissive_strength`
29+
- Added VolumentricModel `densityScale` and `anisotropy` parameters
30+
- VDB volumes use contiguous data layouts, which can provide improved
31+
performance
32+
33+
<br>
34+
35+
- Bug Fixes:
36+
- Fixed crash caused by deleted node not being completely removed from lists
37+
- Fixed rare crash when default material loaded from .sg is not OBJ
38+
- Improved geometry and volume visibility toggle, which would occasionally get confused
39+
- Fixed crash in FileBrowser widget if selecting a non-existent directory path
40+
- Fixed glTF skinning on models that weren't handled correctly, normalize all weights.
41+
- Correctly set material opacity to `baseColorfactor` alpha for glTF material
42+
`alphaMode BLEND`
43+
- Fixed unusual case where glTF textures could use the same texture
44+
445
### Changes in OSPRay Studio v0.10.0
546

647
- Compatible with OSPRay release v2.9.0
@@ -10,22 +51,22 @@ Version History
1051
- Improved color picker widget so that color value are consistent whether
1152
viewing frame as sRGB or linear.
1253
- Added widget to change file selection on HDRI textures and photometric lights
13-
- Added renderer setting to set and adjust OSPRay's shadowCatcherPlane
54+
- Added renderer setting to set and adjust OSPRay's `shadowCatcherPlane`
1455
- Light
1556
- Add support for new OSPRay `cylinder` light-type
1657
- Photometric intensity distribution now supported on point, quad, and spot
1758
light types.
1859
- Lights in glTF scene are now instanced and can be used with motion blur
1960
- Camera
20-
- Custom support for "panoramic" camera type in glTF files
61+
- Custom support for `panoramic` camera type in glTF files
2162
- All glTF cameras are instanced to allow for motion blur
2263
- Batch
23-
- Improved batch rendering flexibility with params for cameraType, bgColor,
24-
frameStep and denoiser.
25-
- Added final frame denoising to batch mode - only final accumulation is
64+
- Improved batch rendering flexibility with params for `cameraType`,
65+
`bgColor`, `frameStep` and `denoiser`.
66+
- Added final frame denoising to batch mode -- only final accumulation is
2667
denoised.
2768
- Added glTF support for OSPRay's new multi-segment deformation motion blur
28-
- Added python bindings for affine3f and affine3f::translate
69+
- Added python bindings for `affine3f` and `affine3f::translate`
2970
- Added tasking/scheduling system. Currently used to greatly improve loading
3071
of raw volumes. Will be expanded to other asynchronous operations.
3172

@@ -34,7 +75,7 @@ Version History
3475
- Bug Fixes:
3576
- Fixed lights editor interaction with group lights loaded in a glTF file. UI
3677
now allows correct editing/removal of existing lights and addition new lights
37-
- Added full path name and extension to importer and texture cache entried to
78+
- Added full path name and extension to importer and texture cache entries to
3879
prevent collision with similar files.
3980
- Better handling of failed texture load across glTF and OBJ materials, as well
4081
as HDRI, background texture, and material editor.
@@ -124,7 +165,7 @@ Version History
124165

125166
- Expose support for OSPRay / Open VKL Particle Volume primitives
126167

127-
- Add PCD (Point Cloud Data) file importer - ascii and binary formats
168+
- Add PCD (Point Cloud Data) file importer -- ascii and binary formats
128169

129170
- Transfer function and isosurface enhancements provide more control over volume visualizations
130171

@@ -146,7 +187,7 @@ Version History
146187
- glTF loader improvements:
147188
Animation and skinning of triangle meshes
148189
KHR_lights_punctual support for glTF Lights and experimental environmental lights
149-
Initial glTF KHR_materials_* extensions and KHR_texture_transform support.
190+
Initial glTF `KHR_materials_*` extensions and `KHR_texture_transform` support.
150191
Add support for glTF POINTS primitive for point clouds
151192
Support GLTF scene cameras
152193
Added rich image generation containing GeomIDs and InstanceIDs, exported as additional exr layers

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
## Copyright 2009-2021 Intel Corporation
1+
## Copyright 2009 Intel Corporation
22
## SPDX-License-Identifier: Apache-2.0
33

44
cmake_minimum_required(VERSION 3.15)
55

6-
project(ospray_studio VERSION 0.10.0 LANGUAGES CXX)
6+
project(ospray_studio VERSION 0.11.0 LANGUAGES CXX)
77

88
include(GNUInstallDirs)
99
include(ProcessorCount)
@@ -67,7 +67,7 @@ find_package(OpenGL 2 REQUIRED)
6767
include(glfw)
6868
include(ospray)
6969

70-
option(USE_BENCHMARK "Build benchmarking support into ospStudio" OFF)
70+
option(USE_BENCHMARK "Build benchmarking support into ospStudio" ON)
7171

7272
if(USE_BENCHMARK)
7373
include(benchmark)

FEATURES.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@ OBJ/MTL importer:
99
- native triangle mesh and quad mesh primitives
1010
- basic OBJ materials, with extension for any OSPRay material via "type" keyword
1111
- texture and "texture transformations" supported on all OSPRay texturable material parameters via "map_" parameter prefix
12-
- support for UDIM texture tiles with common "*1001*" filenaming convension
12+
- support for UDIM texture tiles with common "*1001*" filenaming convention
1313

1414
glTF importer:
1515

1616
- mesh and points primitives, vanilla materials, animation (including camera), skinning
17-
- KHR_lights_punctual: "directional", "point", "spot"; custom extension for OSPRay "sunSky" and "hdri" light types
17+
- KHR_lights_punctual: "directional", "point", "spot"; custom extension for OSPRay's "hdri" light type
18+
- INTEL_lights_sunsky
19+
- KHR_materials_emissive_strength: "intensity"
1820
- KHR_materials_pbrSpecularGlossiness: "diffuseFactor", "diffuseTexture", "specularFactor", "glossinessFactor"
1921
- KHR_materials_clearcoat: "clearcoatFactor", "clearcoatRoughnessFactor", "clearcoatTexture", "clearcoatRoughnessTexture", "clearcoatNormalTexture"
2022
- KHR_materials_transmission: "transmissionFactor", "transmissionTexture"
@@ -30,7 +32,7 @@ glTF importer:
3032
- EXT_cameras_sensor, respecting
3133
- "imageSensor": "pixels", "pixelSize"
3234
- "lens": "focalLength", "apertureRadius", "focusDistance", "centerPointShift"
33-
- support for UDIM texture tiles with common "*1001*" filenaming convension
35+
- support for UDIM texture tiles with common "*1001*" filenaming convention
3436

3537
PCD importer:
3638

0 commit comments

Comments
 (0)