Revision 31685
branches/gvSIG_19_ext3D_osgVP_2_2_0/extensions/ext3Dgui/src/org/gvsig/gvsig3dgui/display/FullScreenPanel.java | ||
---|---|---|
549 | 549 |
float wow_C = 127.5f; |
550 | 550 |
int screenNum = ((SpinnerNumberModel) jSpinner1 |
551 | 551 |
.getModel()).getNumber().intValue(); |
552 |
try { |
|
553 |
_fullScreenViewer.getTerrain(0).setEnabledClampProjectionMatrixCallback(false); |
|
554 |
} catch (ChildIndexOutOfBoundsExceptions e) { |
|
555 |
NotificationManager.addError("No terrain found", e); |
|
556 |
return; |
|
557 |
} |
|
552 |
//try {
|
|
553 |
// _fullScreenViewer.getTerrain(0).setEnabledClampProjectionMatrixCallback(false);
|
|
554 |
//} catch (ChildIndexOutOfBoundsExceptions e) {
|
|
555 |
// NotificationManager.addError("No terrain found", e);
|
|
556 |
// return;
|
|
557 |
//}
|
|
558 | 558 |
_fullScreenViewer.setUpViewForWoWVxDisplay(screenNum, |
559 | 559 |
wow_content, wow_factor, wow_offset, wow_Zd, wow_vz, |
560 | 560 |
wow_M, wow_C); |
branches/gvSIG_19_ext3D_osgVP_2_2_0/extensions/ext3Dgui/src/org/gvsig/gvsig3dgui/layer/properties/VectorialLayerListener3D.java | ||
---|---|---|
1 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
|
1 |
/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
|
|
2 | 2 |
* |
3 | 3 |
* Copyright (C) 2007 IVER T.I. and Generalitat Valenciana. |
4 | 4 |
* |
... | ... | |
35 | 35 |
/** |
36 | 36 |
* |
37 | 37 |
* @version |
38 |
* @author ?ngel Fraile Gri??n.(angel.fraile@iver.es)
|
|
38 |
* @author �ngel Fraile Gri��n.(angel.fraile@iver.es)
|
|
39 | 39 |
*/ |
40 | 40 |
|
41 | 41 |
public class VectorialLayerListener3D { |
... | ... | |
78 | 78 |
+ "Error getting maximun range layer elevation value.", e); |
79 | 79 |
} |
80 | 80 |
|
81 |
if ((new_h > 0 && new_h!= actual_h) || (actual_h == vectorialLayerPanel3D.getDefaultElevation()) ) //aplicando una altura distinta, si es la misma no se hace nada |
|
81 |
if ((new_h >= 0 && new_h!= actual_h) || (actual_h == vectorialLayerPanel3D.getDefaultElevation()) ) //aplicando una altura distinta, si es la misma no se hace nada
|
|
82 | 82 |
{ |
83 | 83 |
context.removeLayerToTerrain(flyr); |
84 | 84 |
props3D.setZEnable(false); |
Also available in: Unified diff