Revision 04a21ed6
Added by Leszek Koltunski about 3 years ago
src/main/java/org/distorted/examples/meshfile/MeshFileRenderer.java | ||
---|---|---|
133 | 133 |
if( mTexture==null ) mTexture = new DistortedTexture(); |
134 | 134 |
|
135 | 135 |
Effect.enableEffects(EffectType.VERTEX); |
136 |
DistortedLibrary.setMax(EffectType.VERTEX, 10);
|
|
136 |
DistortedLibrary.setMax(EffectType.VERTEX, 20);
|
|
137 | 137 |
DistortedLibrary.needTransformFeedback(); |
138 | 138 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this); |
139 | 139 |
} |
... | ... | |
328 | 328 |
|
329 | 329 |
private void createMesh() |
330 | 330 |
{ |
331 |
int[] dimensions = new int[] {1,2,3};
|
|
331 |
int[] dimensions = new int[] {1,1,1};
|
|
332 | 332 |
|
333 | 333 |
FactoryCubit factory = FactoryCubit.getInstance(); |
334 | 334 |
mMesh = factory.createCuboidMesh(dimensions); |
Also available in: Unified diff
Progress with bandaged cubes.