Andrzej Kapolka
b804f12d5d
Basic mechanisms for fading in and out.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4109 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-10 21:12:44 +00:00
Ray Greenwell
164d746072
Turns out they did fix the describeType bugs, but also changed the format
...
of the output.
Update code to recognize the new format and stop working around the old bugs.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4108 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-10 21:11:56 +00:00
Andrzej Kapolka
e732fe48aa
Added support for streaming Ogg files. Cross-fading still to come.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4107 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-10 19:47:40 +00:00
Ray Greenwell
fe3350dc3c
More streaming fixups.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4106 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-10 02:35:01 +00:00
Ray Greenwell
b82108ecea
Streaming fixups on the path towards getting things working in beta3.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4105 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-10 00:40:15 +00:00
Ray Greenwell
e100ef4faf
Updated to match API changes in Beta3.
...
InvocationRegistration had a constructor called Registration. I wonder if
that was causing the compile error with beta2.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4104 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-09 23:03:47 +00:00
Ray Greenwell
ff674f818f
Beta 3 is out! They removed the built-in StringBuilder class, so I made
...
my own for now that just does what I need it to.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4103 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-09 23:01:15 +00:00
Andrzej Kapolka
8e42599c6d
Added method to fast-forward animations, beginnings of support for model
...
variants.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4102 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-08 23:30:07 +00:00
Andrzej Kapolka
bfa0dd1749
Added light rotation dialog to model viewer.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4101 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-08 21:48:43 +00:00
Ray Greenwell
7bdf7aba88
Occam's razor.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4100 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-08 21:37:54 +00:00
Ray Greenwell
490dab5780
Added an ImageUtil with some basic utility functions.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4099 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-08 21:31:24 +00:00
Andrzej Kapolka
9ead46cc6d
Use alternate method to retrieve normals.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4098 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-08 21:03:30 +00:00
Michael Bayne
05fe7f8679
Don't choke if getFrequency() returns 0. We may want to check for that
...
specifically as this doesn't do the right thing for something like 50fps, but
does anyone actually use less than 60?
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4097 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-08 20:58:48 +00:00
Andrzej Kapolka
f59fbac2f4
Instead of 60, try using the refresh rate as the target FPS.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4096 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-08 18:06:24 +00:00
Michael Bayne
b31556e388
We need to dispose() our clip buffers on the main thread.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4095 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-08 16:51:48 +00:00
Michael Bayne
f07c7307c9
Cope if something in the underlying sound system freaks out.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4094 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-05 23:26:33 +00:00
Andrzej Kapolka
c8fa910ffe
Notify listeners that the old animation was cancelled when we start a
...
new one.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4093 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-05 22:17:36 +00:00
Mike Thomas
053c1bfe31
Use paint instead of getSnapshot on underlying mirages in composite mirage as it might save us creating an image object.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4092 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-05 01:30:14 +00:00
Mike Thomas
81d26ec622
Dispose of graphics object when done in getSnapshot, and use simpler version of drawImage.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4091 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-05 00:17:42 +00:00
Mike Thomas
2b98453e38
New type of mirage that simply draws a list of mirages one on top of the other(s).
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4090 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-04 23:41:41 +00:00
Michael Bayne
dac87ee10b
Type-safety!
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4089 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-04 05:35:19 +00:00
Mark Johnson
edd74d4014
Removed debug logging.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4088 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-04 00:39:46 +00:00
Mark Johnson
47ac305684
Allow the moveTo used while recovering from a failure to get the place
...
object in the SceneDirector to be overriden. The ZoneDirector needs to
inform its listeners when a zone change is made during this failure
case.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4087 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-04 00:37:54 +00:00
Andrzej Kapolka
3db1f2837f
Set log file redirect before initializing.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4086 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-03 21:55:42 +00:00
Andrzej Kapolka
491caeae20
Moved model compile method from Ant task to an application class to
...
avoid referring to Ant classes in the client jars.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4085 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-03 21:29:38 +00:00
Andrzej Kapolka
66a97a25c4
Write viewer output to a log file.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4084 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-03 20:51:03 +00:00
Andrzej Kapolka
f3bb8d93db
Copy the animation list when cloning.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4083 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-03 00:04:41 +00:00
Andrzej Kapolka
b4eacdbf0e
Further low-level tweaking.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4082 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-02 23:06:38 +00:00
Andrzej Kapolka
2728af5059
Skinning optimizations: order vertices by weight groups, compute mesh
...
space bone transforms only once per mesh per bone (rather than each time
the bone appears in a weight group), low level fiddling. Also changed
the exporters to export everything, regardless of what's selected.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4081 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-02 04:27:49 +00:00
Andrzej Kapolka
28659209cd
Instead of computing model bounds after loading, compute them at compile
...
time and store them with the model. For skinned meshes, run through
every frame of every animation as they're compiled in order to find the
bounding volume that encloses every deformation.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4080 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-02 00:17:20 +00:00
Michael Bayne
0699eb3d1c
Added a standard mechanism for customizing the AccessController on a
...
PlaceObject. Created a default AccessController that is slightly more strict
than the CrowdServer-wide default in that it only allows place occupants to
subscribe to a PlaceObject (a motivated and resourceful player could otherwise
listen in on place chat everywhere in the game if they so desired; with a
custom client, of course).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4079 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-30 19:16:05 +00:00
Andrzej Kapolka
2df0c56f2a
Various performance tweaks: cull nodes with no mesh children, allow
...
locking the transforms and bounds of models whose positions will not
change, skip/postpone updates for models that aren't in view.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4078 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-29 03:24:15 +00:00
Ray Greenwell
a7bb7bb4dd
Changed the SpotScene parser to handle the new Portal, and to cope
...
with Location subclasses as easily as possible. Subclassing the ruleset
and returning a different instance for Location should do the trick.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4077 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-28 21:27:11 +00:00
Mike Thomas
e2057d362d
Add overridable function to potentially allow games to start up even without any humans present if they wish. Defaults to NOT allow that behavior.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4076 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-28 20:40:04 +00:00
Michael Bayne
b2896dc7ff
Minna daisuki type safety.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4075 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-28 18:29:46 +00:00
Andrzej Kapolka
ecee4e292e
Various tweaks, plus prune nodes with no geometry descendants that
...
aren't used as bones in models.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4074 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-28 04:21:30 +00:00
Andrzej Kapolka
33ab4146c8
Misc. fixes, added random texture selection to models.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4073 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-28 01:47:49 +00:00
Ray Greenwell
d8f7e48cbf
Allow whirled.spot.data.Location to be extended so that games
...
with 3d coordinate systems (or that track additional location information
besides orientation) can just drop in their new Location class.
Refactored Portal to contain a Location object rather than duplicate
the fields, so that Portals can work unchanged with a 3d coordinate system.
Note: I haven't yet updated SpotSceneRuleSet.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4072 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-28 01:34:02 +00:00
Michael Bayne
a3679b0bfd
Allow a custom root node to be created.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4071 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-27 22:47:01 +00:00
Michael Bayne
bb19beb053
Cope more gracefully when we can't access the sound device.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4070 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-27 22:24:38 +00:00
Mark Johnson
3cd66e17ad
If everyone leaves, but the game was in play, put the game into game
...
over state, not cancelled.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4069 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-27 02:33:04 +00:00
Ray Greenwell
461e109462
Fixed error in the SpeakHandler that mdb checked in: the service
...
should not be propogated. If someone chooses crew chat but then enters
a /speak command, it indicates that they want to break out of the crew
chat channel.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4068 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-27 01:53:40 +00:00
Ray Greenwell
42622d73cd
Fixup.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4067 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-27 01:26:56 +00:00
Andrzej Kapolka
e20ec412f1
Fixes for cases where there's no texture, DisplaySystem.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4066 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-26 22:38:46 +00:00
Ray Greenwell
e1c9d4bc53
Better fix for parsing error.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4065 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-26 21:37:28 +00:00
Ray Greenwell
481722188d
Removed some unneeded casts now that the _entries array
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4064 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-26 21:32:09 +00:00
Andrzej Kapolka
e6ac65fd11
Fixed texture wrapping, meshes as bones, wrap/cycle mixup.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4063 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-26 21:06:03 +00:00
Mark Johnson
6436dc704c
If there is no message component then just leave it null instead of
...
having substring throw an exception.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4062 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-26 20:46:02 +00:00
Andrzej Kapolka
762e85dd44
Strip path information from textures in model files, recenter meshes
...
about their bounding volume centers.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4061 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-26 19:31:13 +00:00
Andrzej Kapolka
01caf5cca6
Revised exporter coordinate systems, updated emitter positioning.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4060 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-26 02:59:55 +00:00