Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
Unterteilungsalgorithmen
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kai Westerkamp
Unterteilungsalgorithmen
Commits
8298651c
Commit
8298651c
authored
Aug 20, 2016
by
Philipp Adolf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change tesselation factors
Pawel used outer = 6 and inner = 10 in his program, this uses those values for the first subdivision level and scales linearly
parent
9d9e4300
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
subdivideRegular.tcs
QTProject/subdivideRegular.tcs
+4
-4
No files found.
QTProject/subdivideRegular.tcs
View file @
8298651c
...
...
@@ -13,10 +13,10 @@ void main()
float tesselation = subdiv+1;
gl_TessLevelOuter[0] = tesselation;
gl_TessLevelOuter[1] = tesselation;
gl_TessLevelOuter[2] = tesselation;
gl_TessLevelOuter[0] =
3 *
tesselation;
gl_TessLevelOuter[1] =
3 *
tesselation;
gl_TessLevelOuter[2] =
3 *
tesselation;
gl_TessLevelInner[0] = tesselation;
gl_TessLevelInner[0] =
5 *
tesselation;
}
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