Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CGoGN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
KennethVanhoey
CGoGN
Commits
a8f2d8e6
Commit
a8f2d8e6
authored
Jan 28, 2013
by
Sylvain Thery
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
resolve bug explodeVolumeSmooth
parent
b1faeed4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
include/Algo/Render/GL2/explodeVolumeRender.hpp
include/Algo/Render/GL2/explodeVolumeRender.hpp
+2
-2
include/Utils/Shaders/shaderExplodeSmoothVolumes.frag
include/Utils/Shaders/shaderExplodeSmoothVolumes.frag
+2
-2
No files found.
include/Algo/Render/GL2/explodeVolumeRender.hpp
View file @
a8f2d8e6
...
...
@@ -131,7 +131,7 @@ void ExplodeVolumeRender::updateSmooth(typename PFP::MAP& map, const VertexAttri
N
.
normalize
();
normals
.
push_back
(
N
);
a
=
e
;
centerFace
+=
positions
[
d
];
centerFace
+=
positions
[
a
];
nbs
++
;
}
while
(
a
!=
d
);
...
...
@@ -243,7 +243,7 @@ void ExplodeVolumeRender::updateSmooth(typename PFP::MAP& map, const VertexAttri
N
.
normalize
();
normals
.
push_back
(
N
);
a
=
e
;
centerFace
+=
positions
[
d
];
centerFace
+=
positions
[
a
];
nbs
++
;
}
while
(
a
!=
d
);
...
...
include/Utils/Shaders/shaderExplodeSmoothVolumes.frag
View file @
a8f2d8e6
...
...
@@ -3,8 +3,8 @@
uniform
vec4
ambient
;
uniform
vec4
backColor
;
VARYING_FRAG
vec
4
normalFS
;
VARYING_FRAG
vec
4
lightFS
;
VARYING_FRAG
vec
3
normalFS
;
VARYING_FRAG
vec
3
lightFS
;
VARYING_FRAG
vec3
colorVert
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment