David Williams 
							
						 
					 
					
						
						
							
						
						0e995b5140 
					 
					
						
						
							
							Fixed some compiler warnings.  
						
						
						
						
					 
					
						2015-03-21 07:40:32 +01:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						bfc7dfdc1b 
					 
					
						
						
							
							Removed the ability to specify a region in the PagedVolume's constructor, and updated the tests and examples where required.  
						
						
						
						
					 
					
						2015-02-28 23:31:23 +01:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						64d010527b 
					 
					
						
						
							
							Removed old getVoxelAt()/setVoxelAt() functions. they've been flagged as deprecated for a while now, and are replaced by just getVoxel()/setVoxel().  
						
						
						
						
					 
					
						2015-02-27 11:07:15 +01:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						e985dce075 
					 
					
						
						
							
							Templatized OpenGLWidget so users can specify the version of OpenGL to support.  
						
						
						
						
					 
					
						2015-02-24 22:17:46 +01:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						9547824f14 
					 
					
						
						
							
							Renamed matrices. I quite like names such as 'modelToWorldMatrix' and 'cameraToClipMatrix' because they were very explicit about what the transform was doing. However OpenGL uses common terms such as 'model matrix' and 'projection matrix', so other people wlil be able to follow the code more easily if we stick to these conventions.  
						
						
						
						
					 
					
						2015-02-24 16:08:55 +01:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						7262ca313e 
					 
					
						
						
							
							More work splitting example framework into two pieces.  
						
						
						
						
					 
					
						2015-02-20 16:56:03 +01:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						838407ba4f 
					 
					
						
						
							
							Started splitting example framework into to two classes. One will be general purpose (for use in Cubiquity, etc), and the other will have PolyVox specific stuff.  
						
						
						
						
					 
					
						2015-02-20 16:20:09 +01:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						9c93c5fc36 
					 
					
						
						
							
							Switched examples to use FPS-style first person perspective camera.  
						
						
						
						
					 
					
						2015-02-20 15:28:54 +01:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						565aa21799 
					 
					
						
						
							
							Refactoring example code.  
						
						
						
						
					 
					
						2015-02-20 11:23:17 +01:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						ec80bfe740 
					 
					
						
						
							
							Switched to using Qt for loading extensions, instead of GLEW.  
						
						
						
						
					 
					
						2015-02-09 23:17:33 +01:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						c62bde0066 
					 
					
						
						
							
							Work on getting the OpenGL/Qt5 support working with new header-only library.  
						
						
						
						
					 
					
						2015-02-09 22:11:06 +01:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						049a77cd0c 
					 
					
						
						
							
							Moved all headers from 'PolyVoxCore' to 'PolyVox', as we no longer have the core/util distinction.  
						
						
						
						
					 
					
						2015-02-07 17:26:36 +01:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						16a75d0606 
					 
					
						
						
							
							Reoranising header structure.  
						
						
						
						
					 
					
						2015-02-07 17:16:54 +01:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						a296807ed9 
					 
					
						
						
							
							Removed PolyVoxUtil.  
						
						
						
						
					 
					
						2015-02-07 14:59:08 +01:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						c3f2e5217e 
					 
					
						
						
							
							Removed CMake code which tries to build/use PolyVoxCore as a library.  
						
						
						
						
					 
					
						2015-02-06 23:29:35 +01:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						86357d66b7 
					 
					
						
						
							
							Normalized line endings  
						
						
						
						
					 
					
						2014-09-25 22:38:01 +02:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						db2e62d2a8 
					 
					
						
						
							
							Replaced LargeVolume and SimpleVolume with PagedVolume in tests and examples.  
						
						
						
						
					 
					
						2014-09-21 17:57:42 +02:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						880dcd8645 
					 
					
						
						
							
							Fixed incorrect messages about temp files not being deleted.  
						
						
						
						
					 
					
						2014-09-20 17:17:18 +02:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						c0a22de2df 
					 
					
						
						
							
							Removed a lot of compression-related code.  
						
						
						
						
					 
					
						2014-09-13 12:20:56 +02:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						302c6e688b 
					 
					
						
						
							
							More work eliminating compression from inside LargeVolume.  
						
						
						
						
					 
					
						2014-09-13 11:59:51 +02:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						bfa14a32df 
					 
					
						
						
							
							Split 'decode()' function into several variants so it's not so heavily overloaded.  
						
						
						
						
					 
					
						2014-07-24 16:55:11 +02:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						31e5a6e346 
					 
					
						
						
							
							Replaced 'm_region' with 'm_offset' and demonstrated its use.  
						
						
						
						
					 
					
						2014-06-02 17:30:41 +02:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						85c5686ff9 
					 
					
						
						
							
							Work on more compact version of MarchingCubesVertex.  
						
						
						
						
					 
					
						2014-05-29 09:53:16 +02:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						e9ba998f2f 
					 
					
						
						
							
							Changes to the folder organization of some files in Visual Studio (via CMake's source_group).  
						
						
						
						
					 
					
						2014-05-28 14:03:26 +02:00 
						 
				 
			
				
					
						
							
							
								Matt Williams 
							
						 
					 
					
						
						
							
						
						c26686476d 
					 
					
						
						
							
							Use Qt's resource system to store the shader source  
						
						... 
						
						
						
						The shader source is included inside each comipled binary file. The
OpenGL example also provides its own shader files which overrides
the default. Common shader code is in the 'common' directory and
each example's custom shader is alongside the example's C++ code. 
						
						
					 
					
						2014-05-28 10:29:05 +01:00 
						 
				 
			
				
					
						
							
							
								Matt Williams 
							
						 
					 
					
						
						
							
						
						140cbc0fc7 
					 
					
						
						
							
							Move shader code to external files rather than embedded  
						
						... 
						
						
						
						A bit of CMake code in each example copies the files to the
correct location and Qt loads them from the application's binary
directory. 
						
						
					 
					
						2014-05-27 15:08:20 +01:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						1d8fc25cb7 
					 
					
						
						
							
							Compile fixes for GCC/Linux  
						
						
						
						
					 
					
						2014-05-26 23:14:29 +02:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						ba58cff815 
					 
					
						
						
							
							Removed use of 'R' raw string literals as CS 2012 doesn't support them.  
						
						
						
						
					 
					
						2014-05-26 22:51:09 +02:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						5a23299634 
					 
					
						
						
							
							More tidying shader code.  
						
						
						
						
					 
					
						2014-05-26 21:14:54 +02:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						fd3879faeb 
					 
					
						
						
							
							Tidying OpenGLExample shader code.  
						
						
						
						
					 
					
						2014-05-26 21:10:07 +02:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						40e528d782 
					 
					
						
						
							
							Added lighting to OpenGL example.  
						
						
						
						
					 
					
						2014-05-26 17:00:26 +02:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						9e835a1110 
					 
					
						
						
							
							Shader now passed by shared pointer.  
						
						
						
						
					 
					
						2014-05-25 23:40:55 +02:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						b97bf52214 
					 
					
						
						
							
							Tidying up.  
						
						
						
						
					 
					
						2014-05-25 23:34:12 +02:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						b63a09cab3 
					 
					
						
						
							
							Changing the way the examples handle translation and scaling.  
						
						
						
						
					 
					
						2014-05-25 21:29:44 +02:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						eb39f0bb4c 
					 
					
						
						
							
							OpenGLExample is once again rendered as multiple separate mehses (but using the example framework this time).  
						
						
						
						
					 
					
						2014-05-25 12:28:45 +02:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						f78aad8abd 
					 
					
						
						
							
							Fixed colors to match previous version of the example.  
						
						
						
						
					 
					
						2014-05-24 22:58:31 +02:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						99cf75e902 
					 
					
						
						
							
							Material now passed to shader as integer rather than float.  
						
						
						
						
					 
					
						2014-05-24 22:53:10 +02:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						07b9cf05fa 
					 
					
						
						
							
							Changed OpenGLExample to use MaterialDensityPair88 instead of MaterialDensityPair44.  
						
						... 
						
						
						
						Added material to shaders. 
						
						
					 
					
						2014-05-24 21:09:26 +02:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						aace1f2e36 
					 
					
						
						
							
							Exposing normals to example framework.  
						
						
						
						
					 
					
						2014-05-24 09:38:01 +02:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						6cbb2d44bf 
					 
					
						
						
							
							Work on making OpenGLExample work with common example framework.  
						
						
						
						
					 
					
						2014-05-23 22:44:58 +02:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						34f57911a7 
					 
					
						
						
							
							Converting OpenGLExample to use common OpenGLWidget.  
						
						
						
						
					 
					
						2014-05-23 22:18:17 +02:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						4aae00e4a8 
					 
					
						
						
							
							Renamed SurfaceMesh to just Mesh  
						
						
						
						
					 
					
						2014-05-23 15:17:07 +02:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						573c36db87 
					 
					
						
						
							
							Renamed vertex classes to the far more meaningful 'CubicVertex' and 'MarchingCubesVertex'. The old names didn't make much sense, even less so now they are templatized.  
						
						
						
						
					 
					
						2014-05-11 15:17:59 +02:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						ae87dbee77 
					 
					
						
						
							
							Fixed materials in OpenGL example.  
						
						
						
						
					 
					
						2014-05-08 16:40:27 +02:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						b0a8ca8a64 
					 
					
						
						
							
							This commit templatizes the vertex classes on voxel types. This was the main change which was made for Cubiquity and it's very messy at the moment. However, this will improve when we make more use of 'auto' to hide the template madness.  
						
						
						
						
					 
					
						2014-05-07 23:47:18 +02:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						2da902d5f9 
					 
					
						
						
							
							This change reverts PolyVox back to using Qt 4.8. This is expected to be a temporary change, required because moving to Qt 5 caused various complications on Windows which we are not yet ready to address.  
						
						... 
						
						
						
						For more details see here: https://bitbucket.org/volumesoffun/polyvox/issue/41/upgrade-to-qt-5  
						
						
					 
					
						2014-05-05 20:29:52 +02:00 
						 
				 
			
				
					
						
							
							
								Matt Williams 
							
						 
					 
					
						
						
							
						
						868fbb84a0 
					 
					
						
						
							
							Update to use Qt5  
						
						... 
						
						
						
						The examples and tests now use Qt5. This allows some nice tidying of the
CMake files, some of which will come in future.
Closes issue #41  
						
						
					 
					
						2014-03-09 18:02:24 +00:00 
						 
				 
			
				
					
						
							
							
								Matt Williams 
							
						 
					 
					
						
						
							
						
						bc17c802bb 
					 
					
						
						
							
							Assume C++11 support  
						
						... 
						
						
						
						Remove all CMake checks for C++11 support since we now assume that we have it.
Replace all polyvox_* macros with standard C++ names.
See #48  
						
						
					 
					
						2014-02-14 15:03:26 +00:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						4478e365c9 
					 
					
						
						
							
							Removed RLECompressor as the code is now in RLEBlockCompressor.  
						
						... 
						
						
						
						Things are starting to get back under control. All tests pass, and all examples except PagingExample work. 
						
						
					 
					
						2013-07-30 17:01:27 +02:00 
						 
				 
			
				
					
						
							
							
								David Williams 
							
						 
					 
					
						
						
							
						
						a14de4a72e 
					 
					
						
						
							
							Replaced std::functions with Pager class for paging.  
						
						
						
						
					 
					
						2013-06-16 19:48:14 +02:00