Commit Graph

36 Commits

Author SHA1 Message Date
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
Michael Bayne 7a00cd44bf Allow "escape to exit" functionality to be disabled.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3557 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-16 22:35:56 +00:00
Michael Bayne b6a8c2be58 Use a more sensible log name; removed unused import.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3556 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-16 22:08:55 +00:00
Michael Bayne 3722bc3697 Updates to work with new BUI auto-attach/detach.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3550 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-12 22:23:55 +00:00
Michael Bayne 677455e5d7 Use colors.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3549 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-12 22:23:34 +00:00
Michael Bayne 8dec58c227 Don't rotate our scrolling vectors unless we're orbiting the camera.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3541 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-04 02:21:53 +00:00
Michael Bayne 4aa4419c9c Provide a way to zoom the camera in and out programmatically, added keys
to roll the camera forward and back.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3540 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-03 23:45:01 +00:00
Michael Bayne 2caef9416e Created a simple straight line path, made paths actually work.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3539 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-03 22:48:33 +00:00
Michael Bayne d6e4fe20c3 Use vsync, we don't like the tearing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3536 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-03 02:39:13 +00:00
Michael Bayne 78d32af2f9 Separate our scene graph into user interface and geometry, reflect that in
the services we make available via the context. Added a sprite and path
framework not wildly unlike that in media but based around the JME
primitives.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3532 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-01 23:42:46 +00:00
Michael Bayne 6c5dc815eb addChild() -> add().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3531 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-05-01 16:16:35 +00:00
Michael Bayne 357ed12b9f Switched the chat view and test app over to BUI. Modifide the build script
to create a narya-jme.jar file.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3529 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-29 03:24:07 +00:00
Michael Bayne 84d7d7a611 More slow progress toward a test application that does chat to a Crowd
server. It looks like I'm going to have to write my own user interface
toolkit for JME as nothing exists for any Java-based GL library or engine
and precious few toolkits exist in C++. Yay!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3519 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-21 04:40:12 +00:00
Michael Bayne 06899b8b7a Further massaging of the JME base application; started in on a chat client
that will run in happy 3D land.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3515 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-21 00:23:41 +00:00
Michael Bayne b1e8d60d18 More juicy delicious 3D bits.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3514 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-20 23:31:14 +00:00
Michael Bayne 3b36c61046 More JME wirey uppy bits.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3513 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-20 23:09:38 +00:00
Michael Bayne 00038b69bf Some cleanups.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3511 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-20 21:48:59 +00:00
Michael Bayne ee144eb974 Created a basic application framework that integrates JME's rendering loop
(in fixed framerate format) with the Presents event queue in what will
hopefully be happy harmony. Also made some edits to the Presents code to
not sound like we assume things run on the AWT thread which we don't and
which is not the case in this framework.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3510 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-20 21:44:03 +00:00