Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2014
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. Detail level of 0
  2. 0 = 1.2
  3. 1 = 1.45
  4. 2 = 1.65
  5. 3 = 1.8
  6. 4 = 1.9
  7. 5 = 1.95
  8.  
  9. Detail level of 1
  10. 0 = 1.1
  11. 1 = 1.2
  12. 2 = 1.285
  13. 3 = 1.35
  14. 4 = 1.375
  15.  
  16. Detail level of 2
  17. 0 = 1.05
  18. 1 = 1.1
  19. 2 = 1.125
  20. 3 = 1.137
  21. 4 = 1.144
  22.  
  23. Detail level of 3
  24. 0 = 1.025
  25. 1 = 1.035
  26. 2 = 1.054
  27. 3 = 1.06
  28. 4 = 1.07
  29.  
  30. basenum = 1.2
  31. for i in range( detaillevel ):
  32. basenum = (basenum - 1)/2 + 1
  33.  
  34. addition = basenum - 1
  35. totaladdition = 0
  36. for i in range( averagevertexiterations ):
  37. totaladdition = totaladdition + addition
  38. addition = addition / 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement