19194 Commits

Author SHA1 Message Date
David Rose
5de361dfd4 a bit more robustification 2012-10-01 22:40:27 +00:00
David Rose
cf8d1ac8cd preserve named GeomNodes 2012-10-01 21:54:54 +00:00
David Rose
0a72ac45c5 fix some issues with platform matching 2012-10-01 20:47:11 +00:00
David Rose
da9ee4c165 use win_amd64 instead of win64, and win_i386 instead of win32 2012-10-01 18:24:13 +00:00
David Rose
a098df8670 fix win32 link issue 2012-10-01 17:59:36 +00:00
Zhao Huang
bc900d2555 In Rev 1.130 of GraphicsOut.cxx by drwr, the query for render-to-texture support is no longer made to the gsg directly at line 368, but is instead routed through an internal GraphicsOut.get_supports_render_texture() which defaults to false. In the wgl path, the derived wglGraphicsBuffer supplies its own get_supports_render_texture() that queries the gsg. The DirectX equivalent classes do not supply an overriding get_supports_render_texture() and so fails everytime when trying to render_to_texture.
Hence, why distortion the sample is failing under Dx9.

This set of fixes patches in the requisite get_supports_render_texture() for wdxGraphicsBuffer9 and fixes a few typos between depth and color texture usages. It also fixes a depth buffer bug with render-to-textures where the depth check appeared to be missing.

Thanks to Jonah (11thpenguin) for these fixes.
2012-10-01 04:33:54 +00:00
Zhao Huang
a6993457cc In Rev 1.130 of GraphicsOut.cxx by drwr, the query for render-to-texture support is no longer made to the gsg directly at line 368, but is instead routed through an internal GraphicsOut.get_supports_render_texture() which defaults to false. In the wgl path, the derived wglGraphicsBuffer supplies its own get_supports_render_texture() and querys the gsg. The DirectX equivalent classes do not supply a new get_supports_render_texture() and so fails everytime when trying to render_to_texture.
This patches in the requisite get_supports_render_texture() for wdxGraphicsBuffer8 and fixes a few typos between depth and color texture usages.

Thanks to Jonah (11thpenguin) for pointing these mistakes out.
2012-10-01 03:21:23 +00:00
David Rose
563f8bec7d new build error 2012-10-01 02:46:53 +00:00
David Rose
8e3e89b5b3 fix build circularity issue 2012-10-01 00:40:56 +00:00
David Rose
25870f099f missing include 2012-09-28 20:59:39 +00:00
David Rose
9461cf2ea9 malloc.h is windows-only 2012-09-28 20:57:55 +00:00
enn0x
62ffe69dbc Providing a single method for attaching/removing objects from a world. 2012-09-28 20:47:15 +00:00
David Rose
a737ebcc90 per_platform flag, giving better compatibility with old p3d files 2012-09-28 20:26:22 +00:00
enn0x
526159f961 A few asserts for better error localisation. 2012-09-28 20:20:05 +00:00
David Rose
16c0690edb notify-integrate 2012-09-28 16:46:28 +00:00
rdb
06b3438d72 Add Maya 2013 2012-09-28 09:38:15 +00:00
rdb
af9ec6eb3c Fix for bug #1057903 based on benchang's patch 2012-09-28 09:36:38 +00:00
David Rose
53e999259d build on mac 2012-09-27 23:23:41 +00:00
David Rose
0662ea7958 multiplatform support for plugin loader: run 32-bit or 64-bit version; whichever one is provided. 2012-09-27 23:00:23 +00:00
David Rose
0fa4376f8a pnmImage::flip() 2012-09-26 21:55:43 +00:00
David Rose
0c85073625 check Display Colors 2012-09-26 17:45:44 +00:00
David Rose
306bb1ff42 add set_vis_blend() 2012-09-26 17:44:45 +00:00
David Rose
7c830b277f forward_distort, reverse_distort 2012-09-22 00:48:31 +00:00
David Rose
f0c6f3fb45 fix PfmFile::extrude() 2012-09-21 21:36:35 +00:00
David Rose
3df5abf110 fix stdfloat_double goof 2012-09-20 19:04:25 +00:00
David Rose
22534c9a07 wip: extrude() 2012-09-20 00:43:33 +00:00
David Rose
c88c480b6f expose more "environment" variables on Windows 2012-09-17 19:29:06 +00:00
David Rose
4563c1e68e win64 into PROGRAMFILES64 2012-09-17 16:11:33 +00:00
David Rose
c4154ab908 fix bug with PfmFile::flip() 2012-09-14 22:22:39 +00:00
David Rose
74a20d0305 add pdeploy -O 2012-09-13 22:57:53 +00:00
David Rose
449554465d fix bug with vis_inverse() and vis_2d() 2012-09-12 19:33:18 +00:00
David Rose
0fb866ced8 comment out bbox expansion 2012-09-11 17:58:23 +00:00
David Rose
ede16a5287 fix Thread::force_yield() on win7 2012-09-07 16:35:24 +00:00
rdb
30e2c680e7 keep .nsi file if nsis failed 2012-09-05 07:21:26 +00:00
David Rose
f7353b79e7 add -C to egg2obj 2012-09-04 16:58:49 +00:00
rdb
d995a97ca1 fix pfm-bba compile issue 2012-09-02 08:38:19 +00:00
David Rose
656d7242cb pfm-bba for makepanda 2012-09-01 00:13:31 +00:00
David Rose
3a6c7cc376 build issue when openssl is not available 2012-08-31 22:19:11 +00:00
rdb
d67aad1e2a fix OpenMaya location on Linux 2012-08-28 14:07:58 +00:00
David Rose
b9da2363f1 fix shutdown error 2012-08-22 02:10:01 +00:00
David Rose
54a29d5ece fix assertion failures 2012-08-22 02:09:23 +00:00
rdb
33d494d0f4 make AsyncTaskManager::_global_ptr an ordinary pointer to prevent static init issues with PandaFramework 2012-08-15 10:55:40 +00:00
rdb
b686b94385 fix compilation on non-windows 2012-08-14 08:32:29 +00:00
David Rose
e5bed7767e LR_DEFAULTSIZE 2012-08-13 23:44:04 +00:00
David Rose
9daf081364 p3d supports win64 2012-08-13 23:13:23 +00:00
David Rose
ab5a3b2f09 openssl build issue 2012-08-13 22:14:09 +00:00
David Rose
2ff43ca88e some more texture/pfm integration 2012-08-12 17:56:56 +00:00
David Rose
7ba693137c integrate PfmFile with PNMImage, Texture 2012-08-12 15:49:08 +00:00
rdb
5bd76de269 fcollada, ode, carbon/cocoa 2012-08-11 21:09:28 +00:00
rdb
e013c6f073 hopefully put the lib64 issues to bed for now 2012-08-11 18:32:13 +00:00