Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
glow-samples
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zhengjiang Hu
glow-samples
Commits
0e22f3fe
Commit
0e22f3fe
authored
6 years ago
by
Philip Trettner
Browse files
Options
Downloads
Patches
Plain Diff
fixed typo, updated glow-extras
parent
5cb36036
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
extern/glow-extras
+1
-1
1 addition, 1 deletion
extern/glow-extras
samples/wip/viewer/main.cc
+5
-5
5 additions, 5 deletions
samples/wip/viewer/main.cc
with
6 additions
and
6 deletions
glow-extras
@
f3633cbb
Subproject commit
114d8e58304c366383c916fa0e2f63da992fd56
3
Subproject commit
f3633cbb7c272436d5da5dfa5cbd1ce67c6fd65
3
This diff is collapsed.
Click to expand it.
samples/wip/viewer/main.cc
+
5
−
5
View file @
0e22f3fe
...
...
@@ -25,8 +25,8 @@ int main()
{
// Load a skybox, init viewer
auto
const
skyboxPath
=
dataPath
+
"ibl/bell_park/skybox/skybox_"
;
auto
skybox
=
glow
::
TextureCubeMap
::
createFromData
(
glow
::
TextureData
::
createFromFileCube
(
skyboxPath
+
"posx.hdr"
,
skyboxPath
+
"negx.hdr"
,
skyboxPath
+
"posy.hdr"
,
skyboxPath
+
"negy.hdr"
,
auto
skybox
=
glow
::
TextureCubeMap
::
createFromData
(
glow
::
TextureData
::
createFromFileCube
(
skyboxPath
+
"posx.hdr"
,
skyboxPath
+
"negx.hdr"
,
skyboxPath
+
"posy.hdr"
,
skyboxPath
+
"negy.hdr"
,
skyboxPath
+
"posz.hdr"
,
skyboxPath
+
"negz.hdr"
,
glow
::
ColorSpace
::
sRGB
));
glow
::
viewer
::
Viewer
::
GlobalInit
(
skybox
);
}
...
...
@@ -82,7 +82,7 @@ int main()
// Simple point cloud
view
(
points
(
pos
));
//
Rounded
, oriented point cloud with adaptive point size
//
Square
, oriented point cloud with adaptive point size
view
(
points
(
pos
).
point_size_world
(
ptsize
).
normals
(
vnormals
).
square
());
// Configure view
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment