Revision 15176

View differences:

import/ext3D/trunk/ext3D/src/com/iver/ai2/gvsig3d/gui/VectorTest.java
216 216
				// Getting point
217 217
				Punto3D element = (Punto3D) iter.next();
218 218
				Vec4 color = element.getColor();
219

  
219
				// Blending only is active if the alpha component are diferent that 1
220 220
				if (color.w() != 1) {
221 221
					p.setEnabledBlending(true);
222 222
				}
223
				// Enabling antialiasing
224
				p.setEnabledSmoothing(true);
223 225

  
224 226
				// Set up size, position and color
225 227
				p.setPointSize(element.getZize());
......
260 262
		if (p == null)
261 263
			p = new Point();
262 264

  
265
		// Blending only is active if the alpha component are diferent that 1
263 266
		if (color.w() != 1) {
264 267
			p.setEnabledBlending(true);
265 268
		}
......
426 429
		// p.setType(Polygon.PolygonType.EMPTY_POLYGON);
427 430
		// p.setType(Polygon.PolygonType.PATTERN_POLYGON);
428 431

  
432
		// Blending only is active if the alpha component are diferent that 1
429 433
		if (color.w() != 1) {
430 434
			p.setEnabledBlending(true);
431 435
		}
......
480 484
		p.setPattern((short) 0xFFFF);
481 485
		p.setFactor(2);
482 486

  
487
		// Blending only is active if the alpha component are diferent that 1
483 488
		if (color.w() != 1) {
484 489
			p.setEnabledBlending(true);
485 490
		}
491
		
492
		// Enabling antialiasing
493
		p.setEnabledSmoothing(true);
486 494

  
487 495
		p.setColor(color);
488 496

  

Also available in: Unified diff