Commit Graph

1218 Commits (1918be71ca1042d86e3ae4ff3d949a5d71e4fa78)

Author SHA1 Message Date
hybrid 229ff7da61 Add support for large meshes in .irrmesh format. Patch submitted by pc0de.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2261 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-09 09:45:39 +00:00
hybrid 12e3d08ebc Add Linux targets for c::b tutorial projects.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2260 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-09 09:23:45 +00:00
hybrid f0b34d4943 Fixed some warnings. Fixed minimizeWidow under Linux.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2259 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-09 09:09:36 +00:00
hybrid 0aab2f1924 Added device method minimizeWindow which minimizes the render window (as if the minimize button has been clicked)
Renamed setResizeAble to setResizeable

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2258 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-08 21:15:28 +00:00
bitplane 2bfc416e58 fix for Cyberware / cyslice / headus 3D tools PLY files with multiple spaces between words
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2257 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-05 23:55:05 +00:00
bitplane 96658e4598 Switch between 16 and 32 bit depending on vertex count
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2256 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-05 21:17:20 +00:00
bitplane 97edfbdd69 Fixed binary mesh loading.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2255 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-05 21:10:32 +00:00
bitplane 6e1fc8d745 Add sky dome type and to default node factory, add serialization and clone methods (bug #2656990 reported by lab_zj)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2254 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-05 18:20:07 +00:00
bitplane 6036a8e31e Fix bounding box and some warnings
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2252 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-05 02:20:33 +00:00
bitplane ce44c10fa4 Added PLY reader, currently only supports ascii and little-endian binary files.
Added mesh writer flag for binary export, not used yet.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2251 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-05 02:03:40 +00:00
bitplane 00be4fed05 Added PLY writer and added VC9 project for mesh converter
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2248 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-02 11:46:47 +00:00
bitplane 69e7d0bd59 Now compiles with SDL device in OSX, still crashes at runtime though
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2247 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-01 07:39:52 +00:00
bitplane 34a9ff2f77 Ensure ListBox on combo box doesn't hang off the bottom of the GUI root, by Matthias Specht
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2246 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-28 16:14:22 +00:00
bitplane d1f61e3140 recalculate clipping rectangle after setNotClipped, reported by Aelis440
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2245 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-28 15:37:25 +00:00
bitplane 29aa6ecd3f Bug fix for the combo box where it showed white text instead of skin colour before being focused, fix posted by drewbacca
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2244 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-28 14:27:46 +00:00
bitplane 410b95f946 EGDS_MESSAGE_BOX_HEIGHT is now honoured, reported by Spkka
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2243 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-28 14:14:51 +00:00
bitplane 2940de0112 Fixed bug with editbox sending events to null parent, reported by Sudi
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2242 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-28 13:08:45 +00:00
bitplane dc498aec77 Added a font for the console device, fixed grammar in IGUIFont docs
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2241 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-28 12:03:42 +00:00
bitplane b15e9e9fea Put ifdefs in OSX appdelegate for compiling with SDL or console devices, minor OSX project tidy up
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2240 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-28 08:29:33 +00:00
bitplane 4eda4c8e4b Update mac project, fixed some indentation
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2239 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-28 08:07:28 +00:00
bitplane b5605d2b49 Fixed a broken define
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2238 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-28 06:55:56 +00:00
bitplane fd088d68af Extended WinNT console device to include keyboard and mouse input and respond to windows close messages.
Added sigterm handler and some VT100 escape codes for Unix terminals. Added simple ASCII present() method just for fun, currently untested on most platforms

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2237 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-28 06:14:05 +00:00
bitplane 787dc2f5e6 changed text "software device" to "software driver", fixed editbox crash when no font is available
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2236 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-27 09:22:55 +00:00
bitplane b78345c729 Fix for compiling with image writers but without loaders
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2235 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-27 08:52:27 +00:00
bitplane 74e456a1cc Added generic console device. Only works with software drivers.
todo: user input from console. clean up when the task is killed. present() ASCII output would be nice! :-D

Added new files to projects

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2234 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-27 08:36:43 +00:00
hybrid 20657b83e3 Fix error message for missing DISPLAY variable.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2230 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-23 17:30:10 +00:00
hybrid 6ece9e0dfe Clarification of parameter unit.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2229 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-23 17:29:33 +00:00
hybrid 868d73e249 Performance optimization.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2228 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-23 17:27:07 +00:00
bitplane 8a0a55441d adapted OSX device code style to Irrlicht's rather than Cocoa's. Initial attempt at software driver support, isn't refreshing each frame yet
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2227 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-20 03:15:01 +00:00
hybrid 96ae0085f5 Fix dimension2du and getFileName signatures.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2226 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-19 23:01:57 +00:00
hybrid d27e4a280c Make semicolon checks less strict, fixing some issues with not absolutely correct .x files (which are loaded by MView, though).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2224 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-18 21:25:13 +00:00
bitplane 3200932257 Removed mouse X buttons for Windows SDKs before Win2k, reported by zillion42
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2223 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-17 15:02:06 +00:00
hybrid 5e43f1f644 Ignore some files in SVN.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2222 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-17 08:19:43 +00:00
bitplane 40bdfb3179 typo in ISceneManager docs to do with scene parameters
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2220 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-16 20:47:55 +00:00
bitplane bf91012549 Added workaround for SDL resetting glFrontFace(GL_CCW) after driver creation
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2219 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-16 19:20:47 +00:00
bitplane e7f7156ead Added mouse mask and middle mouse click events to OSX device
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2218 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-16 18:01:57 +00:00
bitplane a6c241ee89 Made enum for mouse button state mask
Win32: Added X buttons to mouse. 
SDL: Swapped middle and right buttons, added button state mask and fixed unresolved external. 
GUI: Fixed scroll input in combo box.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2217 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-16 17:28:17 +00:00
bitplane a7f93092ca Added mouse button states to drag/move events
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2216 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-16 13:42:35 +00:00
bitplane ba38526210 Had to rename some reserved words in (maybe objc++ but possibly macros to do with xcode?) IQ3Shader::id to ID, string::verify to validate.
Put casts back into OSX driver

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2215 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-15 23:10:21 +00:00
bitplane 510bb72e65 Updated version string
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2214 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-15 19:18:05 +00:00
bitplane 39c665ebd8 fixed treeview when compiling without GUI
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2213 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-13 11:06:34 +00:00
bitplane 24552f90cf added SViewFrustum::clipLine
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2212 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-13 10:27:44 +00:00
engineer_apple 7ddbd4f886 - destination alpha saving for CImage
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2211 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-11 23:53:15 +00:00
engineer_apple 6ad288bf1a git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2210 dfc29bdd-3216-0410-991c-e03cc46cb475 2009-02-11 19:58:51 +00:00
engineer_apple bebda484e1 Changes in 1.6 TA
- implemented isALoadableFileFormat ( File *file ) for the Archive Loader


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2209 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-11 14:04:12 +00:00
Rogerborg 7b5c07e9ce Add missing test files, update IGeometryCreator.h. Re-enable makeColorKeyTexture test - apologies if this is still borked on some platforms: please feel free to disable it again.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2208 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-10 22:21:04 +00:00
engineer_apple 2340f9b849 Changes in 1.6 TA
- PixelBlend16 and PixelBlend16_simd are working for the new rules.
	- bugfix. CLightSceneNode didn't correctly update it's attributes
	
		Lighting Linear Attenuation.	= 1.f / radius
		
		The Example loadirr files set the lightscene radius to 1000.f but
		stays on the previous default attentuation with the older radius 100 -> 1.f / 100
		so the examples looks golden-brown.
		
		Now the radius is correctly!! set to the attenuation of 1.f/1000.f because the
		file doesn't have special attenuation. and now it looks more yellow.
		can anybody show me a correct screenshot for this file;-)? Niko?
		
		Or is this behavior the default lighting?. then it would be
		a fixed constant linear attenuation of 0.01f;-). Please clearify
		For now i didn't fixed it
		
		
		I encountered this behavior because i ( burning video ) used the original radius
		for calculations and so i've found that radius != 1.f / linearAttenuation but
		in the LightSceneNode this formula was used.. confused;-)
		

	- vector template and equals tests
		as working with the test suits i cleaned the template behavior (mixed types are
		used in the templates) and added all missing special math function with their coressponding type
		I also set the equal test for s32 to behave like the f32 routine.

		The function equals always implements a weak test.		
		that means a tolerance MUST always be used if you use the equal function. default is 1.
		you can set it to zero a==b-> equals ( a, b, 0 ) but do it explicit like you have to
		for floating compare. This is important when irrlicht is going to use special hardware
		math acceleration on a per function base, like sse2, or the other way round fixpoint.
	
	- VideoDriver drawPixel
		The HW renderes are using the alpha components for blending.
		The Software Renderes and image loaders are using CImage::setPixel copy. 
		so setPixel is engaged to either blends or copy the pixel
		default: false
	- Burningvideo
		added RenderMaterial EMT_SPHERE_MAP
			pushed burningsvideo to 0.43
		added RenderMaterial EMT_REFLECTION_2_LAYER
			pushed burningsvideo to 0.44
		set	EMT_TRANSPARENT_ALPHA_CHANNEL_REF
			to use AlphaRef 0.5 like Direct3D
			
		One Note: in OpenGL there is know difference between sphere_map and reflection layer
		both using GL_TEXTURE_GEN_MODE GL_SPHERE_MAP, whereas in d3d one time using camera_normal
		on sphere and reflection on refletcion_layer.
		
		The visual difference is that on sphere map the "image is not moving" when you rotate the 
		viewer. For Buring i took the opengl visual. always moving
				

	- rename quake3 SEntity to IEntity to be confom with IShader
		even IShader and IEntity are none pure virtual interfaces
		like most irrlicht objects


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2207 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-10 15:08:23 +00:00
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