Black Dragon is MY Viewer, i decide which feature i want to add and which to remove, i share this Viewer to show the world that user base size is not important, i do rate quality by effort, thought and love put into the project, not some rough estimated numbers. I consider feature requests only if i you can name proper valid reasons i can agree on. It is my (unpaid) time i'm putting into this project, i'm not here to cater to every Joe's desires.

Sunday, February 9, 2014

Emergency Update

NOTE: This and the next update are emergency updates, to stay 100% compatible with whatever hellish stuff LL is cooking. This is just a fraction of the actual 2.4 that is planned.

Mark my words: this is definetly not the last update.

Linden Labs didn't release any new version this week, this emergency update however was announced for this week, so here it is, updated and with lots of fixes and additions.

I do not want to talk about these fixes and additions too much for now, it's late, i'm tired and i'm not in mood to write a huge post about all the new things now.

There are a few things i want to run down quickly, they are important and they need testing.


I think theres not much to explain how it works, you hold down your right mouse button and drag your mouse around and kazam, your camera/avatar rotates/turns around, something pretty much every MMO has and which SL is lacking very badly. One big upside of it is you can hold down right mouse and drag around to move your camera around after you zoomed on something, without having to old ALT or CTRL or Shift or any other of these pesky keys and it looks and works much smoother than moving your cam with keyboard. Yes. Right-click menus still work. Don't panic...they just work slightly different now, instead of opening as soon as you press down your right mouse button, they will open when you release it and only if you didn't move your mouse over a certain radius from your initial click position. Wonderfull magic.


This is something i really want to be tested, EVERYONE, get your controllers and space navigators out and map the shit out of them! Yes, map, as in mapping, as in remapping... you can remap pretty much all buttons on your controllers now to any common action, actions like toggling run, fly, mouselook, flycam, zooming in and out, rolling left and right, jumping, crouching and maybe even more. I urge you to try it if you got a controller. Especially space navigators are important since the fix for controllers might have impact on these and i really need to know that. The above video is meant to show that my Xbox360 controller now works just fine for avatar movement, no more camera stutter/jerking when trying to move and cam around at the same time.

More to read tomorrow...maybe.


Added: Ability to disallow using Mouse-wheel to change values in spinners. Prevents some nasty problems with hovertips accidentally getting set to infinite.
Added: Ability to remap all available and functioning buttons mainly of a Xbox360 controller.
- Works with up to 16 buttons (for other controllers or joysticks)
- Adds the ability to map zoom in/out/default, roll left/right, jump, crouch, toggle flycam, toggle run, toggle fly and mouselook to available buttons.
- Certain mappings only work in either Avatar/Flycam or Build mode because not all do make sense e.g Avatar has no roll, Build no run toggle and so on.
- Jump/Crouch works as Y up/down in Avatar fly mode, Flycam mode and Build mode.
- Adds a button to reset everything to Xbox360 controller defaults.
- Adds button widgets to visualize which buttons are currently pressed.
- Adds spinners to map all actions to buttons.
- Tweaks feathering to make the second finetuning slider obselete.
- Changes the whole layout of the joystick floater to a cleaned up version fitting to our new Preferences look.
- Moves OK and Cancel buttons to the bottom to make them always visible.
- Adds several Debugs to control all new mappings. Could be expanded to more stuff in future.
- Changes to Xbox360 defaults if we havn't had a non-spacenav joystick initialized before.
- May need some cleanup, it looks a bit hacky right now.
Added: Missing icon textures for our old-new toolbar buttons. Welcome back.
Added: Missing strings and icons for our old-new toolbar buttons.
Added: "Custom" Tone Mapping style.
Added: Several missing extra Toolbar buttons such as Pathfinding and Machinima ones.
Added: Hold Right Mouse Button to turn camera/avatar around.
Removed: Unused textures from preload.
Removed: "Shadow Resolution" slider and disabled "Underwater Distortion" checkbox.
Fixed: Realistic Mouselook going crazy when looking straight down/up. Clamp our pitching to prevent this.
Fixed: Camera resetting when jumping, crouching or flying up/down with controller resulting in slightly jerky camera movement.
Fixed: Jerky and broken camera movement while moving the avatar around with certain controllers especially Xbox 360 controller. Remove additional dead zones and use raw deltas instead, also stop resetting our camera when strafing.
Fixed: Viewer Icons.
Fixed: Crash when Alt-zooming around and pressing the right mouse button.
Fixed: Zoom cursor showing up on Third Person Steering Mode or Hold-Right-Mouse turning and even on just right-clicking.
Fixed: Green-tone of right-click dropdowns beeing too bright and sometimes hard to read on.
Fixed: UI Size always reverting to "Small" after relog when it was previously set to "Normal".
Fixed: (L$[COST]) strings in Inventory and Main Menu.
Fixed: Compiling issues.
Fixed: Compile errors after RLVa merge.
Fixed: More compile errors after merge.
Fixed: Camera resetting in Third Person Steering Mode and Hold Right Mouse-Button Steering mode while walking.
Fixed: Sampling blur twice because of merge magic.
Fixed: Crash when spawning the right click menu in Appearance Mode with enabled Appearance Camera.
Fixed: Right-Click menu not working when in Build/Edit mode.
Fixed: A bunch of right-click dropdown menus having a grey background instead of the normal menu background defined in colors.xml
Changed: New Shadow Blur, SSAO and Tone Mapping settings. Tone Mapping is now much more original SL like, extreme dull effect anymore and alot more colors, more than original.
Changed: Use Tofu's faster Depth of Field without Anti-Fringe until we can switch easily between all 3.
Changed: Drastically reduced near-clip plane, allowing for super close zooms and nearly 0 clipping in Mouselook. Thanks to Adeon for telling me.
Changed: Rip out all constantly recreated floats and vecs in SSR and add them as pre-created variables, we can set them later on but don't need to re-create them every time. Possibly a very slight performance increase.
Changed: Shadow Map Resolution to be quadratic depending on your screen width only.
Changed: Seperated shadow resolution completely, added a Vector3 to allow custom shadow width and height, multiply everything by Z.
Changed: Reflect custom shadowmap options in our "Display" panel.
Changed: Random loadingscreen preloading code. I might have to take a closer look since it seems to select the same picture twice in a row.
Changed: Group counter display to show (Current Count + Available / Maximum)
Changed: Torn-off right-click dropdowns should have no background color since they have a floater background.
Changed: Toolbar button flashing colors to a less ugly glowing white.
Changed: Glow default settings to a prettier and stronger glow.
Changed: Depth of Field Defaults, limit our absolute max blurriness to drastically increase framerate with extreme Depth of Field blurring.
Changed: Allow scrolling by default but only change values if the editor field has focus, otherwise dismiss our scrolling.
Changed: Disabled Underwater Distortion as it is non-functional right now.
Cleanup: Removed obselete code.
Misc: MISC.
Merge with RLVa
Merge with Fitted Mesh
Merge with Linden Release
Misc: Stuff.
MAINT-3575: remove old exe if found in current install directory
MAINT-3571: include settings_install.xml whether it contains settings or not
MAINT-3489: Make Mac updater script detect prematurely deleted .dmg.
MAINT-3412 Fix Intel Iris recognizer to include optional Pro as is reported with integrated-only graphics on new MBP
MAINT-3376 FIXED Successive llSetTextureAnim calls fail in 3.6.10 (283075) unless a different command (llSleep(0.01), llSay(0,"hello")) is placed between them.
MAINT-3356 GPU Table update to support Retina MBP 'Intel Iris OpenGL Engine' driver id on Mavericks.
MAINT-3353 fix
MAINT-3343 FIXED Expand/Collapse message pan only on left click.
MAINT-3338 fix disable of particle glow on false suspicion of lying network data
MAINT-3331: On update, remove com.secondlife.indra.viewer.savedState.
MAINT-3330 fix regression on mac caused by shader change for 3107 by rolling back to prev version of shader
MAINT-3312 : crash in LLVOAvatar::lazyAttach().   Reverted some earlier changes
MAINT-3311 Add avatar_lad and avatar_skeleton changes from Jeremiah
MAINT-3294 (Microphone button clipped when resizing Conversations List in CHUI)
MAINT 3099: remove any Vivox log file left in the program folder
MAINT-2258 : temp attachments getting removed improperly.  Reviewed by Kelly.
MAINT-140 revert to simplified cleanDeadObjects to avoid accidental refcounting crashes
INTL-126 fix incorrectly translated Boolean values in XUI; remove some obsolete strings
ACME-1099 : Fix crash when getting the Facebook cap from a (potentially null) region
DRTVWR-338 Make an inocuous change to get a new build number out of TeamCity
FITMESH-6, FITMESH-20  Fix for some objects disappearing when hardware skinning enabled and ALM disabled.
STORM-1993 In the About Land floater only send object return time to server when it has been changed
STORM-1992 'Open voice connection' and 'Expand participant list' buttons are overlapping each other in IM conversation after resizing.
STORM-1989 Overlapping UI elements in Upload Model floater
STORM-1987 Inconsistent menu naming and behavior in Places floater
STORM-1986 Added right click Show on Map context menu for Inventory floater landmarks
STORM-1984: Mousing over UI elements does not make them light up
STORM-1982 Remove duplicate entry in settings.xml
STORM-1981 Rough initial changes for evaluation purposes.
STORM-1980 Play sound for region restarting message
STORM-1975 IM windows occasionally report false typing status.
STORM-1950 MATBUG-360 MATBUG-361 fix recognizers for nV 680/690 cards
STORM-1831 Changing addRegionChangedCallback to more closely resemble the feature it replaces. This fixes the crashes reported by Whirly
MATBUG-360 MATBUG-361 STORM-1950 MAINT-2252 MAINT-2981 gpu table update
BUG-4685: remove any SecondLife.exe file left in the SecondLifeViewer folder by an install prior to 3.12
BUG-4286 add AMD R7/R9 entried to GPU table
BUG-3968: do not wear an object when renaming in inventory
BUG-3764: Groups count in groups list does not display if floater is resized
OPEN-196 add handler for socket.error
OPEN-195 Cleaned non-UTF8 safe characters
OPEN-113 Build > Upload > Model > Calculate weights & fee is not disabled in OS built viewers


  1. Woah. you sure has been busy, ill give it a go back home with my ps2 controller and my joystick to try out the gamepad action :) lots of great fixes and the new camera rotation seems sweet.

    1. Thats about 7-8 days, 3-4 hours work each day. Imagine what it could have been if i worked full time on it and didn't release until the originally planned update.

  2. Since I ONLY use Navigator as a cam because I am a wedding machinimist on SL . how what where do I set the nav to work as it use to . thank you

    1. Click "Use SpaceNavigator Defaults", that should revert the axis mappings and axis scales/dead zones to SpaceNavigator defaults, the mappings for buttons are up to you. Just press a button and it will press down one of the labeled buttons, which indicates which button it is, then just set the action you wish to map to that button's number.

  3. TY, look forward start using BD again, I do think the overall graphics appear to be superior to FS, whatever you did under the hood, and it appears now again the DOF is 'working' good, alot like it did in the old Nirans

    1. Actually, all changes to DoF have just lowered its quality, DoF's overall quality is now below that of Nirans.

  4. Can i change the shadow resolution and blur easily as in nirans with black dragon? or do i need to use debug setttings?

    1. Changed: Seperated shadow resolution completely, added a Vector3 to allow custom shadow width and height, multiply everything by Z.

  5. Niran.. on the shadows, when you have a chance, you think you could explain how the new shadow system works?

    "added a Vector3 to allow custom shadow width and height, multiply everything by Z." i am sure you know exactly what that means, but, it not exactly self explanatory to a neophyte such as my self

    1. It is self explanatory if you look into Display settings, i will write something about that later tho.

    2. OK, ty Niran. so far, shadow 'blur' not working in that it is not blurred, just jaggy lines. I played with all the settings in display, but cannot figure out how to make a 'high res' shadow that is soft and blurred

    3. Sounds like ambient occlusion is disabled.

  6. Sounds like a good viewer, but the system requirements are out of the pale.