Commit Graph

4622 Commits

Author SHA1 Message Date
David Rose cf01ef9cd6 add NodePath::find_material(), find_all_texcoords(), etc. Make Material be directly modifiable. 2006-01-15 06:34:33 +00:00
David Rose dced1a00cb add more loader options 2006-01-14 00:43:50 +00:00
David Rose 3f87411790 support-render-texture on by default 2006-01-13 22:05:26 +00:00
David Rose c9b27bd436 formally remove pandadx7 support 2006-01-13 21:50:04 +00:00
David Rose 9f178bdb25 fix indents 2006-01-13 18:56:51 +00:00
David Rose 572a146c24 untabify 2006-01-13 18:38:07 +00:00
David Rose 68326315de fix normal scaling 2006-01-13 16:02:34 +00:00
David Rose 9dab4ee9ea add gl-support-rescale-normal 2006-01-13 16:02:17 +00:00
David Rose 42b082e5b9 incorrect assert return 2006-01-13 15:40:33 +00:00
David Rose 5ea15b9dd7 add NodePath.has_texcoord() 2006-01-13 00:58:55 +00:00
David Rose 09243bcec3 don't include windows.h 2006-01-13 00:56:03 +00:00
David Rose cb9e5f2dad add generic ButtonThrower events: track keystrokes, too 2006-01-13 00:21:17 +00:00
David Rose 8c5504212e default GeomVertexWriter/Reader constructors 2006-01-13 00:20:46 +00:00
Dave Schuyler b164ac1834 changed friction out of range check 2006-01-12 03:50:14 +00:00
aignacio_sf 9a23eea39a work in progress 2006-01-12 02:08:07 +00:00
aignacio_sf aebc5ba5bd unbind needs GSG parameter 2006-01-12 02:07:22 +00:00
aignacio_sf ddc278b9d1 This version is an initial port of the original OpenGL version of the CG code.
This version basically compiles properly, but it will not work yet.
2006-01-11 19:55:13 +00:00
aignacio_sf c82636f835 This version is a copy of the original OpenGL version of the CG code. 2006-01-11 19:46:07 +00:00
aignacio_sf 8ecd64e785 Forgot to remove lru.cxx in dxgsg9 add lru.cxx in display. 2006-01-10 21:49:20 +00:00
aignacio_sf 00482ececd Whoops! Needed to use EXPCL_PANDA instead of EXPCL_PANDADX. 2006-01-10 21:48:33 +00:00
David Rose 152ad1a173 fix has_origin assertion 2006-01-10 18:57:54 +00:00
aignacio_sf 1a31424198 Prevent buffers being created that are larger than the display by cutting the requested size in half until it is small enough. 2006-01-09 23:02:17 +00:00
aignacio_sf bd23b0968d Output to debug some shader caps. 2006-01-09 20:00:15 +00:00
aignacio_sf aba7296a4d added lru.cxx, lru.h 2006-01-06 19:11:23 +00:00
aignacio_sf 1d798c9df2 moved here from dxgsg9 2006-01-06 19:10:56 +00:00
aignacio_sf 00fe985041 moved to display 2006-01-06 19:10:02 +00:00
aignacio_sf a4590db6a6 update comments, ... 2006-01-06 19:08:54 +00:00
aignacio_sf 52d7042b5c move lru to display directory 2006-01-06 19:08:29 +00:00
aignacio_sf 601f46896e Add check for redundant render state changes.
Added functions: set_render_state, set_texture_stage_state, set_sampler_state to replace direct calls to the DirectX version of the function.
2006-01-06 00:50:46 +00:00
David Rose 98c7d82385 declare methods const 2006-01-05 19:55:48 +00:00
David Rose c0c9347983 add set_scale() 2006-01-05 19:20:58 +00:00
aignacio_sf 068ae5eed3 Add EXPCL_PANDADX to classes.
Update some documentation.
2006-01-05 19:14:20 +00:00
aignacio_sf 56d607b8d0 Fix bug! 2006-01-05 18:42:33 +00:00
aignacio_sf a5159fdba3 Disable texturing before setting the render context in the cubemap case also. 2006-01-05 18:33:51 +00:00
aignacio_sf 56250d2c8d Use pre-defined constant 2006-01-05 18:27:58 +00:00
aignacio_sf cb9cc6576e Add some redundancy checks for render states. 2006-01-05 18:21:11 +00:00
David Rose b4e6656f49 cleanly disable texturing before rendering to a texture 2006-01-04 22:10:58 +00:00
David Rose 742c4173b8 use D3DTA_CONSTANT 2006-01-04 19:40:15 +00:00
aignacio_sf 54185735cd Avoid redundant setting of FVF. 2006-01-04 19:36:32 +00:00
aignacio_sf 4731e7e50e Unbind texture stages 0 and 1 before setting render context. 2006-01-04 19:35:38 +00:00
aignacio_sf 9ea324117a Fix an error reported by DirectX in debug mode.
Can't pass 0 for SetTextureStageState (..., D3DSAMP_MAXANISOTROPY, ... )
2006-01-04 03:10:53 +00:00
aignacio_sf 680b7878e4 Fix an error reported by DirectX in debug mode.
Can't pass 0 for SetSamplerState (..., D3DSAMP_MAXANISOTROPY, ... )
2006-01-04 03:07:23 +00:00
aignacio_sf ac39c20f8e Added debug more code.
Added a check to create a new depth stencil buffer if the render to texture size is bigger than the original depth stencil buffer.
Set depth stencil surface each time the render target is changed (this may or may not help the render to texture bug).
2006-01-04 01:36:31 +00:00
David Rose 80667761b4 use more net bandwidth 2006-01-04 00:31:28 +00:00
David Rose 8cef27663e optimizations, a few more interfaces 2006-01-04 00:31:00 +00:00
aignacio_sf c2eacaed78 Added creation of new depth stencil buffer if a dimension of the requested buffer size is bigger than the existing depth stencil surface.
Added error message support.
2006-01-03 19:41:10 +00:00
aignacio_sf f3110d821c Added forced creation of a depth stencil surface for render to texture. 2005-12-30 20:01:19 +00:00
aignacio_sf b75a855d53 Added some dxgsg9 error messages. 2005-12-30 19:36:20 +00:00
aignacio_sf 270d09a9d6 no message 2005-12-30 02:35:49 +00:00
aignacio_sf 8a8ecf20f4 Add preliminary fix to RTT 2005-12-30 02:35:27 +00:00