OSDN Git Service

radegast/radegast.git
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

12 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

12 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

13 years agoSpeed up texture downloading:
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

13 years agoAvatar rendering: fix visual parm parsing to get complete list, sort tweakables to...
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

13 years agoAvatar Rendering: Add in more visual parameter test boxes, fix morphs to work with...
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

13 years agoAvatar Rendering: fix avatar posing/skinning, works now some small skinning issues...
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

13 years agoavatar rendering: use the parsed deform position
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

13 years agoAvatarRendering: sync updates, bone rotations are carried through to skinning now...
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

13 years ago* Remove unnecessary glFlush() calls
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

13 years agoImplemented "FullBright" attribute for textures
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

13 years agoDiable connecting to multiple sims for now
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

13 years ago* Implemented texture animations
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

13 years agoavatarrendering: various updates to skeleton handing and bone code.
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

13 years agogit-svn-id: https://radegast.googlecode.com/svn/branches/avatarrendering@947 f7a694da...
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

13 years agoImplement smooth camera focus when picking (alt+mouse click).
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

13 years agoUpdate RenderObjects(), LoadCurrentPrims() and PrimPos() logic to cope with child...
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

13 years agoDon't zcrew up other rendering elements by leaving texture bound behind.
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

13 years agoDon't fetch all 4 terran textures in parallel as it causes problem if the terrain...
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

13 years ago* Added simple LOD factor calculation (many thanks to Moon Metty)
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

13 years agoDo texture download enqueueing from a single function that first checks if we already...
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

13 years agoAdded temporary controls for light testing.
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

13 years agoDo a real mipmap test, as the fake one crashes some drivers.
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

13 years agoAdd avatars and their attachments to LoadCurrentPrims()
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

13 years agoAdd bone loader and offset eyes to correct position based on head bone
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

13 years agoAvoid terrain flicker as the patches come in.
Latif Khalifa [Sun, 3 Jul 2011 03:09:16 +0000 (03:09 +0000)]
Avoid terrain flicker as the patches come in.

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

13 years agoRevert r932 except for the PrimPos() part
Latif Khalifa [Sun, 3 Jul 2011 01:26:04 +0000 (01:26 +0000)]
Revert r932 except for the PrimPos() part
broke texturing

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

13 years agoFix the crash when map button was clicked too soon
Latif Khalifa [Sat, 2 Jul 2011 23:01:33 +0000 (23:01 +0000)]
Fix the crash when map button was clicked too soon

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

13 years agoImplement high precision render timer.
Latif Khalifa [Sat, 2 Jul 2011 22:28:55 +0000 (22:28 +0000)]
Implement high precision render timer.
lastFrameTime is double containing how long it took (in seconds) to render the last frame
renderTimer.Elapsed.TotalSeconds is double containing the time since frame started rendering

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

13 years ago* Don't send the whole big data object for the texture queue (reduces memory usage)
Latif Khalifa [Sat, 2 Jul 2011 21:08:20 +0000 (21:08 +0000)]
* Don't send the whole big data object for the texture queue (reduces memory usage)
* Correct PrimPos() to work with seated avatars

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

13 years agoAdd a bake index for eyelash mesh, and use correct bake index for eyes.
Robin Cornelius [Sat, 2 Jul 2011 20:25:21 +0000 (20:25 +0000)]
Add a bake index for eyelash mesh, and use correct bake index for eyes.

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

13 years agoAdd basic stats display and show FPS to 3D scene
Robin Cornelius [Sat, 2 Jul 2011 20:19:28 +0000 (20:19 +0000)]
Add basic stats display and show FPS to 3D scene

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

13 years agoMove the hasMipmap extra check to after GL extension test, or else it will be missed.
Robin Cornelius [Sat, 2 Jul 2011 18:51:22 +0000 (18:51 +0000)]
Move the hasMipmap extra check to after GL extension test, or else it will be missed.

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

13 years ago* Split UpdatePrimBlocking in two functions, one for checking if we should bother...
Latif Khalifa [Sat, 2 Jul 2011 14:45:03 +0000 (14:45 +0000)]
* Split UpdatePrimBlocking in two functions, one for checking if we should bother with this prim and downloading sculpts and meshes and the other for meshing
* Close the texture thread on window close

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

13 years agoAdded simple water.
Latif Khalifa [Sat, 2 Jul 2011 13:10:32 +0000 (13:10 +0000)]
Added simple water.

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

13 years agoRemove departing avatars
Latif Khalifa [Sat, 2 Jul 2011 10:38:48 +0000 (10:38 +0000)]
Remove departing avatars

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

13 years agoAdded display of avatar tags
Latif Khalifa [Sat, 2 Jul 2011 10:35:31 +0000 (10:35 +0000)]
Added display of avatar tags

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

13 years agoAdded ability to pick avatars.
Latif Khalifa [Sat, 2 Jul 2011 09:13:12 +0000 (09:13 +0000)]
Added ability to pick avatars.
Added functions for switching into 2D drawing mode (HUDs)

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

13 years agoFixed VBO for terrain.
Latif Khalifa [Sat, 2 Jul 2011 07:45:23 +0000 (07:45 +0000)]
Fixed VBO for terrain.

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

13 years agoMade each rendering section responsible for setting the client state and clearing...
Latif Khalifa [Fri, 1 Jul 2011 23:19:58 +0000 (23:19 +0000)]
Made each rendering section responsible for setting the client state and clearing it after.

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

13 years agoUpdate manual build files.
Latif Khalifa [Fri, 1 Jul 2011 23:13:56 +0000 (23:13 +0000)]
Update manual build files.

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

13 years agoDelete the character/*.tga files we already have them for baking in openmetaverse_data
Robin Cornelius [Fri, 1 Jul 2011 21:52:31 +0000 (21:52 +0000)]
Delete the character/*.tga files we already have them for baking in openmetaverse_data

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

13 years agoAdd basic avatar rendering to SceneViewer
Robin Cornelius [Fri, 1 Jul 2011 21:46:45 +0000 (21:46 +0000)]
Add basic avatar rendering to SceneViewer

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

13 years agoImplemented terrain. High res mesh, low res texture.
Latif Khalifa [Fri, 1 Jul 2011 20:43:46 +0000 (20:43 +0000)]
Implemented terrain. High res mesh, low res texture.
TODO: Make higher res terrain texture.

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

13 years agoRemove not needed call in the render loop.
Latif Khalifa [Fri, 1 Jul 2011 00:54:03 +0000 (00:54 +0000)]
Remove not needed call in the render loop.

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

13 years agoImplement VBOs
Latif Khalifa [Thu, 30 Jun 2011 23:44:51 +0000 (23:44 +0000)]
Implement VBOs

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

13 years agoImplemented frustrum culling.
Latif Khalifa [Wed, 29 Jun 2011 16:38:12 +0000 (16:38 +0000)]
Implemented frustrum culling.

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