Revision 8982b894
Added by Leszek Koltunski almost 4 years ago
src/main/java/org/distorted/examples/meshjoin/MeshJoinRenderer.java | ||
---|---|---|
135 | 135 |
} |
136 | 136 |
} |
137 | 137 |
|
138 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
139 |
|
|
140 |
void setChecked(int number, boolean checked) |
|
141 |
{ |
|
142 |
android.util.Log.e("renderer", "Checkbox "+number+" checked: "+checked); |
|
143 |
} |
|
144 |
|
|
138 | 145 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
139 | 146 |
|
140 | 147 |
private Bitmap createTetrahedronTexture() |
... | ... | |
225 | 232 |
effect3.setMeshAssociation(15); // apply to all 4 meshes |
226 | 233 |
effect4.setMeshAssociation(14); // apply to mesh[1], [2] and [3] |
227 | 234 |
effect5.setMeshAssociation( 2); // apply only to mesh[1] |
228 |
effect6.setMeshAssociation( 4); // apply onlt to mesh[2]
|
|
235 |
effect6.setMeshAssociation( 4); // apply only to mesh[2]
|
|
229 | 236 |
effect7.setMeshAssociation( 8); // apply only to mesh[3] |
230 | 237 |
|
231 | 238 |
result.apply(effect1); |
Also available in: Unified diff
Progress with MeshJoin.