OSDN Git Service
Latif Khalifa [Fri, 2 Sep 2011 01:01:18 +0000 (01:01 +0000)]
RAD-287: Change method to lookup object names so that it does not interfere with sim physics
git-svn-id: https://radegast.googlecode.com/svn/trunk@1127
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Thu, 1 Sep 2011 04:25:23 +0000 (04:25 +0000)]
RAD-274: Inventory not fully loading
git-svn-id: https://radegast.googlecode.com/svn/trunk@1126
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Thu, 1 Sep 2011 02:25:50 +0000 (02:25 +0000)]
Move mouse pointer to window center as soon as we start alt-zooming
git-svn-id: https://radegast.googlecode.com/svn/trunk@1125
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Thu, 1 Sep 2011 02:08:29 +0000 (02:08 +0000)]
Made the disposal of the scene viewer idempotent.
Destroying of OpenGL context now done on their respective threads (in hope it will help prevent CPU pegging that sometimes happen on control shutdown).
git-svn-id: https://radegast.googlecode.com/svn/trunk@1124
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Thu, 1 Sep 2011 02:04:32 +0000 (02:04 +0000)]
Don't throw internal exception if a log line comes after the console has been destroyed.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1123
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 28 Aug 2011 21:36:27 +0000 (21:36 +0000)]
Stop tracking avatar when alt-zooming
git-svn-id: https://radegast.googlecode.com/svn/trunk@1122
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 28 Aug 2011 18:01:38 +0000 (18:01 +0000)]
Fixed the problem with avatar bakes downloading I introduced when limit on number of texture download requests per frame has been introduced.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1121
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 28 Aug 2011 17:36:18 +0000 (17:36 +0000)]
Second attempt at invisiprims
git-svn-id: https://radegast.googlecode.com/svn/trunk@1120
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 28 Aug 2011 07:10:39 +0000 (07:10 +0000)]
Revert stencil invisiprim implementation.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1119
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 28 Aug 2011 06:59:23 +0000 (06:59 +0000)]
Build nr++
git-svn-id: https://radegast.googlecode.com/svn/trunk@1118
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 28 Aug 2011 06:58:39 +0000 (06:58 +0000)]
Implemented invisiprims that hide parts of the avatar (commonly found in shoes).
git-svn-id: https://radegast.googlecode.com/svn/trunk@1117
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 28 Aug 2011 03:14:46 +0000 (03:14 +0000)]
* Modified camera control to mimic inferior model found in other viewers
/whining just would not stop/ :P
* Implement gluUnProject.
* Use gluUnProject for to determine the precise spot for alt-camming
git-svn-id: https://radegast.googlecode.com/svn/trunk@1116
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sat, 27 Aug 2011 14:53:46 +0000 (14:53 +0000)]
[crash reporter] Use compat VBO functions
git-svn-id: https://radegast.googlecode.com/svn/trunk@1115
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sat, 27 Aug 2011 14:28:36 +0000 (14:28 +0000)]
RAD-283: Password is not forgotten, aka Radegast is an elephant
Patch by SignpostMarv
git-svn-id: https://radegast.googlecode.com/svn/trunk@1114
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Thu, 25 Aug 2011 16:09:33 +0000 (16:09 +0000)]
RAD-285: Added the ability to send Radegast client tag
git-svn-id: https://radegast.googlecode.com/svn/trunk@1113
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Thu, 25 Aug 2011 15:18:24 +0000 (15:18 +0000)]
RAD-268: merged 'Chat+Objects' Tabs can't be re-opened
Disallow closing of merged tabs, split tabs then merge them individually.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1112
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Thu, 25 Aug 2011 14:50:33 +0000 (14:50 +0000)]
RAD-281: Loading a plugin .cs using System.Xml results in missing namespace error
Added System.Xml.dll reference for plugins loaded from .cs
git-svn-id: https://radegast.googlecode.com/svn/trunk@1111
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Wed, 24 Aug 2011 08:46:13 +0000 (08:46 +0000)]
Don't miss the last meter of the terrain.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1110
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 21 Aug 2011 09:44:28 +0000 (09:44 +0000)]
[crash reporter] sanitize font size if it somehow got corrupted in the settings
git-svn-id: https://radegast.googlecode.com/svn/trunk@1109
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 21 Aug 2011 00:31:42 +0000 (00:31 +0000)]
* Don't bother with precise distance calculation on small prims (fixes some alpha sorting)
* Re-enable IsAttached
git-svn-id: https://radegast.googlecode.com/svn/trunk@1108
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Fri, 19 Aug 2011 08:40:15 +0000 (08:40 +0000)]
Break out big Rendering.cs and RenderingHelpers.cs into more manageable pieces.
Step 1: Move RenderAvatar and avatar rendering related classes to a separate source file
TODO: Move Render() there as well
git-svn-id: https://radegast.googlecode.com/svn/trunk@1107
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Fri, 19 Aug 2011 07:51:21 +0000 (07:51 +0000)]
Updated source build number
git-svn-id: https://radegast.googlecode.com/svn/trunk@1106
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Fri, 19 Aug 2011 07:49:48 +0000 (07:49 +0000)]
Starting to break out big Rendering.cs and RenderingHelpers.cs into more manageable pieces.
Step 1: Move RenderPrimitive and classes related to prim rendering into a separate file
Added Render() method to all SceneOjects
git-svn-id: https://radegast.googlecode.com/svn/trunk@1105
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Fri, 19 Aug 2011 06:26:23 +0000 (06:26 +0000)]
Call Dispose() on RenderPrimitive and RenderAvatar when we get kill message.
Added AvatarUpdate handler.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1104
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Thu, 18 Aug 2011 07:28:41 +0000 (07:28 +0000)]
Revert r1092, cannot catch access violation exceptions
git-svn-id: https://radegast.googlecode.com/svn/trunk@1103
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Thu, 18 Aug 2011 07:19:23 +0000 (07:19 +0000)]
Check if VBO upload succeeded before using buffers.
Hopefully cures some of the VBO related crashes.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1102
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Thu, 18 Aug 2011 06:25:18 +0000 (06:25 +0000)]
Add locks on accessing mPriority
git-svn-id: https://radegast.googlecode.com/svn/trunk@1101
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Robin Cornelius [Wed, 17 Aug 2011 09:40:50 +0000 (09:40 +0000)]
Add some asset retry/fail logic to prevent log spam with constant failed animation assets
git-svn-id: https://radegast.googlecode.com/svn/trunk@1100
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Robin Cornelius [Wed, 17 Aug 2011 09:29:23 +0000 (09:29 +0000)]
Add some invoke logic to the animation related libomv callbacks
git-svn-id: https://radegast.googlecode.com/svn/trunk@1099
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Tue, 16 Aug 2011 12:57:06 +0000 (12:57 +0000)]
If we're minimizing to system tray, and have docked scene viewer, close it down to avoid crashes on duplicate control initialization.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1098
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Tue, 16 Aug 2011 08:40:22 +0000 (08:40 +0000)]
* Added graphics options Floater
* Added basic floater window
git-svn-id: https://radegast.googlecode.com/svn/trunk@1097
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Tue, 16 Aug 2011 05:32:18 +0000 (05:32 +0000)]
Guard against trying to update non existing control
git-svn-id: https://radegast.googlecode.com/svn/trunk@1096
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Tue, 16 Aug 2011 05:30:14 +0000 (05:30 +0000)]
Save start location with logins too.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1095
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Tue, 16 Aug 2011 04:28:43 +0000 (04:28 +0000)]
RAD-279: Added ability to save more than one login
git-svn-id: https://radegast.googlecode.com/svn/trunk@1094
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Mon, 15 Aug 2011 10:11:05 +0000 (10:11 +0000)]
Added RemoveCommand() to the CommandManager
git-svn-id: https://radegast.googlecode.com/svn/trunk@1093
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 14 Aug 2011 07:10:40 +0000 (07:10 +0000)]
Try guarding against crashes with some OpenGL implementations when using occlusion queries.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1092
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 14 Aug 2011 04:52:26 +0000 (04:52 +0000)]
Check if graphics card supports images whose dimensions are not power of two.
Use this in local chat text rendering.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1091
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 14 Aug 2011 00:24:14 +0000 (00:24 +0000)]
Added an option to control taskbar highlighting on incoming messages.
Requested by Dahlia :)
git-svn-id: https://radegast.googlecode.com/svn/trunk@1090
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 14 Aug 2011 00:13:45 +0000 (00:13 +0000)]
Fixed crash when --no-sound was used and attempt to play incoming IM sound happened
git-svn-id: https://radegast.googlecode.com/svn/trunk@1089
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Fri, 12 Aug 2011 16:15:38 +0000 (16:15 +0000)]
RAD-278: Floating point bug in 3D renderer [for europeans]
Many thanks to Thijs Wenke for the patch!
git-svn-id: https://radegast.googlecode.com/svn/trunk@1088
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Thu, 11 Aug 2011 13:20:22 +0000 (13:20 +0000)]
Don't interpolate when parent changes (sit/stand link/unlink)
Fixes wild avatar movements on sitting/unsitting.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1087
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Thu, 11 Aug 2011 12:57:21 +0000 (12:57 +0000)]
Check correct prim flags for stuff that we can take or delete.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1086
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Thu, 11 Aug 2011 12:47:53 +0000 (12:47 +0000)]
Throttle water reflexion/refraction generation at max 10 per second with minimum 4 frames without regeneration.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1085
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Mon, 8 Aug 2011 17:46:54 +0000 (17:46 +0000)]
Use compat VBO functions. Fixes crash when only ARB VBO functions are present.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1084
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Mon, 8 Aug 2011 05:54:26 +0000 (05:54 +0000)]
Shiny shader. Disabled by default. Right click on the scene window and enable it from the context menu.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1083
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Mon, 8 Aug 2011 01:38:37 +0000 (01:38 +0000)]
Made scene viewer be docked by default (only for
the first time users, for others it remembers the
last state).
git-svn-id: https://radegast.googlecode.com/svn/trunk@1082
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Mon, 8 Aug 2011 01:36:29 +0000 (01:36 +0000)]
Add couple of button on right-clicking avatar.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1081
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Mon, 8 Aug 2011 00:55:13 +0000 (00:55 +0000)]
Improve avatar position by applying pelvis offset relative to avatar rotation.
Adjust tags and picking targets accordingly.
Don't crash on disconnect. (needs looking into)
git-svn-id: https://radegast.googlecode.com/svn/trunk@1080
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 7 Aug 2011 22:04:37 +0000 (22:04 +0000)]
Different chat types in different color
git-svn-id: https://radegast.googlecode.com/svn/trunk@1079
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 7 Aug 2011 12:22:08 +0000 (12:22 +0000)]
Short circuit IsAttached(). It's causing trouble.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1078
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 7 Aug 2011 12:21:25 +0000 (12:21 +0000)]
Made camera follow avatar from behind.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1077
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 7 Aug 2011 11:55:45 +0000 (11:55 +0000)]
For some reason we have to explicitly tell context menus that we are not canceling them.
Otherwise they don't show on the first click.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1076
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 7 Aug 2011 11:10:37 +0000 (11:10 +0000)]
Local chat console implemented.
TODO, different colors for different types.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1075
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 7 Aug 2011 07:22:29 +0000 (07:22 +0000)]
Added chat input line on SceneWindow.
Stub chat overlay (but wired into the rest of Radegast chat system).
git-svn-id: https://radegast.googlecode.com/svn/trunk@1074
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 7 Aug 2011 02:38:00 +0000 (02:38 +0000)]
One more compat check for multi-texturing.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1073
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 7 Aug 2011 02:18:33 +0000 (02:18 +0000)]
Hopeful new approach for detecting what's supported in specific drivers.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1072
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sun, 7 Aug 2011 02:12:54 +0000 (02:12 +0000)]
Updated OpenTK to r3078
git-svn-id: https://radegast.googlecode.com/svn/trunk@1071
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sat, 6 Aug 2011 23:20:31 +0000 (23:20 +0000)]
Revert changes to tabs console from r993, breaks overflow tabs.
Noticed by Zen-El (zenmondo.wormser)
git-svn-id: https://radegast.googlecode.com/svn/trunk@1070
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sat, 6 Aug 2011 22:06:41 +0000 (22:06 +0000)]
Slight mod to version updating script
git-svn-id: https://radegast.googlecode.com/svn/trunk@1069
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Robin Cornelius [Sat, 6 Aug 2011 09:10:16 +0000 (09:10 +0000)]
Correct last commit, that did not prevent the div zero
git-svn-id: https://radegast.googlecode.com/svn/trunk@1068
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Robin Cornelius [Sat, 6 Aug 2011 09:00:43 +0000 (09:00 +0000)]
Also ensure that position of animations cannot get into NaN state with a divide by zero on the delta
git-svn-id: https://radegast.googlecode.com/svn/trunk@1067
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sat, 6 Aug 2011 04:46:08 +0000 (04:46 +0000)]
Added context menu option for showing and hiding the debug panel.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1066
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sat, 6 Aug 2011 04:08:07 +0000 (04:08 +0000)]
Made alt-ctrl arrows left-right do the same thing as without the control key
git-svn-id: https://radegast.googlecode.com/svn/trunk@1065
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sat, 6 Aug 2011 03:43:10 +0000 (03:43 +0000)]
Alt-ctrl Arrow-UP/Down rotates camera vertically
a.k.a. Dahlia's feature ;)
git-svn-id: https://radegast.googlecode.com/svn/trunk@1064
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sat, 6 Aug 2011 03:28:03 +0000 (03:28 +0000)]
Bind misc checkbox to occusion culling setting
git-svn-id: https://radegast.googlecode.com/svn/trunk@1063
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Sat, 6 Aug 2011 02:48:03 +0000 (02:48 +0000)]
Updated PrimMesher.dll to r66: thanks Dahlia for fixing the last known inconsistency!
Updated autobuild project file.
git-svn-id: https://radegast.googlecode.com/svn/trunk@1062
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Fri, 5 Aug 2011 06:54:08 +0000 (06:54 +0000)]
Updated autobuild project file
git-svn-id: https://radegast.googlecode.com/svn/trunk@1061
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
Latif Khalifa [Fri, 5 Aug 2011 06:45:14 +0000 (06:45 +0000)]
* Added (disabled) shaded water (enable for fun and testing in RenderSettings, cannot be done on the fly yet)
* Added classes for loading shaders, it's important that they have file extensions .vert and .frag
for vertex and fragment shaders
git-svn-id: https://radegast.googlecode.com/svn/trunk@1060
f7a694da-4d33-11de-9ad6-
1127a62b9fcd
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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