polyadvent

A game engine from scratch in C
git clone git://jb55.com/polyadvent
Log | Files | Refs | README

commit e729c1cb9e5d7cc5d854735fa1891fd6b86d7562
parent 8d0b09272b2ce760cd843f8e6bf43b11a02fa829
Author: William Casarin <jb55@jb55.com>
Date:   Sun, 21 Jul 2019 15:43:13 -0700

commit some plys

Diffstat:
Adata/models/barrel.ply | 444+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adata/models/cube.ply | 54++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 498 insertions(+), 0 deletions(-)

diff --git a/data/models/barrel.ply b/data/models/barrel.ply @@ -0,0 +1,444 @@ +ply +format ascii 1.0 +comment Created by Blender 2.79 (sub 0) - www.blender.org, source file: 'barrel.blend' +element vertex 272 +property float x +property float y +property float z +property float nx +property float ny +property float nz +property uchar red +property uchar green +property uchar blue +element face 156 +property list uchar uint vertex_indices +end_header +0.051690 0.124790 0.380152 0.272561 0.658071 0.701865 145 116 89 +0.124790 0.051690 0.380152 0.658071 0.272561 0.701865 145 116 89 +0.138655 0.057433 0.304122 0.896878 0.371471 0.239967 145 116 89 +0.057433 0.138655 0.304122 0.371471 0.896878 0.239967 145 116 89 +0.057433 0.138655 0.304122 0.371471 0.896878 0.239967 174 140 109 +-0.057433 0.138655 0.304122 -0.371471 0.896878 0.239967 174 140 109 +-0.051690 0.124790 0.380152 -0.272561 0.658071 0.701865 174 140 109 +0.051690 0.124790 0.380152 0.272561 0.658071 0.701865 174 140 109 +0.051690 -0.124790 0.380152 0.272561 -0.658071 0.701865 172 138 107 +0.057433 -0.138655 0.304122 0.371471 -0.896878 0.239967 172 138 107 +0.138655 -0.057433 0.304122 0.896878 -0.371471 0.239967 172 138 107 +0.124790 -0.051690 0.380152 0.658071 -0.272561 0.701865 172 138 107 +-0.138655 0.057433 0.304122 -0.896878 0.371471 0.239967 225 181 142 +-0.138655 -0.057433 0.304122 -0.896878 -0.371471 0.239967 225 181 142 +-0.124790 -0.051690 0.380152 -0.658071 -0.272561 0.701865 225 181 142 +-0.124790 0.051690 0.380152 -0.658071 0.272561 0.701865 225 181 142 +-0.138655 0.057433 0.304122 -0.896878 0.371471 0.239967 206 166 130 +-0.124790 0.051690 0.380152 -0.658071 0.272561 0.701865 206 166 130 +-0.051690 0.124790 0.380152 -0.272561 0.658071 0.701865 206 166 130 +-0.057433 0.138655 0.304122 -0.371471 0.896878 0.239967 206 166 130 +-0.138655 -0.057433 0.304122 -0.896878 -0.371471 0.239967 225 181 141 +-0.057433 -0.138655 0.304122 -0.371471 -0.896878 0.239967 225 181 141 +-0.051690 -0.124790 0.380152 -0.272561 -0.658071 0.701865 225 181 141 +-0.124790 -0.051690 0.380152 -0.658071 -0.272561 0.701865 225 181 141 +-0.057433 -0.138655 0.304122 -0.371471 -0.896878 0.239967 205 165 128 +0.057433 -0.138655 0.304122 0.371471 -0.896878 0.239967 205 165 128 +0.051690 -0.124790 0.380152 0.272561 -0.658071 0.701865 205 165 128 +-0.051690 -0.124790 0.380152 -0.272561 -0.658071 0.701865 205 165 128 +0.124790 -0.051690 0.380152 0.658071 -0.272561 0.701865 144 115 89 +0.138655 -0.057433 0.304122 0.896878 -0.371471 0.239967 144 115 89 +0.138655 0.057433 0.304122 0.896878 0.371471 0.239967 144 115 89 +0.124790 0.051690 0.380152 0.658071 0.272561 0.701865 144 115 89 +-0.052212 0.126050 0.000000 -0.274911 0.663686 -0.695639 181 145 113 +-0.126050 0.052212 0.000000 -0.663686 0.274911 -0.695639 181 145 113 +-0.138655 0.057433 0.076030 -0.898679 0.372234 -0.231941 181 145 113 +-0.057433 0.138655 0.076030 -0.372234 0.898679 -0.231941 181 145 113 +0.152521 0.063176 0.252809 0.915128 0.379040 0.137150 122 97 74 +0.152521 0.063176 0.127343 0.915128 0.379040 -0.137150 122 97 74 +0.063176 0.152521 0.127343 0.379040 0.915128 -0.137150 122 97 74 +0.063176 0.152521 0.252809 0.379040 0.915128 0.137150 122 97 74 +0.089941 0.037255 0.000000 -0.407331 -0.168706 -0.897519 185 149 116 +0.089941 -0.037255 -0.000000 -0.407331 0.168706 -0.897519 185 149 116 +0.080947 -0.033529 0.022809 -0.584796 0.242225 -0.774132 185 149 116 +0.080947 0.033529 0.022809 -0.584796 -0.242225 -0.774132 185 149 116 +0.138655 0.057433 0.076030 0.898679 0.372234 -0.231941 97 76 58 +0.138655 -0.057433 0.076030 0.898679 -0.372234 -0.231941 97 76 58 +0.126050 -0.052212 -0.000000 0.663686 -0.274911 -0.695639 97 76 58 +0.126050 0.052212 0.000000 0.663686 0.274911 -0.695639 97 76 58 +0.138655 0.057433 0.076030 0.898679 0.372234 -0.231941 98 78 59 +0.126050 0.052212 0.000000 0.663686 0.274911 -0.695639 98 78 59 +0.052212 0.126050 0.000000 0.274911 0.663686 -0.695639 98 78 59 +0.057433 0.138655 0.076030 0.372234 0.898679 -0.231941 98 78 59 +0.037255 -0.089941 -0.000000 -0.168706 0.407331 -0.897519 120 95 73 +-0.037255 -0.089941 -0.000000 0.168706 0.407331 -0.897519 120 95 73 +-0.033529 -0.080947 0.022809 0.242225 0.584796 -0.774132 120 95 73 +0.033529 -0.080947 0.022809 -0.242225 0.584796 -0.774132 120 95 73 +-0.052212 -0.126050 -0.000000 -0.274911 -0.663686 -0.695639 202 163 127 +-0.057433 -0.138655 0.076030 -0.372234 -0.898679 -0.231941 202 163 127 +-0.138655 -0.057433 0.076030 -0.898679 -0.372234 -0.231941 202 163 127 +-0.126050 -0.052212 -0.000000 -0.663686 -0.274911 -0.695639 202 163 127 +0.138655 -0.057433 0.076030 0.898679 -0.372234 -0.231941 138 110 85 +0.057433 -0.138655 0.076030 0.372234 -0.898679 -0.231941 138 110 85 +0.052212 -0.126050 -0.000000 0.274911 -0.663686 -0.695639 138 110 85 +0.126050 -0.052212 -0.000000 0.663686 -0.274911 -0.695639 138 110 85 +0.052212 0.126050 0.000000 0.274911 0.663686 -0.695639 141 112 87 +-0.052212 0.126050 0.000000 -0.274911 0.663686 -0.695639 141 112 87 +-0.057433 0.138655 0.076030 -0.372234 0.898679 -0.231941 141 112 87 +0.057433 0.138655 0.076030 0.372234 0.898679 -0.231941 141 112 87 +-0.037255 0.089941 0.000000 0.168706 -0.407331 -0.897519 161 129 100 +0.037255 0.089941 0.000000 -0.168706 -0.407331 -0.897519 161 129 100 +0.033529 0.080947 0.022809 -0.242225 -0.584796 -0.774132 161 129 100 +-0.033529 0.080947 0.022809 0.242225 -0.584796 -0.774132 161 129 100 +-0.033529 -0.080947 0.022809 0.242225 0.584796 -0.774132 69 53 40 +-0.037255 -0.089941 -0.000000 0.168706 0.407331 -0.897519 69 53 40 +-0.089941 -0.037255 -0.000000 0.407331 0.168706 -0.897519 69 53 40 +-0.080947 -0.033529 0.022809 0.584796 0.242225 -0.774132 69 53 40 +-0.063176 -0.152521 0.127343 -0.379040 -0.915128 -0.137150 214 172 135 +-0.063176 -0.152521 0.252809 -0.379040 -0.915128 0.137150 214 172 135 +-0.152521 -0.063176 0.252809 -0.915128 -0.379040 0.137150 214 172 135 +-0.152521 -0.063176 0.127343 -0.915128 -0.379040 -0.137150 214 172 135 +0.089941 0.037255 0.000000 -0.407331 -0.168706 -0.897519 185 148 115 +0.080947 0.033529 0.022809 -0.584796 -0.242225 -0.774132 185 148 115 +0.033529 0.080947 0.022809 -0.242225 -0.584796 -0.774132 185 148 115 +0.037255 0.089941 0.000000 -0.168706 -0.407331 -0.897519 185 148 115 +-0.052212 -0.126050 -0.000000 -0.274911 -0.663686 -0.695639 179 144 112 +0.052212 -0.126050 -0.000000 0.274911 -0.663686 -0.695639 179 144 112 +0.057433 -0.138655 0.076030 0.372234 -0.898679 -0.231941 179 144 112 +-0.057433 -0.138655 0.076030 -0.372234 -0.898679 -0.231941 179 144 112 +-0.080947 -0.033529 0.022809 0.584796 0.242225 -0.774132 66 51 38 +-0.089941 -0.037255 -0.000000 0.407331 0.168706 -0.897519 66 51 38 +-0.089941 0.037255 0.000000 0.407331 -0.168706 -0.897519 66 51 38 +-0.080947 0.033529 0.022809 0.584796 -0.242225 -0.774132 66 51 38 +0.152521 -0.063176 0.252809 0.915128 -0.379040 0.137150 120 95 73 +0.152521 -0.063176 0.127343 0.915128 -0.379040 -0.137150 120 95 73 +0.152521 0.063176 0.127343 0.915128 0.379040 -0.137150 120 95 73 +0.152521 0.063176 0.252809 0.915128 0.379040 0.137150 120 95 73 +-0.033529 0.080947 0.022809 0.242225 -0.584796 -0.774132 117 93 71 +-0.080947 0.033529 0.022809 0.584796 -0.242225 -0.774132 117 93 71 +-0.089941 0.037255 0.000000 0.407331 -0.168706 -0.897519 117 93 71 +-0.037255 0.089941 0.000000 0.168706 -0.407331 -0.897519 117 93 71 +-0.152521 -0.063176 0.127343 -0.915128 -0.379040 -0.137150 215 173 135 +-0.152521 -0.063176 0.252809 -0.915128 -0.379040 0.137150 215 173 135 +-0.152521 0.063176 0.252809 -0.915128 0.379040 0.137150 215 173 135 +-0.152521 0.063176 0.127343 -0.915128 0.379040 -0.137150 215 173 135 +0.063176 0.152521 0.127343 0.379040 0.915128 -0.137150 157 126 98 +-0.063176 0.152521 0.127343 -0.379040 0.915128 -0.137150 157 126 98 +-0.063176 0.152521 0.252809 -0.379040 0.915128 0.137150 157 126 98 +0.063176 0.152521 0.252809 0.379040 0.915128 0.137150 157 126 98 +-0.126050 -0.052212 -0.000000 -0.663686 -0.274911 -0.695639 203 163 127 +-0.138655 -0.057433 0.076030 -0.898679 -0.372234 -0.231941 203 163 127 +-0.138655 0.057433 0.076030 -0.898679 0.372234 -0.231941 203 163 127 +-0.126050 0.052212 0.000000 -0.663686 0.274911 -0.695639 203 163 127 +-0.089941 0.037255 0.000000 0.407331 -0.168706 -0.897519 84 66 50 +-0.126050 -0.052212 -0.000000 -0.663686 -0.274911 -0.695639 84 66 50 +-0.126050 0.052212 0.000000 -0.663686 0.274911 -0.695639 84 66 50 +-0.052212 0.126050 0.000000 -0.274911 0.663686 -0.695639 84 66 50 +-0.037255 0.089941 0.000000 0.168706 -0.407331 -0.897519 84 66 50 +0.052212 0.126050 0.000000 0.274911 0.663686 -0.695639 84 66 50 +0.037255 0.089941 0.000000 -0.168706 -0.407331 -0.897519 84 66 50 +0.089941 0.037255 0.000000 -0.407331 -0.168706 -0.897519 84 66 50 +0.126050 0.052212 0.000000 0.663686 0.274911 -0.695639 84 66 50 +0.089941 -0.037255 -0.000000 -0.407331 0.168706 -0.897519 84 66 50 +-0.089941 -0.037255 -0.000000 0.407331 0.168706 -0.897519 84 66 50 +-0.052212 -0.126050 -0.000000 -0.274911 -0.663686 -0.695639 84 66 50 +-0.037255 -0.089941 -0.000000 0.168706 0.407331 -0.897519 84 66 50 +0.052212 -0.126050 -0.000000 0.274911 -0.663686 -0.695639 84 66 50 +0.037255 -0.089941 -0.000000 -0.168706 0.407331 -0.897519 84 66 50 +0.126050 -0.052212 -0.000000 0.663686 -0.274911 -0.695639 84 66 50 +-0.152521 0.063176 0.127343 -0.915128 0.379040 -0.137150 194 156 122 +-0.152521 0.063176 0.252809 -0.915128 0.379040 0.137150 194 156 122 +-0.063176 0.152521 0.252809 -0.379040 0.915128 0.137150 194 156 122 +-0.063176 0.152521 0.127343 -0.379040 0.915128 -0.137150 194 156 122 +-0.063176 -0.152521 0.127343 -0.379040 -0.915128 -0.137150 192 154 120 +0.063176 -0.152521 0.127343 0.379040 -0.915128 -0.137150 192 154 120 +0.063176 -0.152521 0.252809 0.379040 -0.915128 0.137150 192 154 120 +-0.063176 -0.152521 0.252809 -0.379040 -0.915128 0.137150 192 154 120 +0.089941 -0.037255 -0.000000 -0.407331 0.168706 -0.897519 163 130 101 +0.037255 -0.089941 -0.000000 -0.168706 0.407331 -0.897519 163 130 101 +0.033529 -0.080947 0.022809 -0.242225 0.584796 -0.774132 163 130 101 +0.080947 -0.033529 0.022809 -0.584796 0.242225 -0.774132 163 130 101 +0.063176 -0.152521 0.252809 0.379040 -0.915128 0.137150 155 124 96 +0.063176 -0.152521 0.127343 0.379040 -0.915128 -0.137150 155 124 96 +0.152521 -0.063176 0.127343 0.915128 -0.379040 -0.137150 155 124 96 +0.152521 -0.063176 0.252809 0.915128 -0.379040 0.137150 155 124 96 +-0.089941 -0.037255 0.380152 0.407331 0.168706 0.897519 228 184 144 +-0.124790 0.051690 0.380152 -0.658071 0.272561 0.701865 228 184 144 +-0.124790 -0.051690 0.380152 -0.658071 -0.272561 0.701865 228 184 144 +-0.051690 -0.124790 0.380152 -0.272561 -0.658071 0.701865 228 184 144 +-0.037255 -0.089941 0.380152 0.168706 0.407331 0.897519 228 184 144 +0.051690 -0.124790 0.380152 0.272561 -0.658071 0.701865 228 184 144 +0.037255 -0.089941 0.380152 -0.168706 0.407331 0.897519 228 184 144 +0.089941 -0.037255 0.380152 -0.407331 0.168706 0.897519 228 184 144 +0.124790 -0.051690 0.380152 0.658071 -0.272561 0.701865 228 184 144 +0.089941 0.037255 0.380152 -0.407331 -0.168706 0.897519 228 184 144 +-0.089941 0.037255 0.380152 0.407331 -0.168706 0.897519 228 184 144 +-0.051690 0.124790 0.380152 -0.272561 0.658071 0.701865 228 184 144 +-0.037255 0.089941 0.380152 0.168706 -0.407331 0.897519 228 184 144 +0.051690 0.124790 0.380152 0.272561 0.658071 0.701865 228 184 144 +0.037255 0.089941 0.380152 -0.168706 -0.407331 0.897519 228 184 144 +0.124790 0.051690 0.380152 0.658071 0.272561 0.701865 228 184 144 +0.033529 -0.080947 0.357343 -0.242225 0.584796 0.774132 190 152 119 +-0.033529 -0.080947 0.357343 0.242225 0.584796 0.774132 190 152 119 +-0.037255 -0.089941 0.380152 0.168706 0.407331 0.897519 190 152 119 +0.037255 -0.089941 0.380152 -0.168706 0.407331 0.897519 190 152 119 +-0.089941 -0.037255 0.380152 0.407331 0.168706 0.897519 166 133 104 +-0.037255 -0.089941 0.380152 0.168706 0.407331 0.897519 167 133 104 +-0.033529 -0.080947 0.357343 0.242225 0.584796 0.774132 166 133 104 +-0.080947 -0.033529 0.357343 0.584796 0.242225 0.774132 166 133 104 +-0.089941 0.037255 0.380152 0.407331 -0.168706 0.897519 166 133 103 +-0.089941 -0.037255 0.380152 0.407331 0.168706 0.897519 166 133 103 +-0.080947 -0.033529 0.357343 0.584796 0.242225 0.774132 166 133 103 +-0.080947 0.033529 0.357343 0.584796 -0.242225 0.774132 166 133 103 +0.033529 0.080947 0.357343 -0.242225 -0.584796 0.774132 232 187 146 +0.080947 0.033529 0.357343 -0.584796 -0.242225 0.774132 232 187 146 +0.089941 0.037255 0.380152 -0.407331 -0.168706 0.897519 232 187 146 +0.037255 0.089941 0.380152 -0.168706 -0.407331 0.897519 232 187 146 +0.080947 -0.033529 0.357343 -0.584796 0.242225 0.774132 233 188 147 +0.089941 -0.037255 0.380152 -0.407331 0.168706 0.897519 233 188 147 +0.089941 0.037255 0.380152 -0.407331 -0.168706 0.897519 233 188 147 +0.080947 0.033529 0.357343 -0.584796 -0.242225 0.774132 233 188 147 +-0.089941 0.037255 0.380152 0.407331 -0.168706 0.897519 188 151 117 +-0.080947 0.033529 0.357343 0.584796 -0.242225 0.774132 188 151 117 +-0.033529 0.080947 0.357343 0.242225 -0.584796 0.774132 188 151 117 +-0.037255 0.089941 0.380152 0.168706 -0.407331 0.897519 188 151 117 +-0.033529 0.080947 0.357343 0.242225 -0.584796 0.774132 215 173 135 +0.033529 0.080947 0.357343 -0.242225 -0.584796 0.774132 215 173 135 +0.037255 0.089941 0.380152 -0.168706 -0.407331 0.897519 215 173 135 +-0.037255 0.089941 0.380152 0.168706 -0.407331 0.897519 215 173 135 +0.033529 -0.080947 0.357343 -0.242225 0.584796 0.774132 216 174 136 +0.037255 -0.089941 0.380152 -0.168706 0.407331 0.897519 216 174 136 +0.089941 -0.037255 0.380152 -0.407331 0.168706 0.897519 216 174 136 +0.080947 -0.033529 0.357343 -0.584796 0.242225 0.774132 216 174 136 +-0.080947 -0.033529 0.022809 0.584796 0.242225 -0.774132 72 56 42 +-0.080947 0.033529 0.022809 0.584796 -0.242225 -0.774132 72 56 42 +-0.033529 0.080947 0.022809 0.242225 -0.584796 -0.774132 72 56 42 +-0.033529 -0.080947 0.022809 0.242225 0.584796 -0.774132 72 56 42 +0.033529 0.080947 0.022809 -0.242225 -0.584796 -0.774132 72 56 42 +0.033529 -0.080947 0.022809 -0.242225 0.584796 -0.774132 72 56 42 +0.080947 0.033529 0.022809 -0.584796 -0.242225 -0.774132 72 56 42 +0.080947 -0.033529 0.022809 -0.584796 0.242225 -0.774132 72 56 42 +-0.080947 0.033529 0.357343 0.584796 -0.242225 0.774132 198 159 124 +-0.080947 -0.033529 0.357343 0.584796 0.242225 0.774132 198 159 124 +-0.033529 -0.080947 0.357343 0.242225 0.584796 0.774132 198 159 124 +-0.033529 0.080947 0.357343 0.242225 -0.584796 0.774132 198 159 124 +0.033529 -0.080947 0.357343 -0.242225 0.584796 0.774132 198 159 124 +0.033529 0.080947 0.357343 -0.242225 -0.584796 0.774132 198 159 124 +0.080947 -0.033529 0.357343 -0.584796 0.242225 0.774132 198 159 124 +0.080947 0.033529 0.357343 -0.584796 -0.242225 0.774132 198 159 124 +0.063176 0.152521 0.252809 0.379040 0.915128 0.137150 173 176 183 +-0.063176 0.152521 0.252809 -0.379040 0.915128 0.137150 173 176 183 +-0.057433 0.138655 0.304122 -0.371471 0.896878 0.239967 173 176 183 +0.057433 0.138655 0.304122 0.371471 0.896878 0.239967 173 176 183 +-0.057433 -0.138655 0.076030 -0.372234 -0.898679 -0.231941 163 165 172 +0.057433 -0.138655 0.076030 0.372234 -0.898679 -0.231941 163 165 172 +0.063176 -0.152521 0.127343 0.379040 -0.915128 -0.137150 163 165 172 +-0.063176 -0.152521 0.127343 -0.379040 -0.915128 -0.137150 163 165 172 +0.152521 -0.063176 0.127343 0.915128 -0.379040 -0.137150 122 124 129 +0.063176 -0.152521 0.127343 0.379040 -0.915128 -0.137150 122 124 129 +0.057433 -0.138655 0.076030 0.372234 -0.898679 -0.231941 122 124 129 +0.138655 -0.057433 0.076030 0.898679 -0.372234 -0.231941 122 124 129 +-0.152521 0.063176 0.252809 -0.915128 0.379040 0.137150 202 205 214 +-0.138655 0.057433 0.304122 -0.896878 0.371471 0.239967 202 205 214 +-0.057433 0.138655 0.304122 -0.371471 0.896878 0.239967 202 205 214 +-0.063176 0.152521 0.252809 -0.379040 0.915128 0.137150 202 205 214 +-0.138655 -0.057433 0.076030 -0.898679 -0.372234 -0.231941 186 189 197 +-0.152521 -0.063176 0.127343 -0.915128 -0.379040 -0.137150 186 189 197 +-0.152521 0.063176 0.127343 -0.915128 0.379040 -0.137150 186 189 197 +-0.138655 0.057433 0.076030 -0.898679 0.372234 -0.231941 186 189 197 +-0.063176 -0.152521 0.252809 -0.379040 -0.915128 0.137150 200 203 212 +0.063176 -0.152521 0.252809 0.379040 -0.915128 0.137150 200 203 212 +0.057433 -0.138655 0.304122 0.371471 -0.896878 0.239967 200 203 212 +-0.057433 -0.138655 0.304122 -0.371471 -0.896878 0.239967 200 203 212 +-0.057433 -0.138655 0.076030 -0.372234 -0.898679 -0.231941 186 188 197 +-0.063176 -0.152521 0.127343 -0.379040 -0.915128 -0.137150 186 188 197 +-0.152521 -0.063176 0.127343 -0.915128 -0.379040 -0.137150 186 188 197 +-0.138655 -0.057433 0.076030 -0.898679 -0.372234 -0.231941 186 188 197 +-0.152521 0.063176 0.252809 -0.915128 0.379040 0.137150 219 222 232 +-0.152521 -0.063176 0.252809 -0.915128 -0.379040 0.137150 219 222 232 +-0.138655 -0.057433 0.304122 -0.896878 -0.371471 0.239967 219 222 232 +-0.138655 0.057433 0.304122 -0.896878 0.371471 0.239967 219 222 232 +-0.057433 0.138655 0.076030 -0.372234 0.898679 -0.231941 165 167 175 +-0.138655 0.057433 0.076030 -0.898679 0.372234 -0.231941 165 167 175 +-0.152521 0.063176 0.127343 -0.915128 0.379040 -0.137150 165 167 175 +-0.063176 0.152521 0.127343 -0.379040 0.915128 -0.137150 165 167 175 +0.057433 0.138655 0.076030 0.372234 0.898679 -0.231941 125 127 132 +-0.057433 0.138655 0.076030 -0.372234 0.898679 -0.231941 125 127 132 +-0.063176 0.152521 0.127343 -0.379040 0.915128 -0.137150 125 127 132 +0.063176 0.152521 0.127343 0.379040 0.915128 -0.137150 125 127 132 +0.152521 0.063176 0.127343 0.915128 0.379040 -0.137150 78 79 83 +0.152521 -0.063176 0.127343 0.915128 -0.379040 -0.137150 78 79 83 +0.138655 -0.057433 0.076030 0.898679 -0.372234 -0.231941 78 79 83 +0.138655 0.057433 0.076030 0.898679 0.372234 -0.231941 78 79 83 +0.138655 -0.057433 0.304122 0.896878 -0.371471 0.239967 147 149 156 +0.152521 -0.063176 0.252809 0.915128 -0.379040 0.137150 147 149 156 +0.152521 0.063176 0.252809 0.915128 0.379040 0.137150 147 149 156 +0.138655 0.057433 0.304122 0.896878 0.371471 0.239967 147 149 156 +-0.152521 -0.063176 0.252809 -0.915128 -0.379040 0.137150 218 221 231 +-0.063176 -0.152521 0.252809 -0.379040 -0.915128 0.137150 218 221 231 +-0.057433 -0.138655 0.304122 -0.371471 -0.896878 0.239967 218 221 231 +-0.138655 -0.057433 0.304122 -0.896878 -0.371471 0.239967 218 221 231 +0.152521 0.063176 0.127343 0.915128 0.379040 -0.137150 80 81 85 +0.138655 0.057433 0.076030 0.898679 0.372234 -0.231941 80 81 85 +0.057433 0.138655 0.076030 0.372234 0.898679 -0.231941 80 81 85 +0.063176 0.152521 0.127343 0.379040 0.915128 -0.137150 80 81 85 +0.057433 -0.138655 0.304122 0.371471 -0.896878 0.239967 171 174 181 +0.063176 -0.152521 0.252809 0.379040 -0.915128 0.137150 171 174 181 +0.152521 -0.063176 0.252809 0.915128 -0.379040 0.137150 171 174 181 +0.138655 -0.057433 0.304122 0.896878 -0.371471 0.239967 171 174 181 +0.057433 0.138655 0.304122 0.371471 0.896878 0.239967 148 150 157 +0.138655 0.057433 0.304122 0.896878 0.371471 0.239967 148 150 157 +0.152521 0.063176 0.252809 0.915128 0.379040 0.137150 148 150 157 +0.063176 0.152521 0.252809 0.379040 0.915128 0.137150 148 150 157 +3 0 1 2 +3 2 3 0 +3 4 5 6 +3 6 7 4 +3 8 9 10 +3 10 11 8 +3 12 13 14 +3 14 15 12 +3 16 17 18 +3 18 19 16 +3 20 21 22 +3 22 23 20 +3 24 25 26 +3 26 27 24 +3 28 29 30 +3 30 31 28 +3 32 33 34 +3 34 35 32 +3 36 37 38 +3 38 39 36 +3 40 41 42 +3 42 43 40 +3 44 45 46 +3 46 47 44 +3 48 49 50 +3 50 51 48 +3 52 53 54 +3 54 55 52 +3 56 57 58 +3 58 59 56 +3 60 61 62 +3 62 63 60 +3 64 65 66 +3 66 67 64 +3 68 69 70 +3 70 71 68 +3 72 73 74 +3 74 75 72 +3 76 77 78 +3 78 79 76 +3 80 81 82 +3 82 83 80 +3 84 85 86 +3 86 87 84 +3 88 89 90 +3 90 91 88 +3 92 93 94 +3 94 95 92 +3 96 97 98 +3 98 99 96 +3 100 101 102 +3 102 103 100 +3 104 105 106 +3 106 107 104 +3 108 109 110 +3 110 111 108 +3 112 113 114 +3 114 115 112 +3 115 116 112 +3 115 117 116 +3 117 118 116 +3 117 119 118 +3 117 120 119 +3 120 121 119 +3 113 112 122 +3 122 123 113 +3 122 124 123 +3 124 125 123 +3 124 126 125 +3 126 121 125 +3 121 127 125 +3 121 120 127 +3 128 129 130 +3 130 131 128 +3 132 133 134 +3 134 135 132 +3 136 137 138 +3 138 139 136 +3 140 141 142 +3 142 143 140 +3 144 145 146 +3 146 147 144 +3 147 148 144 +3 147 149 148 +3 149 150 148 +3 149 151 150 +3 149 152 151 +3 152 153 151 +3 145 144 154 +3 154 155 145 +3 154 156 155 +3 156 157 155 +3 156 158 157 +3 158 153 157 +3 153 159 157 +3 153 152 159 +3 160 161 162 +3 162 163 160 +3 164 165 166 +3 166 167 164 +3 168 169 170 +3 170 171 168 +3 172 173 174 +3 174 175 172 +3 176 177 178 +3 178 179 176 +3 180 181 182 +3 182 183 180 +3 184 185 186 +3 186 187 184 +3 188 189 190 +3 190 191 188 +3 192 193 194 +3 194 195 192 +3 194 196 195 +3 196 197 195 +3 196 198 197 +3 198 199 197 +3 200 201 202 +3 202 203 200 +3 202 204 203 +3 204 205 203 +3 204 206 205 +3 206 207 205 +3 208 209 210 +3 210 211 208 +3 212 213 214 +3 214 215 212 +3 216 217 218 +3 218 219 216 +3 220 221 222 +3 222 223 220 +3 224 225 226 +3 226 227 224 +3 228 229 230 +3 230 231 228 +3 232 233 234 +3 234 235 232 +3 236 237 238 +3 238 239 236 +3 240 241 242 +3 242 243 240 +3 244 245 246 +3 246 247 244 +3 248 249 250 +3 250 251 248 +3 252 253 254 +3 254 255 252 +3 256 257 258 +3 258 259 256 +3 260 261 262 +3 262 263 260 +3 264 265 266 +3 266 267 264 +3 268 269 270 +3 270 271 268 diff --git a/data/models/cube.ply b/data/models/cube.ply @@ -0,0 +1,54 @@ +ply +format ascii 1.0 +comment Created by Blender 2.79 (sub 0) - www.blender.org, source file: 'test-cube.blend' +element vertex 26 +property float x +property float y +property float z +property float nx +property float ny +property float nz +property uchar red +property uchar green +property uchar blue +element face 12 +property list uchar uint vertex_indices +end_header +1.000000 -1.000000 0.000000 -0.000000 -0.000000 -1.000000 34 255 47 +-1.000000 1.000000 0.000000 -0.000000 -0.000000 -1.000000 253 101 60 +1.000000 1.000000 0.000000 -0.000000 -0.000000 -1.000000 253 102 60 +-1.000000 1.000000 2.000000 0.000000 0.000000 1.000000 255 85 241 +0.999999 -1.000001 2.000000 0.000000 0.000000 1.000000 255 1 251 +1.000000 0.999999 2.000000 0.000000 0.000000 1.000000 40 49 254 +1.000000 0.999999 2.000000 1.000000 0.000000 -0.000000 152 255 243 +1.000000 -1.000000 0.000000 1.000000 0.000000 -0.000000 1 8 255 +1.000000 1.000000 0.000000 1.000000 0.000000 -0.000000 255 96 55 +0.999999 -1.000001 2.000000 -0.000000 -1.000000 -0.000000 255 1 251 +-1.000000 -1.000000 0.000000 -0.000000 -1.000000 -0.000000 152 255 243 +1.000000 -1.000000 0.000000 -0.000000 -1.000000 -0.000000 1 8 255 +-1.000000 -1.000000 0.000000 -1.000000 0.000000 -0.000000 35 251 41 +-1.000000 1.000000 2.000000 -1.000000 0.000000 -0.000000 1 255 15 +-1.000000 1.000000 0.000000 -1.000000 0.000000 -0.000000 253 101 60 +1.000000 1.000000 0.000000 0.000000 1.000000 0.000000 253 102 60 +-1.000000 1.000000 2.000000 0.000000 1.000000 0.000000 255 85 242 +1.000000 0.999999 2.000000 0.000000 1.000000 0.000000 125 188 248 +-1.000000 -1.000000 0.000000 0.000000 -0.000000 -1.000000 35 251 41 +-1.000000 -1.000000 2.000000 0.000000 -0.000000 1.000000 255 1 3 +1.000000 0.999999 2.000000 1.000000 -0.000001 0.000000 152 255 243 +0.999999 -1.000001 2.000000 1.000000 -0.000001 0.000000 152 255 243 +1.000000 -1.000000 0.000000 1.000000 -0.000001 0.000000 1 8 255 +-1.000000 -1.000000 2.000000 -0.000000 -1.000000 0.000000 255 1 3 +-1.000000 -1.000000 2.000000 -1.000000 0.000000 -0.000000 255 1 3 +-1.000000 1.000000 0.000000 0.000000 1.000000 0.000000 253 99 60 +3 0 1 2 +3 3 4 5 +3 6 7 8 +3 9 10 11 +3 12 13 14 +3 15 16 17 +3 0 18 1 +3 3 19 4 +3 20 21 22 +3 9 23 10 +3 12 24 13 +3 15 25 16