diff --git a/Concrete/CitcomSGlobalASCIIFile.cpp b/Concrete/CitcomSGlobalASCIIFile.cpp index 5758e27..b5a0632 100644 --- a/Concrete/CitcomSGlobalASCIIFile.cpp +++ b/Concrete/CitcomSGlobalASCIIFile.cpp @@ -2,7 +2,7 @@ CitcomSGlobalASCIIFile - Class reading ASCII files produced by parallel global CitcomS simulations. These are the uncombined files produced by each CPU in a parallel run. -Copyright (c) 2008-2011 Oliver Kreylos +Copyright (c) 2008-2012 Oliver Kreylos This file is part of the 3D Data Visualizer (Visualizer). @@ -133,6 +133,7 @@ Visualization::Abstract::DataSet* CitcomSGlobalASCIIFile::load(const std::vector coordFileName.append(".coord."); coordFileName.append(Misc::ValueCoder::encode(cpuLinearIndex)); IO::ValueSource coordReader(openFile(coordFileName,pipe)); + coordReader.skipWs(); /* Read and check the header line: */ try @@ -245,7 +246,7 @@ Visualization::Abstract::DataSet* CitcomSGlobalASCIIFile::load(const std::vector std::cout<<"Reading vector variable "<<*argIt<<"... 0%"<::encode(timeStepIndex)); IO::ValueSource dataValueReader(openFile(dataValueFileName,pipe)); + dataValueReader.skipWs(); /* Read and check the header line(s) in the data value file: */ try diff --git a/Concrete/CitcomSGlobalASCIIFile.h b/Concrete/CitcomSGlobalASCIIFile.h index be94e47..115225c 100644 --- a/Concrete/CitcomSGlobalASCIIFile.h +++ b/Concrete/CitcomSGlobalASCIIFile.h @@ -2,7 +2,7 @@ CitcomSGlobalASCIIFile - Class reading ASCII files produced by parallel global CitcomS simulations. These are the uncombined files produced by each CPU in a parallel run. -Copyright (c) 2008-2011 Oliver Kreylos +Copyright (c) 2008-2012 Oliver Kreylos This file is part of the 3D Data Visualizer (Visualizer). diff --git a/Concrete/CitcomSRegionalASCIIFile.cpp b/Concrete/CitcomSRegionalASCIIFile.cpp index 2d536f3..4d95617 100644 --- a/Concrete/CitcomSRegionalASCIIFile.cpp +++ b/Concrete/CitcomSRegionalASCIIFile.cpp @@ -2,7 +2,7 @@ CitcomSRegionalASCIIFile - Class reading ASCII files produced by parallel regional CitcomS simulations. These are the uncombined files produced by each CPU in a parallel run. -Copyright (c) 2008-2011 Oliver Kreylos +Copyright (c) 2008-2012 Oliver Kreylos This file is part of the 3D Data Visualizer (Visualizer). @@ -247,7 +247,7 @@ Visualization::Abstract::DataSet* CitcomSRegionalASCIIFile::load(const std::vect std::cout<<"Reading vector variable "<<*argIt<<"... 0%"< cd 3DVisualizer- -3. Adapt makefile if Vrui installation path is *not* ~/Vrui-2.4 by +3. Adapt makefile if Vrui installation path is *not* ~/Vrui-2.5 by setting the VRUIDIR variable to the correct location. VRUIDIR is *not* the directory containing Vrui's sources (and the Vrui README file), but the directory specified via the INSTALLDIR variable in diff --git a/VERSION b/VERSION index 3bfbb71..ea2bea8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3DVisualizer 1.11 +3DVisualizer 1.12 diff --git a/Wrappers/VolumeRenderer.icpp b/Wrappers/VolumeRenderer.icpp index ed9617c..fbef02a 100644 --- a/Wrappers/VolumeRenderer.icpp +++ b/Wrappers/VolumeRenderer.icpp @@ -286,7 +286,7 @@ VolumeRenderer::glRenderAction( /* Render the volume: */ renderer->setSliceCenter(PaletteRenderer::Point::origin); renderer->setColorMap(&privateColorMap); - renderer->renderBlock(contextData,viewDirection); + renderer->renderBlock(renderState.getContextData(),viewDirection); /* Reset OpenGL state: */ if(!alphaTestEnabled) diff --git a/makefile b/makefile index 4d433cb..5809f88 100644 --- a/makefile +++ b/makefile @@ -25,7 +25,10 @@ # matches the default Vrui installation; if Vrui's installation # directory was changed during Vrui's installation, the directory below # must be adapted. -VRUI_MAKEDIR := $(HOME)/Vrui-2.4/share/make +VRUI_MAKEDIR := $(HOME)/Vrui-2.5/share/make +ifdef DEBUG + VRUI_MAKEDIR := $(VRUI_MAKEDIR)/debug +endif # Base installation directory for 3D Visualizer and its module # plug-ins. The module plug-ins cannot be moved from this location @@ -102,7 +105,7 @@ PACKAGEROOT := $(shell pwd) # subsequent release versions of 3D Visualizer from clobbering each # other. The value should be identical to the major.minor version # number found in VERSION in the root package directory. -VERSION = 1.11 +VERSION = 1.12 # Set up resource directories: */ PLUGINSDIREXT = 3DVisualizer-$(VERSION) @@ -337,10 +340,10 @@ endif $(call MODULENAME,%): $(OBJDIR)/pic/Concrete/%.o @mkdir -p $(PLUGINDESTDIR) ifdef SHOWCOMMAND - $(CCOMP) $(PLUGINLINKFLAGS) -o $@ $^ $(LINKDIRFLAGS) $(LINKLIBFLAGS) + $(CCOMP) $(PLUGINLINKFLAGS) -o $@ $(filter %.o,$^) $(LINKDIRFLAGS) $(LINKLIBFLAGS) else @echo Linking $@... - @$(CCOMP) $(PLUGINLINKFLAGS) -o $@ $^ $(LINKDIRFLAGS) $(LINKLIBFLAGS) + @$(CCOMP) $(PLUGINLINKFLAGS) -o $@ $(filter %.o,$^) $(LINKDIRFLAGS) $(LINKLIBFLAGS) endif # Dependencies and special flags for visualization modules: @@ -371,10 +374,10 @@ $(call COLLABORATIONPLUGINNAME,%): PACKAGES += MYCOLLABORATIONSERVER $(call COLLABORATIONPLUGINNAME,%): $(OBJDIR)/pic/%.o @mkdir -p $(COLLABORATIONPLUGINDESTDIR) ifdef SHOWCOMMAND - $(CCOMP) $(PLUGINLINKFLAGS) -o $@ $^ $(LINKDIRFLAGS) $(LINKLIBFLAGS) + $(CCOMP) $(PLUGINLINKFLAGS) -o $@ $(filter %.o,$^) $(LINKDIRFLAGS) $(LINKLIBFLAGS) else @echo Linking $@... - @$(CCOMP) $(PLUGINLINKFLAGS) -o $@ $^ $(LINKDIRFLAGS) $(LINKLIBFLAGS) + @$(CCOMP) $(PLUGINLINKFLAGS) -o $@ $(filter %.o,$^) $(LINKDIRFLAGS) $(LINKLIBFLAGS) endif $(call COLLABORATIONPLUGINNAME,SharedVisualizationServer): $(OBJDIR)/pic/SharedVisualizationProtocol.o \ diff --git a/share/3DVisualizer-1.11/EarthTopography.png b/share/3DVisualizer-1.12/EarthTopography.png similarity index 100% rename from share/3DVisualizer-1.11/EarthTopography.png rename to share/3DVisualizer-1.12/EarthTopography.png diff --git a/share/3DVisualizer-1.11/EarthTopography.ppm b/share/3DVisualizer-1.12/EarthTopography.ppm similarity index 100% rename from share/3DVisualizer-1.11/EarthTopography.ppm rename to share/3DVisualizer-1.12/EarthTopography.ppm diff --git a/share/3DVisualizer-1.11/Shaders/SingleChannelRaycaster.fs b/share/3DVisualizer-1.12/Shaders/SingleChannelRaycaster.fs similarity index 100% rename from share/3DVisualizer-1.11/Shaders/SingleChannelRaycaster.fs rename to share/3DVisualizer-1.12/Shaders/SingleChannelRaycaster.fs diff --git a/share/3DVisualizer-1.11/Shaders/SingleChannelRaycaster.vs b/share/3DVisualizer-1.12/Shaders/SingleChannelRaycaster.vs similarity index 100% rename from share/3DVisualizer-1.11/Shaders/SingleChannelRaycaster.vs rename to share/3DVisualizer-1.12/Shaders/SingleChannelRaycaster.vs diff --git a/share/3DVisualizer-1.11/Shaders/TripleChannelRaycaster.fs b/share/3DVisualizer-1.12/Shaders/TripleChannelRaycaster.fs similarity index 100% rename from share/3DVisualizer-1.11/Shaders/TripleChannelRaycaster.fs rename to share/3DVisualizer-1.12/Shaders/TripleChannelRaycaster.fs diff --git a/share/3DVisualizer-1.11/Shaders/TripleChannelRaycaster.vs b/share/3DVisualizer-1.12/Shaders/TripleChannelRaycaster.vs similarity index 100% rename from share/3DVisualizer-1.11/Shaders/TripleChannelRaycaster.vs rename to share/3DVisualizer-1.12/Shaders/TripleChannelRaycaster.vs