Commit Graph

5119 Commits

Author SHA1 Message Date
aignacio_sf 5000348067 Use the GSG set_sampler_state function instead of the DX9 function directly. 2006-06-03 03:12:41 +00:00
aignacio_sf 3bd176fd7c Need to always set the render state since caching the render state doesn't seem to work (possibly due to Cg shader setting D3D render states).
Fixes problem with sails and ship damage.
2006-06-03 03:11:19 +00:00
Dustin Barnard 1a20ccab5c *** empty log message *** 2006-06-02 21:25:57 +00:00
aignacio_sf c9c25a867d Disable stencil requests for make_texture_buffer for now. 2006-06-02 00:18:17 +00:00
Roger Hughston b03a063028 MAC Mouse visibility and procedural location control. ala kaweh 2006-05-31 20:50:56 +00:00
David Rose 4874f2cd01 clarify intention of assignment 2006-05-31 16:51:48 +00:00
aignacio_sf 0d8e519699 Remove releasing of d3d texture since Panda already manages releasing of textures. 2006-05-31 01:37:23 +00:00
aignacio_sf 64ac1f8510 Updated stencil interface. 2006-05-27 00:52:09 +00:00
Roger Hughston 1afccc2d19 Added Repeate Codes for key ( Just spoofing key down like a PC ) :( 2006-05-26 20:01:09 +00:00
aignacio_sf 2557c64393 Eliminate possibility of a free twice error if close buffer is called multiple times. 2006-05-24 19:04:13 +00:00
aignacio_sf c905d712ab Attempting to optimize the setting of stencil render states doesn't seem to work.
Switch back to the unoptimized way.
2006-05-24 02:45:53 +00:00
David Rose fcaba44369 misplaced brace 2006-05-24 00:23:48 +00:00
aignacio_sf d57e768594 Initial working stencil. 2006-05-24 00:13:04 +00:00
aignacio_sf 1a8e40cb46 Remove call to base destructor. 2006-05-23 23:49:44 +00:00
aignacio_sf 8b4638b38c Initial working version of stencil buffer. 2006-05-23 23:41:49 +00:00
aignacio_sf 3760491ac6 Add stencil support. 2006-05-23 23:41:08 +00:00
aignacio_sf 20d6d877e1 Add comments, debug. 2006-05-23 23:38:22 +00:00
David Rose 91b341dafb fix multithreading issues with X 2006-05-23 14:16:38 +00:00
David Rose 6c3ac71c05 need BF_size_square for cube maps 2006-05-23 12:52:01 +00:00
David Rose 556d564c5a make_cube_map() default uses PandaNode::get_all_camera_mask() 2006-05-23 12:51:07 +00:00
David Rose d6b1da618c add get_all_camera_mask() 2006-05-23 12:48:25 +00:00
David Rose f3691cf520 files missing from Sources.pp 2006-05-22 23:52:40 +00:00
David Rose 6ee39ae6e9 accidentally removed miles variables 2006-05-22 22:08:32 +00:00
David Rose ed1fd25236 explicit calls to init_type() 2006-05-22 18:32:22 +00:00
David Rose 611d3b04b0 remove debug output 2006-05-22 18:31:42 +00:00
David Rose 5927760011 remove incorrect call up to base destructor method 2006-05-21 01:40:20 +00:00
aignacio_sf 682065a3e8 Preliminary stencil buffer code. 2006-05-19 04:18:09 +00:00
aignacio_sf 1a8b8f1756 Correct comment. 2006-05-19 01:14:16 +00:00
aignacio_sf 0924c50cd1 Add support for desination alpha for the back buffer. 2006-05-18 18:44:12 +00:00
David Rose eb0757e5f7 fix hard crash with too many solids per from collisionnode 2006-05-18 13:47:53 +00:00
David Rose 6a007533fd fix tabs, prevent crash on startup 2006-05-17 18:47:45 +00:00
aignacio_sf 52d3b65cc4 Fix RTT clear color buffer problem. Use color instead of back. 2006-05-15 23:02:13 +00:00
Josh Yelon d9affd78e0 Maybe this will fix the miles problems 2006-05-15 19:12:52 +00:00
Josh Yelon 947d21e598 Changed a function name 2006-05-15 18:06:13 +00:00
David Rose 0a93b10ff7 add missing include 2006-05-15 17:38:10 +00:00
David Rose 4b8d78f3c3 files have been moved to express 2006-05-15 17:34:29 +00:00
Josh Yelon be22aa9d15 *** empty log message *** 2006-05-15 15:29:22 +00:00
Zachary Pavlov cb65e0c44e all right, almost all parts of ffmpeg should be hooked in 2006-05-14 22:35:54 +00:00
Zachary Pavlov 366f48314e okay, the only current video textures now supported are avi and mov, but they are both running through ffmpeg 2006-05-14 22:32:07 +00:00
Zachary Pavlov b8a0f48bae All right, here's the basic code necessary to run ffmpeg textures 2006-05-14 18:42:04 +00:00
Roger Hughston 8aad8db278 a tempary hack to make interigate less of a pig 2006-05-12 23:41:51 +00:00
Dave Schuyler 247e79ccce work in progress 2006-05-12 23:13:15 +00:00
Dave Schuyler b5678306f4 formatting 2006-05-12 23:12:46 +00:00
David Rose ae9d5a6f77 fix LinkedListNode assertion on exit 2006-05-12 21:24:42 +00:00
David Rose cbd873fc23 fix red-blue-stereo 2006-05-12 20:38:18 +00:00
David Rose 1f320c8196 add set_render_mode_thickness(), set_render_mode_perspective() 2006-05-12 20:37:21 +00:00
David Rose 92192adc31 fix Texture::reload() 2006-05-12 18:24:03 +00:00
David Rose a0a897772b fix PStats dr_index number 2006-05-12 18:21:38 +00:00
David Rose c8991502bf fix camera.set_active() 2006-05-12 18:21:19 +00:00
David Rose 9b202f59d7 prevent assertion without point_sprite extension 2006-05-12 18:09:47 +00:00