OSDN Git Service

radegast/radegast.git
12 years agoDividing by zero and using the result as the weight in an interpolation .. is not...
Robin Cornelius [Thu, 4 Aug 2011 19:07:44 +0000 (19:07 +0000)]
Dividing by zero and using the result as the weight in an interpolation .. is not helpful

git-svn-id: https://radegast.googlecode.com/svn/trunk@1059 f7a694da-4d33-11de-9ad6-1127a62b9fcd

12 years agoImproved avatar position. Apply pelvis offset to avatar and their attachments. Walkin...
Robin Cornelius [Thu, 4 Aug 2011 18:47:35 +0000 (18:47 +0000)]
Improved avatar position. Apply pelvis offset to avatar and their attachments. Walking seems about right, sitting on scripted things seems close, sitting on unscripted prims still has a strange positional offset

git-svn-id: https://radegast.googlecode.com/svn/trunk@1058 f7a694da-4d33-11de-9ad6-1127a62b9fcd

12 years agoFix avatar skinning, I was incorrectly applying the weighting, must calculate the...
Robin Cornelius [Wed, 3 Aug 2011 21:53:22 +0000 (21:53 +0000)]
Fix avatar skinning, I was incorrectly applying the weighting, must calculate the entire transform for each bone/vertex pair then lerp together. TODO optimise this.

git-svn-id: https://radegast.googlecode.com/svn/trunk@1057 f7a694da-4d33-11de-9ad6-1127a62b9fcd

12 years agoSpeed up: when creating bounding volume scale it based on object scale
Latif Khalifa [Wed, 3 Aug 2011 05:39:17 +0000 (05:39 +0000)]
Speed up: when creating bounding volume scale it based on object scale
Previously bounding volume was scaled each time it was used for culling calculations.

git-svn-id: https://radegast.googlecode.com/svn/trunk@1056 f7a694da-4d33-11de-9ad6-1127a62b9fcd

12 years agoThrottle terrain updates.
Latif Khalifa [Wed, 3 Aug 2011 04:29:47 +0000 (04:29 +0000)]
Throttle terrain updates.
Upon login we get a lot of individual terrain patches, don't rebuild on each.
Build terrain mesh on a thread.

git-svn-id: https://radegast.googlecode.com/svn/trunk@1055 f7a694da-4d33-11de-9ad6-1127a62b9fcd

12 years agoskeleton rotations are parent * child, fix backwards condition
Robin Cornelius [Tue, 2 Aug 2011 21:15:39 +0000 (21:15 +0000)]
skeleton rotations are parent * child, fix backwards condition

git-svn-id: https://radegast.googlecode.com/svn/trunk@1054 f7a694da-4d33-11de-9ad6-1127a62b9fcd

12 years agoSlerp the rots when skinning vertex weights
Robin Cornelius [Tue, 2 Aug 2011 19:50:59 +0000 (19:50 +0000)]
Slerp the rots when skinning vertex weights

git-svn-id: https://radegast.googlecode.com/svn/trunk@1053 f7a694da-4d33-11de-9ad6-1127a62b9fcd

12 years agoBounding volume min is already negative, flip sign.
Latif Khalifa [Mon, 1 Aug 2011 06:46:52 +0000 (06:46 +0000)]
Bounding volume min is already negative, flip sign.

git-svn-id: https://radegast.googlecode.com/svn/trunk@1052 f7a694da-4d33-11de-9ad6-1127a62b9fcd

12 years agoRe-enable more precise distance checking
Latif Khalifa [Mon, 1 Aug 2011 06:28:39 +0000 (06:28 +0000)]
Re-enable more precise distance checking
Use actual bounding box for calc
Don't bother with small objects (<5m bounding sphere)

git-svn-id: https://radegast.googlecode.com/svn/trunk@1051 f7a694da-4d33-11de-9ad6-1127a62b9fcd

12 years agoImplemented terrain picking.
Latif Khalifa [Mon, 1 Aug 2011 05:57:40 +0000 (05:57 +0000)]
Implemented terrain picking.

git-svn-id: https://radegast.googlecode.com/svn/trunk@1050 f7a694da-4d33-11de-9ad6-1127a62b9fcd

12 years agoDisable the previous commit's changes by default.
Revolution Smythe [Mon, 1 Aug 2011 05:15:58 +0000 (05:15 +0000)]
Disable the previous commit's changes by default.

git-svn-id: https://radegast.googlecode.com/svn/trunk@1049 f7a694da-4d33-11de-9ad6-1127a62b9fcd

12 years agoAdd in a rendering option for lighter, but more computationally heavy, cull checking...
Revolution Smythe [Mon, 1 Aug 2011 05:02:08 +0000 (05:02 +0000)]
Add in a rendering option for lighter, but more computationally heavy, cull checking (allows for you to see the object you are standing on if it is > your draw distance).

git-svn-id: https://radegast.googlecode.com/svn/trunk@1048 f7a694da-4d33-11de-9ad6-1127a62b9fcd

12 years agoMoved occlusion culling setting to RenderSettings
Latif Khalifa [Sun, 31 Jul 2011 21:34:38 +0000 (21:34 +0000)]
Moved occlusion culling setting to RenderSettings

git-svn-id: https://radegast.googlecode.com/svn/trunk@1047 f7a694da-4d33-11de-9ad6-1127a62b9fcd

12 years agoChanged the way we determine should an object be meshed or not.
Latif Khalifa [Sun, 31 Jul 2011 21:23:56 +0000 (21:23 +0000)]
Changed the way we determine should an object be meshed or not.
* By the time we hit set in BasePrim value and BasePrim are the same object
  (libomv doesn't create a new object on update if it already knows about it)
* Back to keep track of hash codes, this time only on object update so
  the impact is negligible

git-svn-id: https://radegast.googlecode.com/svn/trunk@1046 f7a694da-4d33-11de-9ad6-1127a62b9fcd

12 years agoSome small optimizations and move texture downloads into the settings class.
Revolution Smythe [Sun, 31 Jul 2011 08:14:32 +0000 (08:14 +0000)]
Some small optimizations and move texture downloads into the settings class.

git-svn-id: https://radegast.googlecode.com/svn/trunk@1045 f7a694da-4d33-11de-9ad6-1127a62b9fcd

12 years agoSaving files is always important (fix my bug with the previous commit), plus implemen...
Revolution Smythe [Sun, 31 Jul 2011 07:28:09 +0000 (07:28 +0000)]
Saving files is always important (fix my bug with the previous commit), plus implement a 'quick and dirty' meshing method that uses the Low LOD for basic objects, which is fine in most cases. This greatly increases the speed and FPS of high prim regions.

git-svn-id: https://radegast.googlecode.com/svn/trunk@1044 f7a694da-4d33-11de-9ad6-1127a62b9fcd

12 years agoRemove the GetHashCode pieces for rendering and just check whether the prim has chang...
Revolution Smythe [Sun, 31 Jul 2011 06:50:34 +0000 (06:50 +0000)]
Remove the GetHashCode pieces for rendering and just check whether the prim has changed before we remesh it (this does need checked by lkalif or someone else who knows whether Equals() works with my code here) and move the DetailLevels out to the rendering settings.

git-svn-id: https://radegast.googlecode.com/svn/trunk@1043 f7a694da-4d33-11de-9ad6-1127a62b9fcd

12 years agoImplement picking for text/hud pieces.
Revolution Smythe [Sat, 30 Jul 2011 05:19:20 +0000 (05:19 +0000)]
Implement picking for text/hud pieces.

git-svn-id: https://radegast.googlecode.com/svn/trunk@1042 f7a694da-4d33-11de-9ad6-1127a62b9fcd

12 years agoAdd much better (and even more convoluted) terrain texture rendering code. Still...
Revolution Smythe [Sat, 30 Jul 2011 04:24:17 +0000 (04:24 +0000)]
Add much better (and even more convoluted) terrain texture rendering code. Still quite blocky, but a big improvement over what was there.

git-svn-id: https://radegast.googlecode.com/svn/trunk@1041 f7a694da-4d33-11de-9ad6-1127a62b9fcd

12 years agoImplement left click + drag (no position/normal/all the fancy touch stuff, only basic...
Revolution Smythe [Sat, 30 Jul 2011 01:35:06 +0000 (01:35 +0000)]
Implement left click + drag (no position/normal/all the fancy touch stuff, only basic touch).

git-svn-id: https://radegast.googlecode.com/svn/trunk@1040 f7a694da-4d33-11de-9ad6-1127a62b9fcd

12 years agoUpdated PrimMesher.dll to r62
Latif Khalifa [Sat, 30 Jul 2011 01:18:12 +0000 (01:18 +0000)]
Updated PrimMesher.dll to r62

git-svn-id: https://radegast.googlecode.com/svn/trunk@1039 f7a694da-4d33-11de-9ad6-1127a62b9fcd

12 years agoMake a change as suggested by lkalif to wait to jump in seconds, instead of frames...
Revolution Smythe [Sat, 30 Jul 2011 00:48:19 +0000 (00:48 +0000)]
Make a change as suggested by lkalif to wait to jump in seconds, instead of frames and fix behavior with the home key, so that if it is held down, it only changes the fly status once, as in the Second Life viewer. Add some commented out code for making left-click touch work (with touch() event code).

git-svn-id: https://radegast.googlecode.com/svn/trunk@1038 f7a694da-4d33-11de-9ad6-1127a62b9fcd

12 years agoExperimental PrimMesher build by Dahlia Trimble
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

12 years agoAdd in the key hooks for flying, jumping, and landing. Landing doesn't always work...
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

12 years agoAdded strife movement control (shift + left or right arrow)
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

12 years agoAdded keyboard motion control
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

12 years agoMove camera tracking code to the main render loop and track based on render position.
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

12 years agoBackout interpolation change. Don't end move to let camera interpolate position.
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

12 years agoUpdated about box
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

12 years agoIf for some reason, the acceleration is not sent, interpolate based off of the veloci...
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

12 years agoIf the user has not ctrl-alt moved the viewer, and the client (self) moves, move...
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

12 years agoMake calculating object positions less convoluted and more correct :P
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

12 years agoMove avatar skeleton animation before position of child prims is calculated.
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

12 years agoFix previous commit. Note to self: save files before svn commit ;)
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

12 years agoStarted breaking out graphics capabilities settings to a separate setting static...
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

12 years agoUpdate prebuild not to freak out on files with no extensions
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

12 years agoRemesh and recalculate UVs when texture params change.
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

12 years agoFix animation looping and implement at partial stacking of priorities, TODO prioritie...
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

12 years agoUpdated static snapshot builder project file
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

12 years agoMove static assets to openmetaverse_data/static_assets
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

12 years agoAdd static asset files to openmetaverse_data
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

12 years agoAdd some helper code for decoding the static VFS and generating a set of asset files...
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

12 years ago[INTERFACE CHANGE] Implement transforming for Planar textures via Meshmerizer
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

12 years agoUse hash code for mesh to determine if we need to recreate it on object update
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

12 years agoDon't create new mesh on each object update.
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

12 years agoConnect up avatar animations so that they work with the skinning and skeleton system
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

12 years ago* Implemented loadStuffReallyFast() :P
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

12 years agoOnly decode textures that we know will be on the screen.
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

12 years ago* Implemented occlusion culling (TODO: check if graphics card support it)
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

12 years agoSilence couple of stupid compiler warnings
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

12 years agoExperimental decoded texture caching
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

12 years agoImproved teleport with Scene Window open.
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

12 years agoLimit frame rate to max 15 if we're not active window.
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

12 years agoRegister tab events. Hide debug panel when docked.
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

12 years agoMade right click context menu dynamic
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

12 years agoMade SceneWindow into a detachable tab
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

12 years agoAvatar rendering updates, apply all morphs from the visual parameters set in an addit...
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

13 years agoDocument the demo tab implementation and fix a couple of buglets,
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

13 years agoAdded sample plugin that demonstrates how to add GUI tab to Radegast via plugin
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

13 years agoFixed non vbo rendering.
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

13 years agoMore correct linear interpolation.
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

13 years agoUse notion of Interpolated position and rotation instead of sim position and location.
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

13 years agoUse float for lastFrameTime
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

13 years ago* Fixed picking.
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

13 years ago* Hookup our own appearance changes
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

13 years agoAllow detached tabs to be floater like.
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

13 years agoRAD-277: Added ability not to save username and password
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

13 years agoEnsure we deep copy the bone structure when making a new skeleton so that AVs change...
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

13 years agoSculpt UV map seems to come out vertically flipped from the PrimMesher. Fix it
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

13 years agoDon't ask OpenGL if we switched the lighting off. Remember state.
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

13 years agoIf we get a child prim update before root, we would never properly initialize the...
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

13 years agoMade sound initialization on Linux more resiliant
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

13 years agoOptimise avatar bone position and rotation fetching, use cached values in the skeleto...
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

13 years agoOptimize:
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

13 years agoUse rendering position when drawing stuff for interpolation to work
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

13 years agoVery basic animation code shows last key frame, no priorities
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

13 years agoMinimise the calls to GL.MultMatrix by using a combined SRT matrix
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

13 years agoAlpha masking and blending correct phases of the rendering process.
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

13 years agoImplement angular velocity interpolation (target omega).
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

13 years agoSimple interpolation of object position.
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

13 years agoUse sim draw distance.
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

13 years agoMove back loading of the avatar_lad to constructor.
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

13 years agoShow window, then do heavy stuff for better user experience.
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

13 years agoUse precalculated sim position and rotation as the starting point for avatars.
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

13 years agoNow that we have calculate sim position and rotation of all prims, remove duplicate...
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

13 years ago* Add avatars to general sorted list of stuff to render
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

13 years agoCalculate position of all prims accurately
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

13 years agoImplemented prim sorting.
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

13 years agoDetermine more info about image alpha channel. Don't render faces with fully transpar...
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

13 years ago* Rename BoundingSphere -> BoundingVolume
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

13 years agoRemove redundant data copying.
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

13 years agoAdded RenderPrimite to replace faceted mesh.
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

13 years agoDetect if we have VBO support.
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

13 years agoA bit less camera smoothing.
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

13 years agoAvoid holding locks and prims and avi dictionaries for too long which causes lock...
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

13 years ago* Implemented camera smoothing thanks to Moon Metty
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

13 years agoLock list of Avatars during skeleton rendering
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

13 years agoMerged avatar rendering code.
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

13 years agoAvatar rendering: update meshes when apply morphs is clicked avatarrendering
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

13 years agovpsent is in the GLAvatar Class not the Avatar one from libomv
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