David Rose
ffc92f23c8
more factoring of Thread::get_current_thread
2006-04-25 16:55:19 +00:00
David Rose
988ae7410f
missing files
2006-04-25 14:02:49 +00:00
David Rose
da9e4f8906
fix crash in sprite renderer
2006-04-25 14:00:20 +00:00
David Rose
160c848b68
better PandaNode::get_children(), introduce PandaNode::reset_all_prev_transform()
2006-04-25 13:55:46 +00:00
Chris Brunner
bb3f114519
hacked in some typedefs to make Mac support work
2006-04-25 01:17:41 +00:00
Josh Wilson
3699395250
reset birth timer on clear_to_initial
2006-04-23 23:53:06 +00:00
Josh Wilson
eea0bf839e
added choice of additive or modulated mode
2006-04-23 23:52:00 +00:00
Josh Wilson
f71690b252
allow query of vector masks
2006-04-23 23:50:07 +00:00
David Rose
384f9ff0b0
GeomVertexReader/Writer should not hold lock
2006-04-21 15:55:01 +00:00
David Rose
7e063748f6
static init ordering issues with MutexImpl
2006-04-21 15:27:40 +00:00
David Rose
e01defc4f8
add_level_now
2006-04-21 01:16:26 +00:00
David Rose
f395803541
fix missing flush_level()
2006-04-21 00:29:08 +00:00
David Rose
b9f61db573
prevent deadlock
2006-04-20 23:52:34 +00:00
David Rose
feb0f53f46
include
2006-04-20 22:05:48 +00:00
David Rose
4bcde63bde
particles crash
2006-04-20 19:46:24 +00:00
David Rose
ce3afa5f53
preserve current_thread instead of pipeline_stage in PipelineReader objects
2006-04-20 18:38:41 +00:00
David Rose
09fe314fc0
move inline function to .I
2006-04-20 04:18:35 +00:00
David Rose
a159507d73
fix Sources.pp
2006-04-20 04:13:51 +00:00
David Rose
e963611ba7
new file
2006-04-20 04:08:47 +00:00
David Rose
57338ee24d
better windows tau support; better threaded DeletedChain support; beginning PipelineReader classes
2006-04-20 04:03:16 +00:00
David Rose
8af16b0dcc
fix RM_billboard
2006-04-19 19:56:47 +00:00
David Rose
6a9fdd6575
fix static init ordering problem
2006-04-19 03:14:53 +00:00
Josh Yelon
b50bf2d4a0
fixed buffer properties handling
2006-04-18 22:50:05 +00:00
Josh Yelon
aabfbe54f3
graphicsEngine.cxx
2006-04-18 22:49:06 +00:00
David Rose
9ab698c9b3
fix egg-flat-shading 0 when color is only on vertices
2006-04-18 22:30:23 +00:00
aignacio_sf
f90b3395d2
Add more Cg specific error reporting.
2006-04-15 01:18:59 +00:00
David Rose
a2dc081676
more and better tau instrumenting
2006-04-14 15:45:07 +00:00
Josh Yelon
452923116d
Fixed a minor bug
2006-04-14 14:26:20 +00:00
David Rose
1eb1b26006
tau on windows
2006-04-14 03:18:36 +00:00
David Rose
c3303c70b2
make interfaces to move raw texture and vertex data through Python as strings
2006-04-14 00:28:04 +00:00
David Rose
34064f07ad
fix GL texture state change, DX texture reload
2006-04-13 22:56:38 +00:00
Josh Yelon
a39a229c76
Make current optimizations
2006-04-13 18:24:46 +00:00
David Rose
8cff8009a9
instrument more
2006-04-13 16:36:04 +00:00
David Rose
34a9253cdb
only unload textures if we are not managing
2006-04-13 14:08:29 +00:00
David Rose
2fbb7c1623
fix animation under flattenStrong
2006-04-12 23:49:01 +00:00
David Rose
a5e9ab5f10
prevent crash in non-threaded case; build niceties
2006-04-12 22:53:20 +00:00
David Rose
27bc202f98
volatile
2006-04-12 20:56:46 +00:00
David Rose
c4a36b6204
comment
2006-04-12 20:23:48 +00:00
David Rose
1468db93d8
MutexImpl doesn't take a name
2006-04-12 15:26:16 +00:00
David Rose
7986aaa0c3
mutex_spinlock
2006-04-12 15:15:37 +00:00
Josh Yelon
84550f0527
Parasite buffer inversion fix
2006-04-12 02:54:21 +00:00
David Rose
e3e0e2e447
fix keep_texture_ram
2006-04-11 23:32:02 +00:00
David Rose
5dc152c010
remove poorly-conceived pstats timers around mutex
2006-04-11 22:09:24 +00:00
Josh Yelon
99005ef42e
Enabled FBO by default
2006-04-11 18:15:29 +00:00
Josh Yelon
7108474f44
*** empty log message ***
2006-04-11 18:01:16 +00:00
David Rose
784e24a29e
flatten_strong() should combine GeomVertexDatas with different names
2006-04-11 17:48:50 +00:00
David Rose
6feda4a574
fix set_origin
2006-04-11 16:28:49 +00:00
David Rose
1fa550abdb
move NDEBUG to _DEBUG case
2006-04-11 14:51:34 +00:00
Josh Yelon
14749ea3b3
A fix for BTM_relative
2006-04-11 05:01:56 +00:00
Josh Yelon
2ec0ea8b1b
Fixed FT_default -> D3DTEXF_NONE
2006-04-11 02:11:56 +00:00
David Rose
c9501e7c1c
minor output change
2006-04-10 23:23:17 +00:00
David Rose
18de188129
pre-compute GSG::_internal_transform
2006-04-10 22:14:43 +00:00
David Rose
7b3ad94bbf
oops, EXPCL_PANDA, not PANDAEXPRESS
2006-04-10 22:08:41 +00:00
David Rose
1fabf70443
add ObjectDeletor; avoid unnecessary locks on RenderState
2006-04-10 21:19:48 +00:00
Roger Hughston
8ba6dd5b9f
More OSX Stuff .. some one else if fidling witn ggs to window behaviour .. i need to stop and let this settle ;(
2006-04-10 20:04:18 +00:00
David Rose
889228f403
name mutexes for debugging; better UpdateSeq thread behavior
2006-04-09 23:23:15 +00:00
David Rose
9e986fce40
make PStats more thread-friendly
2006-04-09 20:17:26 +00:00
David Rose
4ef5b4d97e
add Texture::reload(), fix TexturePool::release_texture()
2006-04-09 00:37:00 +00:00
David Rose
6119598f63
prevent crash on pview exit
2006-04-07 23:23:09 +00:00
David Rose
0f79e5a4ac
remove defunct headers
2006-04-07 22:40:32 +00:00
David Rose
49f9aae9db
remove defunct file:
2006-04-07 22:39:38 +00:00
Josh Yelon
9bc87afb04
*** empty log message ***
2006-04-07 20:45:07 +00:00
David Rose
838a261ae2
remove bogus assertion
2006-04-07 01:35:06 +00:00
David Rose
e0825beb5f
change color of App
2006-04-06 23:47:25 +00:00
David Rose
85ba9e05b8
occlusion test
2006-04-06 23:22:03 +00:00
David Rose
09623405f7
test_concurrency
2006-04-06 23:01:26 +00:00
David Rose
81b78cd075
test_concurrency
2006-04-06 22:32:58 +00:00
David Rose
9d77fe4e06
alpha mode issues
2006-04-06 21:54:46 +00:00
David Rose
b40026c2c7
fix animated vertex flattening
2006-04-06 21:43:39 +00:00
David Rose
d415ff755f
disable State Cache by default
2006-04-06 18:10:23 +00:00
Josh Yelon
cde115a055
Got hardware shadows in Cg working, for real this time
2006-04-06 16:44:38 +00:00
David Rose
82c0b5625f
ALLOC_DELETED_CHAIN in RefCountObj
2006-04-05 22:34:05 +00:00
David Rose
b115e2296c
remove INLINE
2006-04-05 21:57:03 +00:00
David Rose
67e78844b3
typos
2006-04-05 21:53:21 +00:00
David Rose
8a78fffd8f
multithreading optimizations, tau profiler, related changes
2006-04-05 19:36:05 +00:00
Josh Yelon
6d0692fec6
*** empty log message ***
2006-04-05 16:47:19 +00:00
David Rose
df0c99f67b
fix lost vertex columns in flattenStrong()
2006-03-30 00:10:36 +00:00
David Rose
5173168621
more pstats options with z-buffer
2006-03-29 23:37:46 +00:00
David Rose
92a5776b2c
LINK_IN_GLXGETPROCADDRESS
2006-03-29 22:08:06 +00:00
David Rose
4f31fe77d2
new files
2006-03-29 21:02:04 +00:00
David Rose
c0844239f1
initial rough pass at hierarchical z-buffer visibility. experimental.
2006-03-29 20:28:33 +00:00
Josh Yelon
cfdd323a13
FBO changes
2006-03-29 05:02:16 +00:00
Josh Yelon
b3db9bdafc
Pipeline composite
2006-03-29 04:08:51 +00:00
David Rose
1ec9170793
move average_frame_rate_interval to putil
2006-03-29 02:41:05 +00:00
David Rose
f4ecb972b4
no longer depends on linmath
2006-03-29 00:29:19 +00:00
David Rose
ac764876e4
ClockObject has moved to putil
2006-03-29 00:25:47 +00:00
David Rose
0e3f5c068a
whoops, atomicAdjust et al needs to be in express
2006-03-29 00:14:19 +00:00
David Rose
91efb72ca7
move threading/pipelining stuff into new directory, reorganize in general
2006-03-28 23:59:32 +00:00
David Rose
403488715e
compile-in reference to glXGetProcAddress() when possible
2006-03-28 17:04:10 +00:00
David Rose
09beba8436
retesselate-coplanar false by default
2006-03-28 16:39:28 +00:00
David Rose
fa8881d18d
auto-flip false by default
2006-03-28 15:16:16 +00:00
David Rose
e83efe66cd
don't consider fans by default
2006-03-28 05:38:06 +00:00
Dave Schuyler
2e3ca066dc
formatting
2006-03-28 03:51:09 +00:00
aignacio_sf
cb90d793d0
Fix shader issues on D3D Device Reset (resize window, ...)
...
Do not create a new shader context, but reuse old context and just set the D3D device for Cg.
2006-03-28 02:11:38 +00:00
David Rose
338791f68b
prevent double-destruct
2006-03-28 00:29:12 +00:00
aignacio_sf
0cc4c2918f
Update DX shader to where the GL shader is.
2006-03-27 23:06:52 +00:00
David Rose
d47a1e6b40
fix assertion failure
2006-03-27 23:02:47 +00:00
David Rose
f8bf91a461
new parameter should be optional for backward compatibility
2006-03-27 20:35:18 +00:00
David Rose
87d34eaed1
add glx-get-proc-address, glx-os-proc-address
2006-03-27 16:32:51 +00:00
David Rose
59f32111b3
improve ability of flattenStrong() to unify Geoms
2006-03-27 02:37:31 +00:00
David Rose
df2e738dfe
make ctattach behavior only when ctprojs defined
2006-03-26 23:12:53 +00:00
David Rose
2034bd25bb
remove troublesome call
2006-03-25 21:17:15 +00:00
David Rose
ffb676cc9a
compute _net_transform, not _modelview_transform, at each node of cull traversal
2006-03-24 23:41:09 +00:00
David Rose
c8633086c3
remove comment
2006-03-24 22:59:55 +00:00
David Rose
a31f6e7894
files moved to cull
2006-03-24 21:46:45 +00:00
David Rose
36b51114a9
remove debug statement
2006-03-24 18:48:02 +00:00
David Rose
8af9c5b213
whoops, forgot cull
2006-03-24 18:42:05 +00:00
David Rose
539ab8291b
comment
2006-03-24 01:09:43 +00:00
David Rose
38dde80e5f
isolate cull from pgraph
2006-03-24 01:01:34 +00:00
Dave Schuyler
19de130ffd
formatting
2006-03-24 00:36:55 +00:00
David Rose
6e9bab7195
preserve 40-degree default fov
2006-03-23 19:17:13 +00:00
David Rose
6335ebe61c
fix compilation errors with new buffer merge
2006-03-23 19:02:16 +00:00
David Rose
d1e65cd52d
fix crash
2006-03-23 18:29:06 +00:00
Josh Yelon
a8ffec28b6
Changes moving FrameBufferProperties into GraphicsOutput
2006-03-23 18:17:27 +00:00
David Rose
b27ad8aacb
fix loading rawtex
2006-03-23 03:35:16 +00:00
David Rose
af64776780
whoops, broke basic texture loading
2006-03-23 02:52:43 +00:00
Chris Brunner
24154d4a4b
Depreciated. Now at http://aspen.online.disney.com/mediawiki/index.php/How_to_install_Panda_on_Windows as a wiki.
2006-03-23 00:10:47 +00:00
David Rose
8b93f67c23
set_min_fov()
2006-03-22 22:45:36 +00:00
David Rose
f803ef85ce
explicit mipmap control
2006-03-22 22:23:56 +00:00
David Rose
03a861dfcb
remove inappropriate include
2006-03-22 21:09:00 +00:00
Josh Yelon
b2a96df6c9
It now compiles. But does it do anything?
2006-03-22 20:58:22 +00:00
David Rose
76252c5316
fix problem with hidden PGui items still being active
2006-03-22 19:02:58 +00:00
Josh Yelon
f35a7469d0
More work on glGraphicsBuffers (will compile soon)
2006-03-22 04:14:46 +00:00
Dave Schuyler
67f79bc9c4
formatting
2006-03-22 02:03:57 +00:00
aignacio_sf
9f909bd865
Vast improvement for the framebuffer_copy_to_texture function by using StretchRect function.
2006-03-22 00:01:11 +00:00
aignacio_sf
506f2c8b5c
Previous change to ARGB format for render to texture caused a problem for framebuffer to texture since the source and destination buffer formats had to match for DX the "CopyRects" function to work.
...
The code path is now split into ram type vs texture type destinations.
Match previous DX9 changes set_context, ...
2006-03-21 21:00:43 +00:00
aignacio_sf
af04cf8f74
Match DX8 render to texture / framebuffer changes.
2006-03-21 20:52:14 +00:00
aignacio_sf
6474496071
restrict setting render to texture
2006-03-21 20:47:57 +00:00
Roger Hughston
beee323924
*** empty log message ***
2006-03-21 19:58:50 +00:00
aignacio_sf
ed28850efa
Fix DX 8 and 9 problem for render to texture after new graphics buffer changes.
...
The texture was being created before the set_render_to_texture was being called. Therefore, it was not creating a texture that could be rendered to.
2006-03-21 04:18:30 +00:00
Roger Hughston
b733a22493
OSX MAcro Colision
2006-03-21 02:28:44 +00:00
aignacio_sf
6d79bac2fe
Fix missing line from editing merge conflct.
2006-03-21 02:27:18 +00:00
David Rose
e79df2bfcc
protect debug statements
2006-03-21 01:42:53 +00:00
David Rose
59eaa16056
init glShaderContext
2006-03-21 01:40:33 +00:00
Dave Schuyler
85d75121c4
image comment
2006-03-21 01:39:32 +00:00
aignacio_sf
bd97d329c4
Add automipmap generation code to eliminate dynamic textures.
...
The automipmap generation filter is not as good as the D3DX box filter so dont' use it for now.
2006-03-20 23:08:38 +00:00
Dave Schuyler
a29aaeb14f
working on add impact
2006-03-20 23:01:50 +00:00
aignacio_sf
8a278fb946
Add _supports_automatic_mipmap_generation
...
Add debug display for SDK version
2006-03-20 22:43:26 +00:00
aignacio_sf
b1fb705e86
set dx-management 1 as default
...
add dx-use-dynamic-textures config option
2006-03-20 22:39:37 +00:00
Josh Yelon
b665a3707d
Buffer overhaul phase one
2006-03-20 22:04:24 +00:00
David Rose
725e82e6f4
show_through()
2006-03-20 20:48:26 +00:00
Josh Yelon
a176d3627c
Buffer overhaul phase one
2006-03-20 17:56:51 +00:00
David Rose
10720e06e7
pnotify
2006-03-20 03:08:17 +00:00
David Rose
8e46c28d93
one more pnotify
2006-03-20 02:40:46 +00:00
David Rose
5294efe679
USE_MEMORY_NOWRAPPERS
2006-03-20 01:26:13 +00:00
David Rose
aee05dc054
notify -> pnotify
2006-03-18 02:38:55 +00:00
Roger Hughston
c0552ba84b
OSX does not see typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
2006-03-18 02:18:14 +00:00
Roger Hughston
477fdc8775
OSX Commit
2006-03-17 22:57:38 +00:00
David Rose
21c8a3685c
more tweaks to pstats texusage
2006-03-17 04:08:47 +00:00
David Rose
0a4cb27405
move estimate_texture_memory() to Texture class
2006-03-17 02:18:53 +00:00
David Rose
facee7431d
PStats accounting for lru management
2006-03-17 01:10:20 +00:00
David Rose
706ce05aa8
fix minor ordering issues
2006-03-17 00:31:09 +00:00
David Rose
83a6c42496
better pstats tracking of texture/vbuffer memory
2006-03-16 21:26:56 +00:00
David Rose
c83ac68e90
prebuild-bison
2006-03-16 20:48:48 +00:00
David Rose
9a9149ed9e
fix assertion
2006-03-16 03:43:35 +00:00
David Rose
c6f0b35ee9
PStats tracks compressed texture sizes
2006-03-16 00:29:54 +00:00
David Rose
e6369ba5a4
compressed textures, texture objects
2006-03-15 20:05:36 +00:00
David Rose
4f9c62a0d6
remove accidental debug messages
2006-03-15 18:36:57 +00:00
Asad M. Zaman
b025bfd79c
muting some debug statements
2006-03-15 02:54:24 +00:00
Roger Hughston
c4ebca5a20
Add OSX Gl is linked to this libray by default on OSX
2006-03-15 01:02:49 +00:00
Roger Hughston
f585b94829
More osx Hacks
2006-03-14 23:12:55 +00:00
Roger Hughston
7b1d16480f
More OSx Stuff .. lib prc refence
2006-03-14 22:06:59 +00:00
Roger Hughston
f560ab5554
Add include to make osx happy
2006-03-14 20:36:49 +00:00
Asad M. Zaman
78f062149b
portalClipper that clips with clip planes
2006-03-14 05:26:26 +00:00
Dave Schuyler
b2a0448de9
work in progress: add_impact
2006-03-14 02:02:23 +00:00
David Rose
efc319c451
visualize PlaneNodes
2006-03-14 01:32:58 +00:00
David Rose
71cbcb72d7
don't crash when clipping collision vizzes
2006-03-14 01:20:44 +00:00
Roger Hughston
783a2efc4d
OSX Cleanup Work
2006-03-13 20:45:46 +00:00
aignacio_sf
17f75fffc8
Correct warning message: display adjusted/correct amount of memory.
2006-03-13 18:54:59 +00:00
David Rose
392bffee4e
prevent crash when texture didn't load
2006-03-13 17:50:36 +00:00
aignacio_sf
c86789fc83
Add debug for max anisotropy and dynamic textures support.
2006-03-13 17:12:15 +00:00
Dave Schuyler
b015f6ff7a
add_impact
2006-03-11 06:34:19 +00:00
Roger Hughston
325e42d530
Cleaning up Some..
2006-03-11 01:54:02 +00:00
Dave Schuyler
5a52512d8e
local torque and local impulse
2006-03-11 00:16:16 +00:00
Dave Schuyler
241942299a
removed old code
2006-03-11 00:15:45 +00:00
Dave Schuyler
c686acd92d
added lvec4 cast
2006-03-11 00:14:09 +00:00
David Rose
0fc8016840
comment on threading
2006-03-10 03:23:11 +00:00
David Rose
f4c996c0b9
fix copy-to-cubemap
2006-03-10 01:07:17 +00:00
Josh Yelon
d1ea4b3570
Fixed bug in prepare_for_deletion
2006-03-09 23:08:30 +00:00
Dave Schuyler
ddf42d32d5
add torque and impact
2006-03-09 22:53:07 +00:00
Dave Schuyler
18cc3f1b0f
add impact
2006-03-09 22:52:35 +00:00
Dave Schuyler
294cc53817
add torque
2006-03-09 22:52:16 +00:00
Dave Schuyler
65c22c6737
clear physics object
2006-03-09 22:51:43 +00:00
Dave Schuyler
0f2a0eb759
clear physics node
2006-03-09 22:51:22 +00:00
David Rose
56b25dafe6
wstring utils
2006-03-09 22:36:24 +00:00
Dave Schuyler
0df4c3fa22
formatting
2006-03-09 21:59:59 +00:00
Dave Schuyler
1db07a09b2
changed function name
2006-03-09 21:59:10 +00:00
David Rose
04879e382e
extra bracket
2006-03-09 20:40:35 +00:00
Roger Hughston
0752ccb35e
Functional .. OSX mouse, gl, keyboard and window wrappers....
2006-03-09 20:23:54 +00:00
David Rose
5f0febd8e8
clear frameRateMeter on window close
2006-03-09 19:19:12 +00:00
David Rose
210f74c2e3
more tweaking
2006-03-09 17:41:09 +00:00
Dave Schuyler
677986a4f4
removed some asserts
2006-03-09 03:39:38 +00:00
Chris Brunner
094c09f0e8
major overhaul to reflect new built system and moving away from the INSTALL trees
2006-03-09 01:51:28 +00:00
David Rose
5b2e37764a
fix crash when PhysicsManager destructs first
2006-03-09 00:14:14 +00:00
David Rose
84e0aaf6ea
clean up degenerate polygons better
2006-03-08 22:26:52 +00:00
David Rose
b7fd641aa9
fixes to MultitexReducer
2006-03-08 00:24:31 +00:00
aignacio_sf
ce55dd4956
Initial version of shader pool (this was ported from the font pool code).
2006-03-07 20:06:19 +00:00
David Rose
5eac3c7193
initialize type
2006-03-07 18:06:12 +00:00
Dave Schuyler
f8c00270d3
assertions in remove physical
2006-03-07 04:25:44 +00:00
Dave Schuyler
9a647cf23f
debug output
2006-03-07 04:25:10 +00:00
David Rose
e096d63960
case-sensitivity problem
2006-03-07 00:11:28 +00:00
David Rose
5bf5ffb1fb
text_wrap_mode
2006-03-06 23:26:07 +00:00
aignacio_sf
8ee41bbd21
Fix DX9 full screen problem.
...
Fix adapter search by D3DFORMAT.
DX9 requires an adapter mode search by a specific D3DFORMAT which was different from DX8 which gave all the adapter modes.
2006-03-04 02:50:24 +00:00
Dave Schuyler
4c9b5ea4dd
linear control force
2006-03-03 23:39:26 +00:00
Dave Schuyler
9026749e4b
*** empty log message ***
2006-03-03 22:54:30 +00:00
David Rose
3f622bbe81
track Cull:Setup time properly
2006-03-03 17:45:43 +00:00
Josh Yelon
5fa80f8c40
More code for shader matrix computation
2006-03-02 22:08:48 +00:00
David Rose
b37791b9b0
re-active Draw:Primitive
2006-03-02 00:18:50 +00:00
David Rose
e3b0ae1bc3
use PStats to count number of collision tests
2006-03-01 23:40:52 +00:00
Dave Schuyler
d580f608c5
updated
2006-03-01 04:07:06 +00:00
David Rose
fe4ac01e18
missing ifdefs
2006-02-28 23:55:37 +00:00
Josh Yelon
ba74d9a772
Eliminated Cg references in gobj/shaderContext
2006-02-28 22:06:49 +00:00
Josh Yelon
12463722c6
Added calc_projection_mat to dx8, dx9
2006-02-28 17:01:35 +00:00
David Rose
136f12d71c
minor pstats readjustments
2006-02-28 00:25:45 +00:00
David Rose
40e8313771
some thread-safe locks
2006-02-28 00:15:53 +00:00
David Rose
2dfc813470
oops, silly typo
2006-02-27 22:41:15 +00:00
Josh Yelon
97729823b1
Adding include directory for Cg
2006-02-27 22:34:39 +00:00
Josh Yelon
129cef9f62
Major overhaul to shader subsystem
2006-02-27 21:52:36 +00:00
David Rose
43bbca86fb
traverse to all children of LOD node
2006-02-27 18:49:46 +00:00
David Rose
a30470be19
flatten_medium() should also unify
2006-02-27 18:16:32 +00:00
David Rose
c4306e0f4b
fix paste-buffer corruption bug
2006-02-26 15:42:57 +00:00
David Rose
85ff01dba5
use 2-d texture coordinates when possible
2006-02-26 00:41:26 +00:00
David Rose
781207e5cf
fix clip plane reset
2006-02-25 15:45:45 +00:00
David Rose
2109394560
register RescaleNormalAttrib
2006-02-24 19:54:41 +00:00
David Rose
b101f9bcb4
also respect set_foreground(0) at window creation
2006-02-24 19:47:05 +00:00
David Rose
77204cbe3e
allow set_foreground to be requested
2006-02-24 19:21:17 +00:00
David Rose
0a675eae03
fix crashes loading bam files
2006-02-24 19:09:35 +00:00
David Rose
825717c720
use modify_geom() instead of get_unique_geom()
2006-02-23 21:09:00 +00:00
David Rose
95826297fb
assert against negative radius
2006-02-23 03:51:48 +00:00
David Rose
62aa19e606
missing include
2006-02-22 03:21:24 +00:00
David Rose
55b39a6ffe
missing include
2006-02-22 02:12:28 +00:00
David Rose
851eb4cd8b
move Pipeline* and Cycle* from putil, in order to pipeline the ClockObject class
2006-02-22 02:12:08 +00:00
David Rose
8c4afe0e13
move Pipeline* and Cycle* to express
2006-02-22 02:11:19 +00:00
David Rose
0a911d8c3b
move mutexImpl etc. to dtoolconfig
2006-02-21 23:11:27 +00:00
David Rose
2cdd4644f3
new parameter on virtual method
2006-02-20 18:31:59 +00:00
Josh Yelon
44aab37572
Removed show_buffers. (I am about to add 'BufferViewer' class in direct)
2006-02-18 05:30:54 +00:00
Josh Yelon
0b02e92c0d
A few fixes related to the recent begin-frame refactor
2006-02-18 05:29:48 +00:00
Josh Yelon
dfab4fb786
Added a few convenience functions: add_vertices
2006-02-18 05:28:52 +00:00
Josh Yelon
c7853c8c71
Added the start of support for NPOT textures
2006-02-18 05:25:53 +00:00
Josh Yelon
4535cdfbba
More progress, but still not working
2006-02-18 05:25:06 +00:00
Dave Schuyler
f7a3d5803a
doing better with the coordinate system of local forces
2006-02-18 02:13:34 +00:00
Dave Schuyler
7492d74426
added conjugate, changed var name, added 4-d rotation
2006-02-18 02:12:08 +00:00
David Rose
995ce8b11a
16-bit-per-sample tiff files
2006-02-17 23:33:17 +00:00
David Rose
544e8dbc90
fix stereo mode
2006-02-17 22:10:24 +00:00
David Rose
82c0011f87
support red-blue stereo in dx8/9
2006-02-17 21:15:01 +00:00
David Rose
808cca4c3f
whoops, typo
2006-02-17 19:35:32 +00:00
David Rose
84c88164ce
add individual control over framebuffer-mode elements
2006-02-17 19:35:14 +00:00
David Rose
47c2e41c75
support stereo DisplayRegions
2006-02-17 19:17:06 +00:00
David Rose
90902c5cca
move red-blue-stereo support lower; cache cull results between left and right stereo channels
2006-02-17 17:36:04 +00:00
aignacio_sf
748a50fe9e
Make alpha textures the default texture format for Render to Texture have a fallback to non-alpha texture in case it is not supported.
2006-02-17 02:48:12 +00:00
aignacio_sf
4d63a51e9e
Improve mapping from Panda vertex elements to vertex shader inputs.
...
Fix vertex element name issue.
Make alpha textures the default texture format for Render to Texture have a fallback to non-alpha texture in case it is not supported.
2006-02-17 01:21:51 +00:00
David Rose
8fbc824aab
make PGui more thread-safe
2006-02-16 23:45:05 +00:00
David Rose
0e55bc8b2c
pipeline animated blends, etc. better
2006-02-16 21:14:55 +00:00
Roger Hughston
f0e9f34908
Some hack to get OSX gl to build
2006-02-16 20:38:23 +00:00
David Rose
8f087a2d56
whoops
2006-02-16 18:44:21 +00:00
David Rose
bf965cae20
restore automatic pipeline expansion
2006-02-16 18:12:47 +00:00
David Rose
37b172d3d3
default-stereo-camera
2006-02-16 06:36:23 +00:00
David Rose
264fc31115
automatic stereo cameras for stereo windows
2006-02-16 06:17:51 +00:00
David Rose
ffb92db022
stereo rendering
2006-02-16 02:28:20 +00:00
Roger Hughston
5daca17ee6
Move Some Functions Under #ifdef .... PVIEW
2006-02-16 02:28:19 +00:00
Roger Hughston
52a78687c0
Moved output into #ifdef
2006-02-16 01:48:38 +00:00
David Rose
799f0fcf19
slightly better viewport handling
2006-02-16 01:34:18 +00:00
Roger Hughston
986bf172c5
Cleaning Up Some Warnings OSX
2006-02-16 01:21:02 +00:00
Roger Hughston
2b32bad34f
Cleaning Up Some Warnings
2006-02-16 01:20:07 +00:00
David Rose
0f7e9e7ffa
proper ifdefs
2006-02-16 00:52:14 +00:00
David Rose
855a365c7f
close windows properly
2006-02-16 00:37:18 +00:00
David Rose
882f71a3d9
proper #include
2006-02-15 22:12:50 +00:00
David Rose
0290873962
remove flatten from default
2006-02-15 21:57:37 +00:00
David Rose
7ed0bfe83a
request PFD_STEREO on demand
2006-02-15 21:54:46 +00:00
David Rose
7b1b8bb4af
report different types of cyclers in pstats
2006-02-15 21:44:52 +00:00
David Rose
11337e4c20
better pipelined animation (still needs work)
2006-02-15 21:44:08 +00:00
David Rose
c251c7c484
include thread.h
2006-02-15 20:00:53 +00:00
David Rose
069fb87e7b
control effect, etc., needs to be cycled
2006-02-15 19:20:55 +00:00
David Rose
e122b6b78c
fix bounds calculation agani
2006-02-15 18:14:06 +00:00
David Rose
2bb5462a4c
fix cache in threaded pipeline
2006-02-15 15:37:45 +00:00
David Rose
4e4302b308
squelch windows warning
2006-02-15 15:37:22 +00:00
David Rose
303e2c77b1
indents
2006-02-15 15:36:34 +00:00
David Rose
1d2282a879
pipelining getting close; uprev bam version to 6.0
2006-02-14 19:07:47 +00:00
David Rose
7023429790
fix problem reading audiofiles compressed from vfs
2006-02-13 05:34:52 +00:00
David Rose
430a4b21e0
fix pview -i
2006-02-12 20:16:26 +00:00
David Rose
c5844965e4
wrong case
2006-02-11 15:11:16 +00:00
David Rose
0a0377607d
track number of cyclers in PStats
2006-02-11 03:31:11 +00:00
David Rose
863cac3baf
logic error
2006-02-10 23:35:12 +00:00
aignacio_sf
b58a54df1d
Add a state to for valid/invalid shaders. Added some shader debug code.
2006-02-10 21:10:43 +00:00
aignacio_sf
2da70352f4
Keep from setting invalid shaders (missing shader files, shaders that did not compile, ...)
2006-02-10 21:09:44 +00:00
aignacio_sf
78b83fa797
use const strings for vshader, fshader. added partial parsing of vertex shader parameters for HLSL
2006-02-10 20:42:17 +00:00
aignacio_sf
ffbde58774
Added get_load_error function. Needed to know if the file was properly loaded or not before using a shader.
2006-02-10 20:35:59 +00:00
David Rose
bcb1ff0418
dconfig:c, etc
2006-02-10 20:20:33 +00:00
Roger Hughston
8065be4f57
More Motion in osx Land
2006-02-10 20:13:14 +00:00
David Rose
11e95884f8
WIN32_VC instead of WIN32, to avoid confusing interrogate
2006-02-10 19:56:19 +00:00
David Rose
7fdf481b0f
posix threads
2006-02-10 18:52:41 +00:00
David Rose
1f11a05ff7
reset_prev_transform legal in sub-thread
2006-02-10 17:23:34 +00:00
David Rose
4d916f59e1
whoops
2006-02-10 02:16:54 +00:00
David Rose
a05922ff66
missing body
2006-02-10 01:29:51 +00:00
David Rose
133c407b66
minor fixes
2006-02-10 00:36:21 +00:00
David Rose
b60295be24
missing include
2006-02-09 23:51:33 +00:00
David Rose
79f1462eb1
mo' better pipelining
2006-02-09 23:47:29 +00:00
Dave Schuyler
40d1781c1f
changed rotational integrator
2006-02-08 22:50:57 +00:00
aignacio_sf
eec9125b58
fix DCAST problem
2006-02-08 19:57:11 +00:00
Josh Yelon
900f098890
A few more begin_frame fixes
2006-02-08 18:43:36 +00:00
Josh Yelon
4d38e1e57c
Fixed it
2006-02-08 18:19:45 +00:00
Josh Yelon
2b9a8f0a8a
Corrected cube-map orientations
2006-02-08 18:12:30 +00:00
Josh Yelon
cee838c08e
begin_frame refactor
2006-02-08 17:52:29 +00:00
David Rose
042626a373
fix ifdefs
2006-02-08 15:15:14 +00:00
David Rose
ced6b0931a
#ifdef for CGDX9
2006-02-08 07:27:40 +00:00
David Rose
e16fabea35
oops
2006-02-08 07:13:22 +00:00
David Rose
0405754d17
use native Windows threading primitives
2006-02-08 07:00:12 +00:00
Josh Yelon
120e6ae0a7
More flexible cardmaker, supports 3 texcoords
2006-02-07 20:18:28 +00:00
Josh Yelon
947294fe99
Added fmax and fmin operators to vector
2006-02-07 20:18:07 +00:00
David Rose
82ccb687e4
oops
2006-02-06 23:04:31 +00:00
David Rose
a49b03b61b
correct forward reference
2006-02-06 19:52:43 +00:00
David Rose
3e4d735cea
use cycle_2()
2006-02-06 19:51:14 +00:00
David Rose
7a6cda9915
better cycle()
2006-02-06 19:40:02 +00:00
David Rose
cd71e8a224
more pipeline fixes
2006-02-04 00:27:37 +00:00
Josh Yelon
4477cdbafb
First step in refactoring begin_frame and end_frame
2006-02-03 21:18:42 +00:00
Josh Yelon
e62e3b1853
Starting to write actual code
2006-02-03 21:18:21 +00:00
David Rose
3cd01095c8
use ReMutex
2006-02-03 19:29:15 +00:00
David Rose
b8b1e3d87e
properly cast new operator * return values
2006-02-03 19:28:53 +00:00
David Rose
c75b55eb98
better pipelining
2006-02-03 18:12:08 +00:00
Dave Schuyler
5ae60423ec
added multiply by scalar
2006-02-02 23:25:29 +00:00
David Rose
7947752d19
revert previous change--this is now invalidated by recent earlier change
2006-02-01 23:15:56 +00:00
Josh Yelon
4e7ba0899f
Moved tick to right before app processing
2006-02-01 22:55:11 +00:00
Josh Yelon
be1d02eb18
These are just placeholder files
2006-02-01 21:06:00 +00:00
David Rose
629a2f087a
first pass at cheesy pipelining
2006-02-01 19:44:03 +00:00
David Rose
ad72a2b2fd
fix TextureProjector some
2006-02-01 19:38:02 +00:00
David Rose
26912f6bbb
oops
2006-01-31 19:03:20 +00:00
David Rose
b7ceab1bff
integrate PStatThread and Thread; better thread handling in GraphicsEngine::render_frame()
2006-01-31 18:59:49 +00:00
David Rose
979e202f90
fix bug: named joint should be included in subset
2006-01-31 05:58:28 +00:00
David Rose
d78f7097a8
set_card_decal() should invalidate
2006-01-29 16:03:34 +00:00
David Rose
643fbbd763
give better error message if wrong version of DX9 SDK is installed
2006-01-29 16:01:44 +00:00
David Rose
28a500430f
consolidate dx8 includes
2006-01-29 16:01:07 +00:00
aignacio_sf
b36d67f3b9
Formatting changes. Added HLSL debug on/off.
2006-01-28 02:04:45 +00:00
aignacio_sf
0a06f19767
Added transpose matrix option. Removed extra transpose for HLSL. Formatting changes.
2006-01-28 01:49:37 +00:00
aignacio_sf
6a43f6757d
Preliminary HLSL support.
2006-01-27 23:22:07 +00:00
aignacio_sf
e1e47c64ac
Added shader profiles to gsg. Added new types.
2006-01-27 23:21:39 +00:00
aignacio_sf
3d47d4fa06
Added shader profiles to gsg.
2006-01-27 23:20:49 +00:00
David Rose
3bb5bb8332
one more fix to my previous fix
2006-01-27 03:36:25 +00:00
Dave Schuyler
669d2c5c50
force node was not being used so it is removed
2006-01-27 00:44:51 +00:00
David Rose
ecf6915a02
better diagnostic
2006-01-26 14:34:12 +00:00
Dave Schuyler
11ab5e8d80
formatting
2006-01-26 02:52:34 +00:00
David Rose
8e7e0f5332
retab
2006-01-26 01:50:26 +00:00
David Rose
b99be8da93
whoops, infinite recursion
2006-01-26 01:48:44 +00:00
David Rose
9743b5276f
make auto_unwrap a required parameter
2006-01-26 01:30:21 +00:00
David Rose
43a3b6a7a8
don't use concave quads in tristrips
2006-01-26 01:18:23 +00:00
David Rose
5c623893be
flatten_strong() should unify too
2006-01-25 22:35:47 +00:00
aignacio_sf
757c5edae6
Added debug code and some formatiing changes.
2006-01-25 22:34:09 +00:00
aignacio_sf
e62c1cb763
Some comment and formatiing changes.
2006-01-25 22:26:31 +00:00
David Rose
ef9dfea9df
be explicit with vfs->open_read_file(), etc.
2006-01-25 22:18:07 +00:00
David Rose
bcef4b24de
add -o options
2006-01-25 22:10:19 +00:00
Asad M. Zaman
e19232aa88
fixed the patch error dure to uint16 overflow
2006-01-25 20:26:06 +00:00
David Rose
420ab68136
implicitly decompress/compress for input/output files named .pz; also support vfs-implicit-pz.
2006-01-25 17:45:31 +00:00
David Rose
d673267be3
add is_wtext
2006-01-25 02:47:16 +00:00
David Rose
318b9e520a
prevent reentrant locks
2006-01-24 17:26:39 +00:00
Josh Yelon
9456925099
Added vspos and vstrans
2006-01-24 07:28:38 +00:00
Asad M. Zaman
b629960ae4
egg-rename tool had a bug: it needs to rename the eggnodes as well, not just the group nodes
2006-01-24 04:11:42 +00:00
aignacio_sf
19cd7a1a75
Change vertex error output level to warning level. Some formatting changes.
2006-01-24 02:12:47 +00:00
aignacio_sf
22648e6577
some formatting changes, moved memset to constructor phase.
2006-01-23 19:58:21 +00:00
aignacio_sf
9765a38c39
removed lru.h
2006-01-23 19:46:35 +00:00
aignacio_sf
d3f439ba0c
Some code formatting changes to conform to Panda style guide.
2006-01-23 19:41:23 +00:00
aignacio_sf
26c10bc231
Added missing include file.
2006-01-23 19:40:35 +00:00
aignacio_sf
6481cb76b1
Separated class VertexElementArray into its own file.
2006-01-23 19:06:37 +00:00
aignacio_sf
49c678b11d
Added missing include: dxShaderContext9.h
2006-01-23 18:23:27 +00:00
aignacio_sf
606e13ba9a
Remove include that is not needed.
2006-01-21 03:29:33 +00:00
aignacio_sf
1254664959
Clean up D3D 9 includes. Include d3d9 headers in one place only.
...
Added commented out define for D3D_DEBUG_INFO.
Uncomment it out for to debug DirectX objects.
2006-01-21 03:22:21 +00:00
aignacio_sf
9deba32241
Yet another work in progress.
2006-01-21 02:31:41 +00:00
Dave Schuyler
61a0e67462
changes from drose for rotation by hpr
2006-01-21 01:50:49 +00:00
David Rose
ca8455d5ef
don't auto-stop disjoint animations
2006-01-21 01:31:29 +00:00
David Rose
9164535479
operator =
2006-01-21 00:51:16 +00:00
David Rose
b342a22c2f
fix set_range(), clear_range()
2006-01-20 23:37:59 +00:00
David Rose
3be2b77316
fixes
2006-01-20 20:51:28 +00:00
David Rose
3c39318b34
add TextureStageCollection::sort()
2006-01-20 20:46:13 +00:00
David Rose
a209d63185
rename type
2006-01-20 18:03:23 +00:00
David Rose
ecec0779f0
BitArray (first pass)
2006-01-20 18:02:11 +00:00
David Rose
aa837381d3
half-body animations
2006-01-20 02:45:03 +00:00
Dave Schuyler
1e5469d22f
formatting
2006-01-20 01:42:29 +00:00
aignacio_sf
293b6cd493
Add option to disable some debug statements.
...
Disable some debug statements.
2006-01-19 02:11:25 +00:00
aignacio_sf
e12f92b6fd
Work in progress 3.
2006-01-19 02:09:28 +00:00
David Rose
58947f9dd1
whoops
2006-01-19 01:06:15 +00:00
David Rose
34c1491fbb
Remove shear from BT_normalized_linear, add BT_componentwise and BT_componentwise_quat
2006-01-19 01:03:12 +00:00
David Rose
08a099ba3a
use ReMutex
2006-01-18 23:55:42 +00:00
David Rose
273f091ecc
more mutex fixes
2006-01-18 23:55:11 +00:00
aignacio_sf
8851a4edde
More work in progress 2.
2006-01-18 02:27:44 +00:00
aignacio_sf
3e8cd1e273
More work in progress.
2006-01-18 01:20:11 +00:00
David Rose
f5736f4853
filename case
2006-01-18 00:54:36 +00:00
David Rose
344a8621f9
better handling for max-poll-cycle
2006-01-18 00:45:01 +00:00
David Rose
6b6dd232ff
whoops
2006-01-18 00:31:19 +00:00
David Rose
c3aa9a995c
more CHECK_REENTRANT_MUTEX
2006-01-18 00:23:37 +00:00
David Rose
01a2a7c13c
define CHECK_REENTRANT_MUTEX
2006-01-17 19:12:20 +00:00
David Rose
f71601ce86
check has_size
2006-01-17 04:01:10 +00:00
David Rose
8390e00363
add max-poll-cycle
2006-01-17 04:00:10 +00:00
David Rose
8567173ece
more threading issues
2006-01-16 15:42:28 +00:00
David Rose
92b907eb07
more threading fixes
2006-01-16 00:05:34 +00:00
David Rose
1123896fc6
robustify threading some more
2006-01-15 22:43:12 +00:00
David Rose
bac632973c
assert non-reentrancy in non-threads case
2006-01-15 19:17:42 +00:00
David Rose
93c5b5abd0
remove reentrant lock
2006-01-15 19:16:30 +00:00
David Rose
d80595c1be
remove pandadx7
2006-01-15 18:23:32 +00:00
David Rose
33175eb521
remove warnings on Linux
2006-01-15 18:11:38 +00:00
David Rose
0f359f1f79
remove nested lock
2006-01-15 18:11:19 +00:00
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