Andrzej Kapolka
d544f127a4
Added object offsets to exporters, converted tabs to spaces, added
...
method to get model nodes anywhere in the hierarchy by name, update
model bounds in SkinMesh after deforming mesh.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4038 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-20 02:04:56 +00:00
Andrzej Kapolka
f703f1aab3
Various fixes, added support for model instancing.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4035 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-18 23:22:45 +00:00
Andrzej Kapolka
a0ff0d1457
Skinned animation now works, although there are still some optimizations
...
to be made.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4027 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-18 01:36:19 +00:00
Andrzej Kapolka
3c6ac7ac67
Further progress: texturing, compiling animations.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4020 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-14 03:26:50 +00:00
Andrzej Kapolka
39ca0f4ed9
Further progress on model revamp. Now loading and viewing static
...
models.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4017 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-13 20:47:06 +00:00
Andrzej Kapolka
bb32d03c66
Checkpoint checkin for new model exporting/loading/animating code.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4013 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-12 03:34:10 +00:00
Michael Bayne
4aa1971f30
Typey typey.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4012 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-11 22:09:59 +00:00
Michael Bayne
c696896f10
Allow the view to be restricted to a particular type of chat.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3993 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-31 18:15:32 +00:00
Michael Bayne
4911947a8e
Robustness++.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3992 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-30 23:53:52 +00:00
Andrzej Kapolka
4dc5202558
Update camera before scene graph. That way, nodes (like the unit status
...
display) can adjust to the camera position in their update
methods without being a frame out of date.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3988 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-29 19:42:58 +00:00
Michael Bayne
581242814c
Allow this chat view to be used with any speak service.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3987 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-29 01:01:59 +00:00
Michael Bayne
9195817853
Ray will be proud of my micro-optimizery.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3943 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-14 02:24:07 +00:00
Michael Bayne
2aca17ee08
Have the WindowSlider wait two frames before starting to slide the window onto
...
the screen. In general the first frame is thrown off by the time it takes to
construct the window (which may be substantial) and the second might take a
while laying it out. After that though, we can smoothly slide things onto the
screen, and so we do.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3942 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-14 02:22:18 +00:00
Andrzej Kapolka
7a567e4adb
Make the geometry node render to the opaque queue by default;
...
otherwise, everything under it will inherit the "SKIP" mode,
which bypasses the render queues.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3940 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-14 01:43:07 +00:00
Michael Bayne
3f5aed3555
Let the vsync limit our frame rate instead of trying to do it by hand.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3934 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-09 23:54:26 +00:00
Andrzej Kapolka
3163825b29
For low frame rates, deal with moving over more than one leg per
...
update.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3923 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-08 01:40:09 +00:00
Andrzej Kapolka
af8408fe5d
Added an optional pan to SwingPath.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3919 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-07 22:46:28 +00:00
Andrzej Kapolka
162440ed7e
Record the frame time as the different between the last and current
...
frames. JME's timer was using a running average: good for calculating
frame rates, bad for updates.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3906 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-02 21:40:57 +00:00
Andrzej Kapolka
69da887537
Added a method to disable limits in CameraHandler and an optional second
...
swing axis to SwingPath.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3902 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-02 01:02:03 +00:00
Andrzej Kapolka
50e36adb6b
Make sure cameraIsMoving returns false for the callbacks at the end of a
...
camera path.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3875 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-22 01:22:28 +00:00
Andrzej Kapolka
7d46f81392
The problem was that setQuad was being called in the second constructor
...
after updateRenderState in the third constructor, so the quad's render
state didn't include the alpha state. I changed it so that
updateRenderState is called in setQuad.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3859 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-15 22:19:36 +00:00
Michael Bayne
bbc4dcad31
Added toString() to TimeFunction; moved AlphaState onto the quad being faded
...
rather than the node containing the quad, which shouldn't really make a
difference.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3858 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-15 21:01:39 +00:00
Michael Bayne
ad7e4f6be6
Added a helper class for sliding windows onto and off of the screen. Modified
...
the fade effect to automatically remove itself when it's done.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3847 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-10 04:45:12 +00:00
Michael Bayne
132dad93d2
Added a mechanism to skip to the end of the current camera path. It's sort of a
...
hack in that it just fakes an update to the path as if 100 seconds had elapsed,
but that essentially does just what we want and is so simple.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3845 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-10 02:24:58 +00:00
Andrzej Kapolka
fe47f6a478
Float.MIN_VALUE is the smallest positive value, not the smallest
...
negative value.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3841 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-08 00:03:28 +00:00
Andrzej Kapolka
4849d344e1
Added optional target orientation to PanPath.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3840 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-07 22:37:40 +00:00
Andrzej Kapolka
44bc8722eb
Removed redundant call to onFrameChange.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3839 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-07 21:45:08 +00:00
Andrzej Kapolka
593ee3a54d
Added an explicit axis parameter (as opposed to using the up vector at
...
each time step) to avoid camera roll.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3838 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-07 21:43:26 +00:00
Michael Bayne
d822c597b3
Allow the FadeInOutEffect to be used on arbitrary quads.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3837 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-07 01:33:46 +00:00
Michael Bayne
e9be71fdf2
JME uses a separate Z order to determine how to sort ortho geometry.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3836 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-06 02:33:16 +00:00
Michael Bayne
6f90df64f8
Added getFrameTime().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3835 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-06 02:32:42 +00:00
Michael Bayne
965b44d253
Updated standard source header. Created a time function mechanism that can be
...
used to easily plug in different methods of smoothly varying a value over time.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3834 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-06 01:40:44 +00:00
Michael Bayne
f749460fe7
Minor rearrangement.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3833 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-05 23:08:55 +00:00
Michael Bayne
12a4f4bb7e
Oops, we need to be able to add and remove observers.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3831 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-04 03:30:44 +00:00
Michael Bayne
428afd4ca0
Add support for being notified when a camera path is complete.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3830 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-04 03:24:44 +00:00
Andrzej Kapolka
56b985beb4
Added a method to reset the camera's orientation.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3826 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-01-31 00:05:34 +00:00
Andrzej Kapolka
63b4a49773
Added a tension parameter to control the sharpness of the curve.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3825 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-01-30 19:50:10 +00:00
Andrzej Kapolka
e81084a588
Added spline path for camera.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3823 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-01-28 01:35:08 +00:00
Michael Bayne
3dde8d448a
Fix up the way we create our display to play nicely with the JmeCanvasApp.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3821 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-01-25 20:31:47 +00:00
Michael Bayne
573125d3d1
Use the standard chat command handling instead of hacking in our own support.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3807 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-01-18 19:39:34 +00:00
Andrzej Kapolka
2ef4dc2a22
Added methods to set animation repeat type in addition to active
...
state and speed.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3800 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-01-04 23:08:48 +00:00
Michael Bayne
1918b8adac
Had grammatical beans above the frank.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3799 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-12-21 23:25:41 +00:00
Michael Bayne
6180e15b5f
Created a full-screen fade in out effect. I ended up deciding not to do
...
anything special for full-screen effects. They will be added to the interface
node and should set their z order to a positive value to render above the UI
and a negative value to render below it. Otherwise we don't really need to
impose a whole lot of structure.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3798 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-12-21 23:25:07 +00:00
Michael Bayne
3ac76f7d9e
Added showingStatistics().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3797 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-12-21 19:46:34 +00:00
Michael Bayne
82bcdc13f9
Allow statistics to be toggled on and off at runtime.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3796 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-12-21 19:41:07 +00:00
Andrzej Kapolka
91aacbf8a8
Scratch that; go back to using computeRotation.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3762 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-11-16 03:36:29 +00:00
Andrzej Kapolka
696c790585
Something is wacky with PathUtil.computeRotation, but I can't figure out
...
what. Having tried various tweaks with no success, I finally punted and
changed LineSegmentPath to use computeAxisRotation. I also fixed the
order of cross products in that method and got rid of a redundant cross
product.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3761 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-11-16 02:28:25 +00:00
Michael Bayne
672368ff92
Created a path for panning the camera.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3759 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-11-11 03:00:12 +00:00
Michael Bayne
3c91e33f04
Fixed booched formatting.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3757 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-11-10 02:53:02 +00:00
Michael Bayne
26511ab165
Added fancy new mode for limiting the camera pan wherein we calculate the
...
intersection of the frustum with the ground plane and restrict that rectangle
to the interior of the desired region.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3756 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-11-10 02:40:33 +00:00