hybrid
274c52d5e0
Use dummy texture in null driver and software texture only in software driver. Use the dimension function for optimal texture sizes instead of local one.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2397 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-17 23:37:02 +00:00
hybrid
352e1955a5
Move local helper functions to where they are actually needed.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2396 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-17 23:30:07 +00:00
hybrid
3b1c2fdeff
Add an SDL target and a missing include file
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2394 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-16 17:47:07 +00:00
hybrid
71a154ef5e
Fix for spheremap rendering, texcoords are flipped in OpenGL.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2393 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-16 17:45:19 +00:00
hybrid
9d9024f5d6
Backport from ogl-es into the opengl driver: Use INCR_WRAP and DECR_WRAP when available even for the usual stencil algorithms, to avoid holes in the shadow.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2392 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-11 20:17:37 +00:00
hybrid
00193a810f
Check pointer before using it.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2379 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-08 16:30:57 +00:00
hybrid
cd66502f0e
Minor init fix.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2378 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-08 16:29:38 +00:00
hybrid
bff880b4b5
Speed up colorkey texture generation.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2376 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-08 07:20:51 +00:00
hybrid
ad8579ca81
Make the method isCulled publicly available
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2361 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-28 23:36:39 +00:00
hybrid
ffc37ec8d7
Make mesh cloning a little more explicit, in order to cope with SSkinnedMesh and others.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2360 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-28 23:03:33 +00:00
hybrid
81ca50c0b4
Avoid inclusion of irrlicht.h
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2359 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-28 23:02:18 +00:00
hybrid
188ce8b5fe
Ouch, rendered twice, now fixed. Moreover, we use the standard interfaces for all updates now.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2357 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-28 21:48:17 +00:00
hybrid
99a92fc35e
Add new Material flag ColorMaterial which defines how to interpret the vertex color when lighting is enabled. It's possible to use the color for diffuse, ambient, specular, or emissive modulation. Also combined diffuse and ambient is possible. This change finally unifies the behavior of non-textured meshes in OpenGL and D3D to a large extent.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2350 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-23 16:21:34 +00:00
hybrid
bccb6e0112
Merged from 1.5 branch revisions 2333:2347. Fix depthbuffer under d3d, renderstates under OpenGL, stencilshadow under OpenGL.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2349 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-23 13:15:39 +00:00
hybrid
f84e662812
Forgot the destructor.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2347 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-23 08:12:29 +00:00
hybrid
f95fd674eb
Allow cuboid creation instead of just uniform cubes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2346 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-22 23:58:01 +00:00
hybrid
a98c3319d1
Move cube creation to geometry creator. Submitted by wITTus.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2345 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-22 23:41:40 +00:00
hybrid
225d51e2c3
Add the two missing parameters to volume light mesh creation.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2344 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-22 23:08:33 +00:00
hybrid
58fcce1640
Use geometry creator method in Volume light node.
...
Changed scene node type of volume light to its own type.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2343 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-22 22:47:36 +00:00
hybrid
f91ece5e39
volume light mesh creation methods, provided by iondune
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2342 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-22 21:37:33 +00:00
hybrid
d7cde7f6cd
Reduce if-check
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2340 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-22 21:03:47 +00:00
hybrid
64bbdf4331
Now D3D8 also uses screen coords in 2d mode.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2337 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-20 21:43:17 +00:00
hybrid
9fe9af1f57
Make D3D9 driver use screen coords in 2d mode. D3D8 will follow.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2336 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-20 16:54:27 +00:00
hybrid
f40ce0f5bc
Support double_sided from MAYA
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2335 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-19 11:05:24 +00:00
hybrid
9f63a21cf9
Fix version number calculation.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2334 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-17 16:22:43 +00:00
hybrid
c7d2c6fe68
Clean up OpenGL includes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2332 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-17 13:46:35 +00:00
hybrid
03cad465a3
Changed the frame calculation to diff-based, as suggested on the tracker.
...
Changed default frame rate from 250FPS to 25 to FPS.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2329 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-11 23:28:39 +00:00
hybrid
5c7c557dd5
Some fixes for negative FramesPerSecond.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2328 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-11 20:51:31 +00:00
hybrid
5ba4e7ffac
Fix uninitialised value.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2326 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-06 15:44:20 +00:00
hybrid
1e607f4105
Merged from 1.5 branch, revisions 2319:2324. Fixed transparency issue with onetextureblend material and debug symbol under linux.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2325 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-06 15:27:55 +00:00
hybrid
2290428651
Fix resize with sw drivers, thanks to asphodeli
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2320 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-31 23:24:18 +00:00
hybrid
9d1b940494
Merged from 1.5 branch, revisions 2297:2318. Fixed collada loader for very old files, and fixed 3ds shininess.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2319 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-31 17:59:11 +00:00
hybrid
1918be71ca
Removed hw_surface and added SDL variables.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2317 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-30 23:54:19 +00:00
hybrid
db988e35fa
Fix screen creation and key handling of unknown keycodes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2316 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-30 23:25:08 +00:00
hybrid
70a1d335df
Added ViewMatrix affector, proposed by mandrav.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2315 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-30 16:56:54 +00:00
hybrid
b50f464a9d
Removed unused member.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2311 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-30 15:45:59 +00:00
hybrid
9e695384b9
Added collision function parameter for restricting check to only parts of the scene, patch by Darktib.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2310 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-30 15:14:38 +00:00
hybrid
443e988458
Changed error message.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2309 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-30 14:37:00 +00:00
hybrid
ca07a70436
Constification for line3df paramater and reindentation.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2308 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-30 09:36:30 +00:00
hybrid
c2d6da34ef
Remove unused destructors.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2307 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-30 09:18:36 +00:00
hybrid
4f01ee6a81
Autoscroll bugfix by Nox.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2305 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-29 22:48:05 +00:00
hybrid
e7c19f9e35
Give access to LimitReadFiles.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2304 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-29 22:33:45 +00:00
hybrid
b426f83a6b
Avoid registering archives twice.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2303 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-29 20:28:48 +00:00
hybrid
2e00d39faf
Fix wide-string handling in attributes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2302 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-29 20:17:19 +00:00
hybrid
824058e24a
Added some convenience overloads for archive handling. Cleaned up the existing methods.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2301 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-29 01:23:18 +00:00
hybrid
00c112d522
Make geometry creator reference counted.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2299 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-27 12:43:23 +00:00
bitplane
6abb6f14cb
Fix console device for with no video drivers or GUI (ie for texture/mesh manipulation without rendering)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2298 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-21 04:48:04 +00:00
hybrid
1125b61724
Merged from 1.5 branch, revision 2295: libpng update to 1.2.35.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2297 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-18 12:06:40 +00:00
hybrid
c26cb45461
Merged from 1.5 branch, revisions 2137:2293. Minor bugfixes, some doc updates.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2295 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-17 17:42:34 +00:00
hybrid
e862f14701
Removed some of the pointer usage.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2293 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-17 00:02:46 +00:00