Commit Graph

1121 Commits (df3059729421f2e51f7b8bff3a9278249dfa8637)

Author SHA1 Message Date
Rogerborg df30597294 Add missing IGeometryCreator.h file. It's missing comments (which I'll add tonight) along with tests/testGeometryCreate.cpp.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2206 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-10 13:40:13 +00:00
Rogerborg ca0c0850c9 http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=32277
Expose CGeometryCreator (as IGeometryCreator) through ISceneManager.  Test app added.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2205 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-09 20:05:53 +00:00
Rogerborg e97eba6d3a Unit tests update. Remove version number from Burning driver name. Rename reference images. Temporarily elide the vector2d<s32> / vector3d<s32> tests to allow for the re-introduced bug in vectorXd<T>::normalize().
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2204 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-09 19:25:36 +00:00
Rogerborg a1781cbb7e Ooops. In we go.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2203 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-09 17:12:37 +00:00
hybrid 42b0b92cab Two more self-assignment fixes. setMesh still resets the values, though.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2201 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-06 11:56:37 +00:00
hybrid 6cf999bcaf Fix warnings/errors from latest updates.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2200 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-05 17:37:45 +00:00
engineer_apple c130d56b76 Changes in 1.6 TA
- fixed createMeshWith2TCoords
		normals were missing during copy. 
	- addded
		//! Creates a copy of the mesh, which will only consist of S3DVertex vertices.
		IMesh* CMeshManipulator::createMeshWith1TCoords(IMesh* mesh) const

	- added io::IFileSystem* CSceneManager::getFileSystem()
		for preparing to remove the (mostly) unnecessary double member variables
		in many loaders

	-	added virtual const c8* ISceneManager::getAnimatorTypeName(ESCENE_NODE_ANIMATOR_TYPE type);
		to the SceneManger Interface. just like getTypeName is public
	
	- added CSceneNodeAnimatorFlyCircle::radiusEllipsoid.
		if radiusEllipsoid == 0 the default circle animation is done
		else radiusEllipsoid forms the b-axe of the ellipsoid.
		
		-> gummiball bouncing
		
	- added ISceneManager::createFlyStraightAnimator variable bool ping-pong
		used in loop mode to device if start from beginning ( default ) or make ping-pong
		
		-> straight bouncing

	- changed IFileSystem::registerFileArchive
		remove the index of the hiarchy and added a new interface method
	
		//! move the hirarchy of the filesystem. moves sourceIndex relative up or down
		virtual bool moveFileArchive( u32 sourceIndex, s32 relative ) = 0;
	
	 	
	- bugfix and changes in
		SViewFrustum::SViewFrustum
		wrong size of Matrices copy. This bug must be ages old... (typo)
		detected during resizing the Matrices. removed obsolute Matrices
		renamed E_TRANSFORMATION_STATE_2 to E_TRANSFORMATION_STATE_FRUSTUM
		
		therefore also changed SViewFrustum::setTransformState to not tap
		in the pitfall again of wrong memory...
		and renamed it to getTransform, like in the driver
		and Matrices private
		
	- OpenGL:
		Specular 
	- moved
		//! EMT_ONETEXTURE_BLEND: has BlendFactor Alphablending
		inline bool textureBlendFunc_hasAlpha ( E_BLEND_FACTOR factor ) const
		from the material renderes ( 3x declared ) to SMaterial.h

	- updated managed light example to use standard driver selection
	- BurningsVideo
		- LightModel reworked.
			Point Light & Direction Light works for Diffuse Color as aspected
			Specular and Fog still have problems ( needs new pixel shader )
			pushed burningsvideo to 0.42 for this major step

		-	removed obsolete matrix transformations
			renamed E_TRANSFORMATION_STATE_2 to E_TRANSFORMATION_STATE_BURNING

			
	- cleaned line3d.h vector3d.h template behavior.
		many mixed f32/f64 implementations are here. i'm not sure if this should be
		the default behavior to use f64 for example for 1.0/x value, because they
		benefit from more precisions, but in my point of view the user is responsible
		of choosing a vector3d<f32> or vector3d<f64>.
	- added core::squareroot to irrmath.h
		-> for having candidates for faster math in the same file
	- added AllowZWriteOnTransparent from SceneManager to burningsvideo	
		Following SceneManger guideline
	-added hasAlpha() to ITexture
		This info can be used for e.q to downgrade a transparent alpha channel blit
		to add if the texture has no alpha channel.
	


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2199 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-05 15:33:55 +00:00
hybrid 2eb72c3234 Fix GLXVisual creation for glx 1.2 and older.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2197 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-05 09:35:45 +00:00
hybrid 3708c5d1bd Global override material. Set and enable Material flags which will override materials of each scene node in the enabled render passes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2195 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-04 00:22:49 +00:00
hybrid 9ef5622505 Add warning if mesh has too many vertics with 16bit indices.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2194 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-03 23:53:08 +00:00
hybrid 18b7b4a55c Optimized texture matrix setting.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2193 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-03 23:51:03 +00:00
hybrid 9f47c2ee26 Make material flag enum combinable.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2192 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-03 23:42:26 +00:00
hybrid 5af050be2c Make renderpass enum combinable.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2191 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-03 23:29:48 +00:00
hybrid 5266da908a Changed from bbox extent to stored texture size for planar mapping ratio.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2190 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-02 22:10:42 +00:00
hybrid 543407812f Added another parameter for the new planar mapping operator
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2189 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-02 22:08:31 +00:00
hybrid b462a3e9d9 Move texture loading to the end, and skip empty meshbuffers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2188 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-02 16:36:31 +00:00
hybrid 76691deb4b Fix array bounds for now.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2187 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-02 13:11:37 +00:00
hybrid 9baff2f017 Fix texture loading.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2186 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-02 10:52:05 +00:00
hybrid 87a66e3f67 Avoid self-assignment causing wrong drop, found by CuteAlien.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2185 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-02 10:07:41 +00:00
hybrid cf81e50f52 Fix signedness warning.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2184 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-02 09:47:09 +00:00
hybrid a6a9950c80 Fix vector reading and use simpler axis determination.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2183 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-02 00:22:14 +00:00
hybrid b32da4e963 Many new features, e.g. (partial) planar mapping support and discontinuous texture coords (loosely based on Auradrummers code). Best thing is still to export only real UV coords.
Still a problem with normals, although they are now generated with Irrlicht's meshmanipulator methods.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2182 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-01 23:46:26 +00:00
hybrid 57c16f70d8 Added new makePlanarMapping method with one major axis for the whole mesh buffer, and different resolutions in S and T.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2181 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-01 23:43:44 +00:00
hybrid e06d5090b2 Cleaned up changes.txt
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2180 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-01 23:38:16 +00:00
hybrid 5745b3f422 Fix colormask deserialization default.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2179 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-01 21:52:47 +00:00
Rogerborg be994b9f22 Set a more useful initial camera position in example 07.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2178 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-01 19:34:22 +00:00
Rogerborg 5478f80545 https://sourceforge.net/tracker2/?func=detail&aid=1797487&group_id=74339&atid=540678
- Triangle selectors created from animated mesh scene nodes will update themselves as required to stay in sync with the node.
 - ISceneCollisionManager::getSceneNodeAndCollisionPointFromRay() allows selection by BB and triangle on a heirarchy of scene nodes.
Example 07 updated to show the usage of ISceneCollisionManager::getSceneNodeAndCollisionPointFromRay(), used on animated meshes.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2177 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-01 18:56:05 +00:00
Rogerborg 78f9dee79c http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=32182
Expose the IMeshBuffer of an IVolumeLightSceneNode.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2175 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-31 22:45:46 +00:00
Rogerborg 17784dd0f8 https://sourceforge.net/tracker2/?func=detail&aid=2552603&group_id=74339&atid=540678
Add IVideoDriver methods to enumerate the available image loaders and writers.  Unit test added.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2174 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-31 17:01:45 +00:00
Rogerborg bd192519d6 http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=32019
Derive COctTreeSceneNode from IMeshSceneNode instead ISceneNode, and have it return the IMesh that was used to create its octtree.  Tested with a slightly modified example 07.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2173 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-31 15:58:43 +00:00
hybrid 0e00187fdd Aded a meshbuffer version of makePlanarTextureMapping.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2171 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-30 17:40:09 +00:00
hybrid 7810313bd5 Added some more supported material properties.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2170 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-29 17:45:16 +00:00
hybrid 5f2e459f49 Replaced path method by FileSystem function. Replaced const ints by enum.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2169 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-29 17:02:44 +00:00
hybrid b6a67db12b Added transparency for LWO files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2168 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-29 17:01:56 +00:00
hybrid 04f045c2ac Fix compilation without sw renderers, submitted by pc0de.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2167 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-29 16:18:51 +00:00
hybrid f86adb851c Add dependency files for automatic recompilation with Makefiles and gcc.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2166 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-29 09:29:11 +00:00
hybrid 276d00398b Now also passes under Linux. Also call a pager on the text file under non-windows systems.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2165 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-29 09:26:17 +00:00
hybrid 3735b5308d SMaterial deserialization patch by pc0de
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2164 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-28 23:45:59 +00:00
hybrid 858c74c1c5 Finally a successful test run
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2163 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-28 23:33:17 +00:00
hybrid 390837dade Update test files to new burningsvideo version
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2162 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-28 23:28:26 +00:00
hybrid 8ca2ea0fd5 Fix too small char buffer.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2161 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-28 23:23:30 +00:00
hybrid 72e38c419e Fix vector3d with int elements.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2160 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-28 23:07:07 +00:00
hybrid f74807659a Make work with vc9 again
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2159 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-28 23:06:04 +00:00
hybrid 63199557f1 Fix some warnings and a template problem with gcc 4.x
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2158 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-28 16:07:59 +00:00
engineer_apple cf7246f704 xbox update.
example 21.update. save/load game data on driver change

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2157 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-28 14:52:13 +00:00
hybrid a8e2b2367c Fix memory corruption due to char/wchar_t casts.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2156 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-28 12:32:57 +00:00
hybrid 84cb5dd93c Fix default values for RTT methods.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2155 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-28 09:51:10 +00:00
hybrid 06a7811de8 pak reader extension fixed.
Copyright year pushed to 2009.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2154 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-28 09:11:42 +00:00
hybrid 04efb300bc Missed a depth func rename
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2153 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-28 00:35:56 +00:00
hybrid 91356d3c56 Fix D3D8 MIPMAP LOD Bias.
Fix b3d loader.
Remove empty destructor.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2152 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-28 00:33:58 +00:00