Commit Graph

54 Commits

Author SHA1 Message Date
Michael Bayne b95a59c35c Updated snapshot target.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@54 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-10-13 22:43:08 +00:00
Michael Bayne 79901ef5e2 Added proper 'snapshot' target.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@53 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-10-13 22:34:05 +00:00
Michael Bayne 53e5b66308 Out with obsolete file.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@52 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-10-13 22:29:34 +00:00
Michael Bayne a40a420bf6 Define our library dependencies in an includable project XML file.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@51 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-10-13 22:25:42 +00:00
Michael Bayne 69277175c8 Build file changes to make Nenya work with the new build world order.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@50 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-10-13 02:13:51 +00:00
Andrzej Kapolka fd06ed1481 Added support for model variants: subconfigurations with different
textures, etc., that share the same mesh and animations.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@49 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-10-11 18:42:48 +00:00
Michael Bayne 3d6aa4cd15 Do the right thing with localtype.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@48 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-10-11 00:44:30 +00:00
Michael Bayne 4206ecd4a7 Implement the new ChatDisplay interface.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@47 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-10-10 21:50:26 +00:00
Andrzej Kapolka c6f1691bb7 OK, in this case the problem existed mostly between my keyboard and my
chair.  I better get that fixed.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@46 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-10-09 21:43:49 +00:00
Andrzej Kapolka 37e93d30c7 Rather than trying to invert the model transform, just recompute the
bounds after temporarily setting the transform to identity.  I think 
there are still issues with JME's bounding volume transformations, but 
they seem to err on the side of larger bounding volumes.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@45 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-10-09 18:53:41 +00:00
Michael Bayne ead4e4d89d Don't freak out if we're reinitialized. Just replace the resource manager
reference and leave the same Handler registered.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@44 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-10-06 21:00:18 +00:00
Michael Bayne 24b2d86f64 It turns out that we can just let our normal RepaintManager stuff repaint the
applet. We don't need to do the same restore from back buffer stuff we do for a
ManagedJFrame.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@43 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-10-06 20:14:01 +00:00
Andrzej Kapolka a1a7e349bb Don't use Matrix4f.invert; something broke when I updated JME, and the
bounds weren't being recorded correctly (hence they were interpreted as 
out of view when they weren't, and the models failed to appear).


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@42 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-09-11 17:25:41 +00:00
Andrzej Kapolka 8eaf39b4f5 Cope with null list when attempting to remove overlays.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@41 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-08-29 20:44:32 +00:00
Andrzej Kapolka 164e646a16 Added a visitor class for performing operations on all instances of
Spatial-derived classes in a scene graph.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@40 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-08-29 20:12:11 +00:00
Ray Greenwell bb05bd3f3f Use the samskivert Predicate.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@39 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-08-28 18:39:13 +00:00
Mark Johnson af2f554940 A simple interpolating cubic spline path that assumes that all the
points on either the x or y axis are equal and will interpolate the z 
values.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@38 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-08-25 18:30:33 +00:00
Michael Bayne a529163528 Whoops, fixed typo.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@37 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-08-25 05:05:43 +00:00
Michael Bayne dd7c611975 Various sandbox related fallbacks.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@36 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-08-25 05:04:59 +00:00
Michael Bayne 8d67918087 Missed a spot.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@35 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-08-25 00:56:35 +00:00
Andrzej Kapolka 8fd0175a06 Copy alpha threshold to clones.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@34 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-08-25 00:43:37 +00:00
Andrzej Kapolka 1eff736540 Added options for alpha testing.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@33 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-08-25 00:39:45 +00:00
Michael Bayne 9ed3f62af7 Some further FrameManager wrangling and a proper bridge for managed applets.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@32 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-08-25 00:34:18 +00:00
Andrzej Kapolka 22b867bb61 Use the average of the three triangle vertices (rather than the first
vertex) to compute the depth used for sorting.  There are still annoying 
artifacts, but I've already spent too much time exploring all the ways 
to sort these things.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@31 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-08-24 23:27:42 +00:00
Michael Bayne 8e0bdacd05 No more creation observation.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@30 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-08-24 00:42:31 +00:00
Andrzej Kapolka f8c230df6f Added option to depth-sort the triangles in transparent meshes. I tried
to optimize this, and seems reasonably fast, but not fast enough to 
enable it for all transparent meshes.  Hopefully the artists can improve 
performance by merging meshes together, and we can strike a happy 
balance between sorting by mesh and sorting by triangles.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@29 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-08-23 23:14:38 +00:00
Andrzej Kapolka 4a4f9755c8 Exclude animation transform targets when locking immobile models.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@28 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-08-22 22:20:47 +00:00
Andrzej Kapolka a6aab0c177 Added options for specifying the filter and mipmap parameters for model
textures, as well as for using an emissive map.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@27 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-08-22 20:23:42 +00:00
Michael Bayne f4a6554fd0 Allow a custom chat button to be added to the generic chat view.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@26 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-08-21 23:42:29 +00:00
Andrzej Kapolka f87f335ca7 Added the ability to render meshes in multiple passes with different
render states.  Cleaned up some formatting.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@25 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-08-11 21:46:21 +00:00
Andrzej Kapolka 7f92496425 Hide nodes not included as targets in an animation. I haven't tested
all the units with this; there's a chance some of the animations will 
have to be re-exported if they mistakenly omit nodes.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@24 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-08-03 18:21:28 +00:00
Andrzej Kapolka 844e2564fd Block keyboard and mouse events before the context is initialized.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@23 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-08-03 00:11:02 +00:00
Andrzej Kapolka 4948b4c2fc Use a different flag than CULL_ALWAYS to indicate that nodes have no
mesh descendants so that marker geometries can start effects going.  
Added an option for controllers to avoid accumulating time when 
offscreen in order to avoid systems' overcompensating for lost time.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@22 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-08-02 23:52:42 +00:00
Andrzej Kapolka 260b8a8a09 Allow using the model's root node as a controller target.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@21 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-07-31 22:00:00 +00:00
Andrzej Kapolka 6883bf966d Removed the code to get the emitter direction from the geometry normal
(in favor of simply using the target's rotation) and added a flag to 
prevent culling the target.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@20 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-07-28 03:15:28 +00:00
Mark Johnson 5376be6a88 What's everyone's favourite kind of safety?
Type Safety!!


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@19 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-07-22 00:35:05 +00:00
Mark Johnson 6913e5a127 Created an ExtendedTraversalPred that can check if the movement from one
tile to another is traversable instead of just the destination being a 
traversable tile


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@18 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-07-21 08:23:42 +00:00
Ray Greenwell 005043bf6c Handle CloneNotSupportedException in a standard and most-correct way.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@17 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-07-13 18:08:03 +00:00
Michael Bayne 62104e811c Cleaned up the snapshot building directives.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@16 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-07-12 18:51:08 +00:00
Michael Bayne 55487df0f9 Need junit jar.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@15 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-07-12 18:50:48 +00:00
Michael Bayne 3f350e1a25 Let's not check in my peculiar symlinking habits.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@14 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-07-12 17:32:53 +00:00
Andrzej Kapolka 1ad58e3553 Use location override for loaded JME files.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@13 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-07-11 00:17:45 +00:00
Andrzej Kapolka 44ddf2f72e Copy sphere map setting to instances.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@12 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-07-09 00:47:15 +00:00
Michael Bayne 70849cb3dd Fixed typo.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@11 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-07-05 01:02:05 +00:00
Andrzej Kapolka 4203ac53f6 Update the render state of the imported JME file after loading it.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@10 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-07-01 02:12:51 +00:00
Andrzej Kapolka 7baf533076 Added an option to use textures as sphere maps (this will require
recompiling the models).


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@9 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-06-28 01:53:09 +00:00
Mark Johnson ade2d7b79b Allow controllers to specify the name of the node they will attach to,
by default use the same name as the controller


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@8 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-06-27 20:50:08 +00:00
Mark Johnson 56a74d5f0e - Can start an animation at any frame
- Can stat animations running forwards or backwards
- Can reverse the flow of an animation
- Can pause and resume animations


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@7 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-06-24 01:21:57 +00:00
Michael Bayne 2d673038c3 Include NenyaLog in the -media bundle as that's who uses it. Perhaps util and
tools should just use the media/Log but we'll leave this for now.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@6 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-06-23 22:41:03 +00:00
Michael Bayne 1d75e3eab6 Include the tools bits (compiled config) into nenya-media.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@5 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-06-23 21:28:27 +00:00