OSDN Git Service
Latif Khalifa [Sat, 30 Jul 2011 00:25:42 +0000 (00:25 +0000)]
Experimental PrimMesher build by Dahlia Trimble
Aligns texturing of tapered prims with what LL viewer does
git-svn-id: https://radegast.googlecode.com/svn/trunk@1037
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Revolution Smythe [Sat, 30 Jul 2011 00:14:22 +0000 (00:14 +0000)]
Add in the key hooks for flying, jumping, and landing. Landing doesn't always work though, so (as it appears the LL viewer does as well) it has a check to see whether the velocity is > 0 when attempting to fly down and if it is, stops flying immediately.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1036
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Fri, 29 Jul 2011 22:53:43 +0000 (22:53 +0000)]
Added strife movement control (shift + left or right arrow)
Added camera keyboard controls:
* ESC - Resets camera position
* Alt + Left or Right Arrow = rotate camera horizontally around focal point
* Alt + Up or Down Arrow = (zoom) move camera closer or farther from it's focal point
* Alt + PageUp or PageDown = rotate camera vertically around focal point
* Control + Arrow Keys = Pan
Moved camera manipulation methods to Camera class
git-svn-id: https://radegast.googlecode.com/svn/trunk@1035
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Fri, 29 Jul 2011 21:04:54 +0000 (21:04 +0000)]
Added keyboard motion control
git-svn-id: https://radegast.googlecode.com/svn/trunk@1034
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Fri, 29 Jul 2011 18:31:39 +0000 (18:31 +0000)]
Move camera tracking code to the main render loop and track based on render position.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1033
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Fri, 29 Jul 2011 17:41:37 +0000 (17:41 +0000)]
Backout interpolation change. Don't end move to let camera interpolate position.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1032
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Fri, 29 Jul 2011 17:21:42 +0000 (17:21 +0000)]
Updated about box
git-svn-id: https://radegast.googlecode.com/svn/trunk@1031
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Revolution Smythe [Fri, 29 Jul 2011 17:15:28 +0000 (17:15 +0000)]
If for some reason, the acceleration is not sent, interpolate based off of the velocity (fixes jerkyness for avatar movement).
git-svn-id: https://radegast.googlecode.com/svn/trunk@1030
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Revolution Smythe [Fri, 29 Jul 2011 17:14:38 +0000 (17:14 +0000)]
If the user has not ctrl-alt moved the viewer, and the client (self) moves, move the camera along with the avatar and don't reset textures that arn't being sent with terse updates.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1029
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Fri, 29 Jul 2011 15:36:51 +0000 (15:36 +0000)]
Make calculating object positions less convoluted and more correct :P
Document what's going on.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1028
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Fri, 29 Jul 2011 14:26:22 +0000 (14:26 +0000)]
Move avatar skeleton animation before position of child prims is calculated.
Move whole avatar matrix tranform outside the loop that draws individual avatar meshes
git-svn-id: https://radegast.googlecode.com/svn/trunk@1027
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Fri, 29 Jul 2011 12:26:47 +0000 (12:26 +0000)]
Fix previous commit. Note to self: save files before svn commit ;)
git-svn-id: https://radegast.googlecode.com/svn/trunk@1026
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Fri, 29 Jul 2011 12:12:08 +0000 (12:12 +0000)]
Started breaking out graphics capabilities settings to a separate setting static class.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1025
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Thu, 28 Jul 2011 17:47:13 +0000 (17:47 +0000)]
Update prebuild not to freak out on files with no extensions
git-svn-id: https://radegast.googlecode.com/svn/trunk@1023
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Thu, 28 Jul 2011 14:45:17 +0000 (14:45 +0000)]
Remesh and recalculate UVs when texture params change.
TODO: changing texture params should be separated from creating the mesh
git-svn-id: https://radegast.googlecode.com/svn/trunk@1022
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Robin Cornelius [Thu, 28 Jul 2011 13:51:14 +0000 (13:51 +0000)]
Fix animation looping and implement at partial stacking of priorities, TODO priorities need to be done per joint not just per animation.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1021
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Thu, 28 Jul 2011 12:18:54 +0000 (12:18 +0000)]
Updated static snapshot builder project file
git-svn-id: https://radegast.googlecode.com/svn/trunk@1020
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Thu, 28 Jul 2011 12:10:10 +0000 (12:10 +0000)]
Move static assets to openmetaverse_data/static_assets
Update prebuild.xml to recursively copy data from openmetaverse_data
git-svn-id: https://radegast.googlecode.com/svn/trunk@1019
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Robin Cornelius [Thu, 28 Jul 2011 10:56:36 +0000 (10:56 +0000)]
Add static asset files to openmetaverse_data
git-svn-id: https://radegast.googlecode.com/svn/trunk@1018
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Robin Cornelius [Thu, 28 Jul 2011 10:55:02 +0000 (10:55 +0000)]
Add some helper code for decoding the static VFS and generating a set of asset files that can be directly used in the static asset cache (openmetaverse_data)
git-svn-id: https://radegast.googlecode.com/svn/trunk@1017
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Thu, 28 Jul 2011 10:19:41 +0000 (10:19 +0000)]
[INTERFACE CHANGE] Implement transforming for Planar textures via Meshmerizer
Patch by: Revolution Smythe
git-svn-id: https://radegast.googlecode.com/svn/trunk@1016
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Wed, 27 Jul 2011 23:01:51 +0000 (23:01 +0000)]
Use hash code for mesh to determine if we need to recreate it on object update
git-svn-id: https://radegast.googlecode.com/svn/trunk@1015
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Wed, 27 Jul 2011 20:57:40 +0000 (20:57 +0000)]
Don't create new mesh on each object update.
TODO: figure out when making a new mesh is required.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1014
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Robin Cornelius [Wed, 27 Jul 2011 20:24:26 +0000 (20:24 +0000)]
Connect up avatar animations so that they work with the skinning and skeleton system
git-svn-id: https://radegast.googlecode.com/svn/trunk@1013
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Wed, 27 Jul 2011 10:18:13 +0000 (10:18 +0000)]
* Implemented loadStuffReallyFast() :P
* Reenabled avatar rendering
* Fixed nuking of opengl memeory while loading textures
git-svn-id: https://radegast.googlecode.com/svn/trunk@1012
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Wed, 27 Jul 2011 07:09:00 +0000 (07:09 +0000)]
Only decode textures that we know will be on the screen.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1011
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Wed, 27 Jul 2011 06:14:53 +0000 (06:14 +0000)]
* Implemented occlusion culling (TODO: check if graphics card support it)
* Temporarily disabled avatar rendering
git-svn-id: https://radegast.googlecode.com/svn/trunk@1010
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Tue, 26 Jul 2011 02:26:47 +0000 (02:26 +0000)]
Silence couple of stupid compiler warnings
git-svn-id: https://radegast.googlecode.com/svn/trunk@1009
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Mon, 25 Jul 2011 18:11:14 +0000 (18:11 +0000)]
Experimental decoded texture caching
git-svn-id: https://radegast.googlecode.com/svn/trunk@1008
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Mon, 25 Jul 2011 06:41:14 +0000 (06:41 +0000)]
Improved teleport with Scene Window open.
TODO: Unload loaded textures.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1007
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Mon, 25 Jul 2011 06:02:26 +0000 (06:02 +0000)]
Limit frame rate to max 15 if we're not active window.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1006
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Mon, 25 Jul 2011 05:07:29 +0000 (05:07 +0000)]
Register tab events. Hide debug panel when docked.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1005
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Mon, 25 Jul 2011 04:37:53 +0000 (04:37 +0000)]
Made right click context menu dynamic
- Menu items added depending on what was clicked on
Made Scene Viewer dockable. Remember if last it was docked or not.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1004
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Mon, 25 Jul 2011 03:20:26 +0000 (03:20 +0000)]
Made SceneWindow into a detachable tab
Load avatar_lad async
git-svn-id: https://radegast.googlecode.com/svn/trunk@1003
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Robin Cornelius [Sat, 23 Jul 2011 20:16:52 +0000 (20:16 +0000)]
Avatar rendering updates, apply all morphs from the visual parameters set in an additive way to prevent later morphs resetting earlier ones.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1002
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Fri, 22 Jul 2011 13:14:27 +0000 (13:14 +0000)]
Document the demo tab implementation and fix a couple of buglets,
git-svn-id: https://radegast.googlecode.com/svn/trunk@1001
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Fri, 22 Jul 2011 03:49:33 +0000 (03:49 +0000)]
Added sample plugin that demonstrates how to add GUI tab to Radegast via plugin
git-svn-id: https://radegast.googlecode.com/svn/trunk@1000
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Thu, 21 Jul 2011 20:27:58 +0000 (20:27 +0000)]
Fixed non vbo rendering.
git-svn-id: https://radegast.googlecode.com/svn/trunk@999
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Thu, 21 Jul 2011 18:25:40 +0000 (18:25 +0000)]
More correct linear interpolation.
git-svn-id: https://radegast.googlecode.com/svn/trunk@998
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Thu, 21 Jul 2011 16:22:23 +0000 (16:22 +0000)]
Use notion of Interpolated position and rotation instead of sim position and location.
All interpolation is done only on local positions and rotations.
git-svn-id: https://radegast.googlecode.com/svn/trunk@997
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Thu, 21 Jul 2011 13:28:27 +0000 (13:28 +0000)]
Use float for lastFrameTime
Interpolate rotation
git-svn-id: https://radegast.googlecode.com/svn/trunk@996
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Wed, 20 Jul 2011 16:10:22 +0000 (16:10 +0000)]
* Fixed picking.
* Move camera on mouse scroll wheel.
* Dispose context and invisible opengl window of the texture decode thread.
git-svn-id: https://radegast.googlecode.com/svn/trunk@995
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Wed, 20 Jul 2011 15:21:25 +0000 (15:21 +0000)]
* Hookup our own appearance changes
* Attempt to draw text of only visible objects
* Expand text rectangle a bit to avoid clipping of the last letter
git-svn-id: https://radegast.googlecode.com/svn/trunk@994
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Wed, 20 Jul 2011 13:49:31 +0000 (13:49 +0000)]
Allow detached tabs to be floater like.
git-svn-id: https://radegast.googlecode.com/svn/trunk@993
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Wed, 20 Jul 2011 10:15:14 +0000 (10:15 +0000)]
RAD-277: Added ability not to save username and password
git-svn-id: https://radegast.googlecode.com/svn/trunk@992
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Robin Cornelius [Mon, 18 Jul 2011 10:58:19 +0000 (10:58 +0000)]
Ensure we deep copy the bone structure when making a new skeleton so that AVs change parameters independently.
git-svn-id: https://radegast.googlecode.com/svn/trunk@991
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 17 Jul 2011 09:13:46 +0000 (09:13 +0000)]
Sculpt UV map seems to come out vertically flipped from the PrimMesher. Fix it
git-svn-id: https://radegast.googlecode.com/svn/trunk@990
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 17 Jul 2011 08:30:40 +0000 (08:30 +0000)]
Don't ask OpenGL if we switched the lighting off. Remember state.
git-svn-id: https://radegast.googlecode.com/svn/trunk@989
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Thu, 14 Jul 2011 09:15:21 +0000 (09:15 +0000)]
If we get a child prim update before root, we would never properly initialize the sim position.
Fixes SignpostMarv's polar clock.
git-svn-id: https://radegast.googlecode.com/svn/trunk@988
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Wed, 13 Jul 2011 10:50:32 +0000 (10:50 +0000)]
Made sound initialization on Linux more resiliant
git-svn-id: https://radegast.googlecode.com/svn/trunk@987
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Robin Cornelius [Wed, 13 Jul 2011 09:39:25 +0000 (09:39 +0000)]
Optimise avatar bone position and rotation fetching, use cached values in the skeleton and mark as dirty to recalc when we deform a joint.
git-svn-id: https://radegast.googlecode.com/svn/trunk@986
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Wed, 13 Jul 2011 09:27:03 +0000 (09:27 +0000)]
Optimize:
* First determine visible prims and avatars before sorting
* Move stats display into window title
* Don't display avatars that are not in our field of view
git-svn-id: https://radegast.googlecode.com/svn/trunk@985
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Tue, 12 Jul 2011 22:44:06 +0000 (22:44 +0000)]
Use rendering position when drawing stuff for interpolation to work
git-svn-id: https://radegast.googlecode.com/svn/trunk@984
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Robin Cornelius [Tue, 12 Jul 2011 22:02:22 +0000 (22:02 +0000)]
Very basic animation code shows last key frame, no priorities
git-svn-id: https://radegast.googlecode.com/svn/trunk@983
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Robin Cornelius [Tue, 12 Jul 2011 21:34:12 +0000 (21:34 +0000)]
Minimise the calls to GL.MultMatrix by using a combined SRT matrix
git-svn-id: https://radegast.googlecode.com/svn/trunk@982
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Tue, 12 Jul 2011 21:02:28 +0000 (21:02 +0000)]
Alpha masking and blending correct phases of the rendering process.
git-svn-id: https://radegast.googlecode.com/svn/trunk@981
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Tue, 12 Jul 2011 18:04:25 +0000 (18:04 +0000)]
Implement angular velocity interpolation (target omega).
git-svn-id: https://radegast.googlecode.com/svn/trunk@980
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Tue, 12 Jul 2011 14:28:42 +0000 (14:28 +0000)]
Simple interpolation of object position.
git-svn-id: https://radegast.googlecode.com/svn/trunk@979
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Tue, 12 Jul 2011 05:44:58 +0000 (05:44 +0000)]
Use sim draw distance.
Added draw distance slider.
Removed inefficient implementation of occlusion culling
git-svn-id: https://radegast.googlecode.com/svn/trunk@978
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Mon, 11 Jul 2011 15:40:22 +0000 (15:40 +0000)]
Move back loading of the avatar_lad to constructor.
Experimentatl occlusion culling (only marginal improvement, implemenation prolly not efficient)
git-svn-id: https://radegast.googlecode.com/svn/trunk@977
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Mon, 11 Jul 2011 13:35:17 +0000 (13:35 +0000)]
Show window, then do heavy stuff for better user experience.
git-svn-id: https://radegast.googlecode.com/svn/trunk@976
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Mon, 11 Jul 2011 13:17:18 +0000 (13:17 +0000)]
Use precalculated sim position and rotation as the starting point for avatars.
Fixes showing sitting avatars
TODO: Offset avatar pelvis down depending to put feet on the ground
git-svn-id: https://radegast.googlecode.com/svn/trunk@975
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Mon, 11 Jul 2011 12:44:51 +0000 (12:44 +0000)]
Now that we have calculate sim position and rotation of all prims, remove duplicate code that did it in OpenGL
git-svn-id: https://radegast.googlecode.com/svn/trunk@974
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Mon, 11 Jul 2011 12:31:04 +0000 (12:31 +0000)]
* Add avatars to general sorted list of stuff to render
* Calcilate sim rotation and position only once
git-svn-id: https://radegast.googlecode.com/svn/trunk@973
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Mon, 11 Jul 2011 11:52:28 +0000 (11:52 +0000)]
Calculate position of all prims accurately
git-svn-id: https://radegast.googlecode.com/svn/trunk@972
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Mon, 11 Jul 2011 05:57:40 +0000 (05:57 +0000)]
Implemented prim sorting.
Renders prims with alpha from the farthest from the camera to the closest.
Prims without alpha the other way around.
git-svn-id: https://radegast.googlecode.com/svn/trunk@971
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Mon, 11 Jul 2011 05:05:02 +0000 (05:05 +0000)]
Determine more info about image alpha channel. Don't render faces with fully transparent textures.
git-svn-id: https://radegast.googlecode.com/svn/trunk@970
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Mon, 11 Jul 2011 04:25:28 +0000 (04:25 +0000)]
* Rename BoundingSphere -> BoundingVolume
* Temp put draw distance at 96
* Do frustrum and LOD culling for whole prims and not per FaceData
git-svn-id: https://radegast.googlecode.com/svn/trunk@969
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 10 Jul 2011 20:42:19 +0000 (20:42 +0000)]
Remove redundant data copying.
Fix picking after refactor to RenderPrimitive.
git-svn-id: https://radegast.googlecode.com/svn/trunk@968
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 10 Jul 2011 19:53:05 +0000 (19:53 +0000)]
Added RenderPrimite to replace faceted mesh.
git-svn-id: https://radegast.googlecode.com/svn/trunk@967
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 10 Jul 2011 13:19:42 +0000 (13:19 +0000)]
Detect if we have VBO support.
git-svn-id: https://radegast.googlecode.com/svn/trunk@966
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 10 Jul 2011 11:53:38 +0000 (11:53 +0000)]
A bit less camera smoothing.
git-svn-id: https://radegast.googlecode.com/svn/trunk@965
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 10 Jul 2011 11:21:10 +0000 (11:21 +0000)]
Avoid holding locks and prims and avi dictionaries for too long which causes lock contention with the radar.
git-svn-id: https://radegast.googlecode.com/svn/trunk@964
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 10 Jul 2011 11:11:39 +0000 (11:11 +0000)]
* Implemented camera smoothing thanks to Moon Metty
* Don't try to reload all the rendering data from files if we did it already (allows scene window to be reopened)
git-svn-id: https://radegast.googlecode.com/svn/trunk@963
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sat, 9 Jul 2011 22:18:17 +0000 (22:18 +0000)]
Lock list of Avatars during skeleton rendering
git-svn-id: https://radegast.googlecode.com/svn/trunk@962
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sat, 9 Jul 2011 22:09:58 +0000 (22:09 +0000)]
Merged avatar rendering code.
git-svn-id: https://radegast.googlecode.com/svn/trunk@961
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Robin Cornelius [Sat, 9 Jul 2011 22:02:47 +0000 (22:02 +0000)]
Avatar rendering: update meshes when apply morphs is clicked
git-svn-id: https://radegast.googlecode.com/svn/branches/avatarrendering@960
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Robin Cornelius [Sat, 9 Jul 2011 21:01:30 +0000 (21:01 +0000)]
vpsent is in the GLAvatar Class not the Avatar one from libomv
git-svn-id: https://radegast.googlecode.com/svn/branches/avatarrendering@959
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sat, 9 Jul 2011 12:21:16 +0000 (12:21 +0000)]
Speed up texture downloading:
* remove duplicate request early
* use reference to same TextureInfo for all faces.
* download textures async
* decode textures sync on a separate thread
git-svn-id: https://radegast.googlecode.com/svn/trunk@958
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Robin Cornelius [Sat, 9 Jul 2011 08:47:03 +0000 (08:47 +0000)]
Avatar rendering: fix visual parm parsing to get complete list, sort tweakables to match the appearance packet and apply when we see an appearance packet.
git-svn-id: https://radegast.googlecode.com/svn/branches/avatarrendering@957
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Robin Cornelius [Fri, 8 Jul 2011 15:23:45 +0000 (15:23 +0000)]
Avatar Rendering: Add in more visual parameter test boxes, fix morphs to work with bone rotations.
git-svn-id: https://radegast.googlecode.com/svn/branches/avatarrendering@956
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Robin Cornelius [Fri, 8 Jul 2011 12:29:22 +0000 (12:29 +0000)]
Avatar Rendering: fix avatar posing/skinning, works now some small skinning issues at some joints but 98% there.
git-svn-id: https://radegast.googlecode.com/svn/branches/avatarrendering@955
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Robin Cornelius [Thu, 7 Jul 2011 21:23:08 +0000 (21:23 +0000)]
avatar rendering: use the parsed deform position
git-svn-id: https://radegast.googlecode.com/svn/branches/avatarrendering@954
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Robin Cornelius [Thu, 7 Jul 2011 21:02:43 +0000 (21:02 +0000)]
AvatarRendering: sync updates, bone rotations are carried through to skinning now via Matrix4 but something is still wrong with what appears to be a global/local transform issue.
git-svn-id: https://radegast.googlecode.com/svn/branches/avatarrendering@953
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Wed, 6 Jul 2011 22:14:42 +0000 (22:14 +0000)]
* Remove unnecessary glFlush() calls
* Fudge sphere UV mapping
git-svn-id: https://radegast.googlecode.com/svn/trunk@952
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Tue, 5 Jul 2011 23:15:56 +0000 (23:15 +0000)]
Implemented "FullBright" attribute for textures
git-svn-id: https://radegast.googlecode.com/svn/trunk@951
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Tue, 5 Jul 2011 22:30:48 +0000 (22:30 +0000)]
Diable connecting to multiple sims for now
git-svn-id: https://radegast.googlecode.com/svn/trunk@950
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Tue, 5 Jul 2011 22:30:16 +0000 (22:30 +0000)]
* Implemented texture animations
* Disable lights on the alpha pass
git-svn-id: https://radegast.googlecode.com/svn/trunk@949
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Robin Cornelius [Tue, 5 Jul 2011 21:39:50 +0000 (21:39 +0000)]
avatarrendering: various updates to skeleton handing and bone code.
git-svn-id: https://radegast.googlecode.com/svn/branches/avatarrendering@948
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Robin Cornelius [Tue, 5 Jul 2011 12:46:56 +0000 (12:46 +0000)]
git-svn-id: https://radegast.googlecode.com/svn/branches/avatarrendering@947
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Mon, 4 Jul 2011 10:47:00 +0000 (10:47 +0000)]
Implement smooth camera focus when picking (alt+mouse click).
git-svn-id: https://radegast.googlecode.com/svn/trunk@946
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Robin Cornelius [Mon, 4 Jul 2011 10:33:30 +0000 (10:33 +0000)]
Update RenderObjects(), LoadCurrentPrims() and PrimPos() logic to cope with child attachment prims and fix the attachment/bone offset calcs.
git-svn-id: https://radegast.googlecode.com/svn/trunk@945
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Mon, 4 Jul 2011 05:06:26 +0000 (05:06 +0000)]
Don't zcrew up other rendering elements by leaving texture bound behind.
git-svn-id: https://radegast.googlecode.com/svn/trunk@944
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Mon, 4 Jul 2011 04:39:52 +0000 (04:39 +0000)]
Don't fetch all 4 terran textures in parallel as it causes problem if the terrain uses the same texture more than once.
git-svn-id: https://radegast.googlecode.com/svn/trunk@943
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Mon, 4 Jul 2011 04:22:05 +0000 (04:22 +0000)]
* Added simple LOD factor calculation (many thanks to Moon Metty)
* Disable "3D Scene" button when we are not connected
git-svn-id: https://radegast.googlecode.com/svn/trunk@942
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Mon, 4 Jul 2011 03:18:29 +0000 (03:18 +0000)]
Do texture download enqueueing from a single function that first checks if we already got that texture loaded.
git-svn-id: https://radegast.googlecode.com/svn/trunk@941
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Mon, 4 Jul 2011 02:57:16 +0000 (02:57 +0000)]
Added temporary controls for light testing.
Cleanup color setting.
Made unified section for HUD drawing,
git-svn-id: https://radegast.googlecode.com/svn/trunk@940
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 3 Jul 2011 21:40:52 +0000 (21:40 +0000)]
Do a real mipmap test, as the fake one crashes some drivers.
git-svn-id: https://radegast.googlecode.com/svn/trunk@939
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Robin Cornelius [Sun, 3 Jul 2011 11:35:24 +0000 (11:35 +0000)]
Add avatars and their attachments to LoadCurrentPrims()
git-svn-id: https://radegast.googlecode.com/svn/trunk@938
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Robin Cornelius [Sun, 3 Jul 2011 08:06:08 +0000 (08:06 +0000)]
Add bone loader and offset eyes to correct position based on head bone
git-svn-id: https://radegast.googlecode.com/svn/trunk@937
f7a694da-4d33-11de-9ad6-
1127a62b9fcd