Michael Bayne
4a1b366cd8
Provide the camera handler rather than the camera.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3753 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-11-09 22:34:15 +00:00
Michael Bayne
35caa3a79f
Revamped camera handling. We now have a camera handler through which all camera
...
manipulations pass. It can then ensure that the camera remains within zoom and
pan boundaries and is generally in the right place. It also handles camera
paths, which adjust the camera through the handler. The input handler now has
no camera logic but simply wires up camera manipulations to input mechanisms
which is much cleaner.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3752 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-11-09 22:30:02 +00:00
Michael Bayne
86abf1675f
A bunch of business related to moving the camera along paths. Also repackaged
...
camera handling stuff into com.threerings.jme.camera.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3751 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-11-09 20:01:28 +00:00
Michael Bayne
6dc12423ee
Don't send empty chat requests.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3750 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-11-09 07:32:35 +00:00
Michael Bayne
596d2a4708
blank() -> isBlank().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3749 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-11-09 04:00:16 +00:00
Andrzej Kapolka
365634146c
Added tool/task to build sphere maps from cube maps.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3748 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-11-07 02:20:13 +00:00
Michael Bayne
c733a47eb4
Whoops, missed an obsolete import.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3744 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-11-02 00:19:29 +00:00
Michael Bayne
74912c63c8
Updates to work with refactored JME input handling.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3743 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-11-02 00:01:26 +00:00
Michael Bayne
484c3ff86d
Wrapped long line.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3710 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-26 00:11:02 +00:00
Michael Bayne
c9bd489c0b
Had the beans above the frank.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3705 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-21 02:19:53 +00:00
Michael Bayne
103e145f1d
Updated to reflect changes to JME.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3704 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-21 02:11:37 +00:00
Michael Bayne
77a28c401c
Added isRotating(); changed the default camera velocity to be in line with
...
the other velocities.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3700 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-09 00:42:15 +00:00
Michael Bayne
456444da26
Added support for smoothly rotating the camera.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3699 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-08 23:45:51 +00:00
Michael Bayne
91576fcfd3
Life is a lot easier if our observers are notified in the order they are
...
registered rather than in reverse. I'd like to make this change to
media.AbstractMedia as well but no doubt zillions of things depend on the
current notification ordering for that package.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3691 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-25 22:12:07 +00:00
Michael Bayne
ca04c00c44
Big chat revamp to migrate various useful things from Yohoho like /command
...
handling, chat history support and chat mogrification into the base
framework.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3690 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-24 21:59:50 +00:00
Michael Bayne
fd05f9aad5
com.jme.bui -> com.jmex.bui.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3686 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-23 18:56:36 +00:00
Michael Bayne
ef65ee5644
Do things in a way more amenable to subclassing.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3684 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-22 18:30:07 +00:00
Michael Bayne
03411cbd9c
Various renamery.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3650 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-07-14 03:54:11 +00:00
Michael Bayne
9002162b86
These should be instance local.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3636 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-29 02:20:34 +00:00
Michael Bayne
8e5d5c665f
Use the default type if none is specified.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3635 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-29 02:05:56 +00:00
Michael Bayne
dd3bc4f8e7
Fail gracefully if we're missing a tile source image.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3634 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-28 21:36:45 +00:00
Michael Bayne
ced6c5b826
Optimized the fringe tile creation process (we only create the graphics
...
context once and use it to stamp all fringe fragments).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3633 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-28 21:19:38 +00:00
Michael Bayne
4c3a6fa88a
Looks like we're staying in the jme package as OpenGL's inverted y axis
...
has asserted its nefarious influence. Also modified the code to render the
fringe image on top of the original source image as we need a single
ground texture, not two images to be rendered one atop the other.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3631 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-28 21:07:06 +00:00
Michael Bayne
7a830949a1
Frank <-> beans.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3630 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-28 18:40:02 +00:00
Michael Bayne
613dd3633e
Converted the fringing code into a more generic form that works directly
...
on buffered images and is not tied to the tile system or the image
manager. This could probably even move into the media.tile package.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3629 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-28 18:28:22 +00:00
Michael Bayne
b52e20864d
Added requestFocus().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3627 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-27 21:05:01 +00:00
Michael Bayne
879a0e25e7
Bound the camera into the pan limits on every operation that changes its
...
location.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3626 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-27 18:44:36 +00:00
Michael Bayne
12853f5600
Disable the FPS display until we have some way to turn it on and off.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3625 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-24 22:35:08 +00:00
Michael Bayne
c38b75ae9a
Allow for event driven rotation.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3623 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-24 21:45:44 +00:00
Michael Bayne
d22b510867
Ixnay on the verbose logging.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3621 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-24 00:21:38 +00:00
Michael Bayne
f3dec66a8d
More geometric jockeying that you can shake a stick at. The
...
LineSegmentPath now orients sprites along the path (and even handles an
arbitrary notion of "forward" for the sprite).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3620 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-23 21:12:17 +00:00
Michael Bayne
2bf5936317
Fixed the orienting ballistic path, though it doesn't properly handle
...
arbitrarily oriented sprites. They currently have to "point" toward (1, 0,
0) as that is the direction that will be aligned with the velocity.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3619 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-23 03:49:18 +00:00
Michael Bayne
8ef2a508c9
Created a specialization of the ballistic path that orients the sprite in
...
the direction of motion as it traverses the path.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3614 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-22 20:21:45 +00:00
Michael Bayne
dfa9216b89
Do dat math!
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3612 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-22 18:50:38 +00:00
Michael Bayne
6fbdc4e568
Created a path for ballistic motion and an associated test. Yay for
...
physics.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3610 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-22 18:26:54 +00:00
Michael Bayne
d7fd2f5f67
Resize our OpenGL display when the canvas is resized.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3606 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-20 18:57:18 +00:00
Michael Bayne
83d077b1fa
Make them thar useful methods publicly available.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3605 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-18 03:04:04 +00:00
Michael Bayne
1f9d28aa59
A bunch of fiddling to support running JME in an AWT canvas.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3601 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-16 00:04:09 +00:00
Michael Bayne
78d96849b1
Created an ant task for converting models to JME format.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3589 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-08 00:03:24 +00:00
Michael Bayne
c6ceb654e4
We can do all we need with the DummyDisplaySystem. Eventually I'll be able
...
to turn this into an ant task.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3584 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-31 23:14:51 +00:00
Michael Bayne
5a4df194ec
Added some methods for controlling animations within a sprite.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3583 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-31 23:14:08 +00:00
Michael Bayne
919790557f
Removed debug logging.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3575 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-24 20:32:16 +00:00
Michael Bayne
862ff8a9eb
Catch Throwable because LWJGL kindly throws errors during initialization
...
in addition to exceptions. Yay!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3574 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-24 17:55:52 +00:00
Michael Bayne
56deaa4982
Catch errors when initializing OpenGL and allow them to be displayed to
...
the user.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3573 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-24 17:48:10 +00:00
Michael Bayne
cf3a6e0a91
Allow the reading of the display configuration to be overridden.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3571 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-24 02:14:55 +00:00
Michael Bayne
a66f06bd3b
Added ability to limit the camera's panning; cleaned up input and mouse
...
handler creation.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3568 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-19 18:02:07 +00:00
Michael Bayne
6d3f4c2465
Created LineSegmentPath fixed bug with path completion.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3567 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-19 00:21:28 +00:00
Michael Bayne
19ad750acf
A simple standalone converter into JME model format.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3565 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-18 00:00:46 +00:00
Michael Bayne
fcc517c3bf
Use a much larger frustum and don't set up the camera handler to exit our
...
application. We'll do that ourselves thanksverymuch.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3564 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-17 22:46:41 +00:00
Michael Bayne
5c48cd2a1f
The font is no longer included with JME, so we'll stick it here.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3562 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-17 22:45:43 +00:00