Download
(276Kb)
Download
Updated: 05-03-10 10:55 AM
Pictures
File Info
Updated:05-03-10 10:55 AM
Created:03-22-10 09:55 AM
Downloads:17,290
Favorites:144
MD5:

AVR  Popular! (More than 5000 hits)

Version: 0.9.5beta
by: Olog [More]

Note: AVR will be broken in patch 3.3.5. See this

AVR (Augmented Virtual Reality) allows you to draw and add lines, circles and other markings on the 3D world itself. All markings may also be shared with others. Suitable for example to mark locations when explaining raid tactics. These marks can even be left visible for the fight itself. Other things you can do with AVR:

  • Draw range circles around you or someone else at any range
  • Clearly mark players close to you
  • Mark any location relative to player position and rotation, for example mage blink landing spot
  • Measure distances
  • Boss encounter warnings (using a separate addon)

Boss encounters

AVR does not contain a built in boss encounters module anymore. They are now done by a separate addon. At the moment there are two options.
  • AVR Encounters adds AVR warnings for various boss abilities. It does not require any other boss encounter addon to work. It is not a replacement for traditional boss encounter addons as it does not do ability timers, sound warnings etc. It can be used with any traditional boss encounter addon such as BigWigs, DBM or DXE.
  • Raid Watch 2 is a full boss encounter addon much like BigWigs, DBM or DXE. It has built-in support for AVR and also does timer bars and other kinds of warnings.

Whichever you choose to use, you will also need to install AVR.

Limitations and known issues

There are some fundamental limitations caused by what information is available to addons. These are mostly related to the exact position of camera and lack of unit Z coordinates. In particular you should note following:
  • Drawing works best on a flat surface (note that for example Dalaran has very uneven roads).
  • Camera getting stuck in a wall or ceiling will cause any markings to go out of sync with rest of the world.
  • Any kind of stairs/slopes and such cause troubles.
  • Jumping and other kinds of vertical movement causes the drawings to move with you.
  • Everything is drawn over the 3d world. This means that things that should be behind walls or units will appear in front of them.
  • Camera auto follow causes some problems. See also this

Some other known issues are:
  • All vehicles (like the ones at the start of Ulduar) are a bit problematic.
  • Lifts, moving platforms and in particular Gunships in Icercown Citadel raid have some problems.
  • Player map coordinates are unavailable in Icecrown Citadel raid on Lich King platform after the edges have collapsed. This means that any markings tied to zone coordinates or other players than yourself are unusable there. (Lana'Thel's room was fixed in 3.3.3 though the ramps leading there are still a bit odd.)
  • Player map coordinates are also not available in arenas or instances released before Wrath of the Lich King and so most things don't work in either of those.

How to use

See How to use.

Frequently asked questions

See FAQ.

Post A Reply Comment Options
Unread 03-22-10, 11:02 AM  
dr_AllCOM3
A Cyclonian
 
dr_AllCOM3's Avatar
AddOn Author - Click to view AddOns

Forum posts: 40
File comments: 275
Uploads: 11
That really works http://www.abload.de/img/avrn0rs.jpg
Easy mode http://www.abload.de/img/avr2a1rx.jpg

The addon is quite CPU demanding, that could be a problem for weak pc's http://www.abload.de/img/cpuu8jr.jpg


Edit:
When zoning from Lich King room to graveyard.
Code:
Interface\AddOns\AVR\3d.lua:579: TexCoord out of range
Count: 2

Call Stack:
[C]: ?
[C]: in function `SetTexCoord'
Interface\AddOns\AVR\3d.lua:579: in function `DrawLine'
Interface\AddOns\AVR\3d.lua:607: in function `Draw3DLine'
Interface\AddOns\AVR\3d.lua:368: in function `DrawMesh'
Interface\AddOns\AVR\Scene.lua:197: in function `DrawScene'
Interface\AddOns\AVR\SceneManager.lua:154: in function `DrawScenes'
Interface\AddOns\AVR\Core.lua:156: in function `OnUpdate'
Interface\AddOns\AVR\Core.lua:203: in function <Interface\AddOns\AVR\Core.lua:203>
Last edited by dr_AllCOM3 : 03-22-10 at 12:50 PM.
Report comment to moderator  
Reply With Quote
Unread 03-22-10, 11:04 AM  
Requiescat
A Kobold Labourer

Forum posts: 0
File comments: 46
Uploads: 0
This is mind-blowingly amazing.

Cannot wait to see where this mod goes - keep working on it, really cool idea, fascinating execution :]
Report comment to moderator  
Reply With Quote
Unread 03-22-10, 02:41 PM  
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 716
File comments: 428
Uploads: 22
Is this based on Cargor's work?
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
Report comment to moderator  
Reply With Quote
Unread 03-23-10, 12:15 AM  
Saiket
A Chromatic Dragonspawn
 
Saiket's Avatar
AddOn Author - Click to view AddOns

Forum posts: 154
File comments: 330
Uploads: 9
LibCamera-1.0

Would you be willing to use LibCamera-1.0 to pull in camera data? I've been keeping it up-to-date with fixes for as many anomalies as I can find, including cases like upside-down cameras. It also avoids overwriting custom camera views. Keeping the updating logic in a library should help performance when more than one mod is scraping camera CVars at the same time too.

It has a simple AceEvent message API, or you can call its getters per frame with no performance hit.
Report comment to moderator  
Reply With Quote
Unread 03-23-10, 01:23 AM  
Olog
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 16
Uploads: 1
Re: LibCamera-1.0

@Saiket
Sounds good, will have to see how that works. I have the normal cases covered. Problems mostly with vehicles, and moving platforms such as the gunships in Icecrown raid and possibly others I don't even know about.

@nightcracker
No, I have no idea what Cargor's been up to.

@dr_AllCOM3
Thanks for the bug report, will try to fix that.

Yes it is quite cpu demanding, but not really unreasonably so. If you compare it with other things out of combat it'll likely be way more than anything else since others are using so little cpu but AVR is doing exactly same as it always does. However in combat in a raid environment, unless you have an obscene amount of visible marks I find it to be pretty much same as combat log parsers or unit frames.
Last edited by Olog : 03-23-10 at 01:29 AM.
Report comment to moderator  
Reply With Quote
Unread 03-23-10, 12:36 PM  
Saiket
A Chromatic Dragonspawn
 
Saiket's Avatar
AddOn Author - Click to view AddOns

Forum posts: 154
File comments: 330
Uploads: 9
Re: Re: LibCamera-1.0

Originally posted by Olog
@Saiket
Sounds good, will have to see how that works. I have the normal cases covered. Problems mostly with vehicles, and moving platforms such as the gunships in Icecrown raid and possibly others I don't even know about
I'll see if the vehicle bugs are solvable in LibCamera, but transports currently aren't as far as I know.

One issue to report: Calls to SetTexCoord need their arguments bounded between [-10000,10000] or else it throws "TexCoord out of range" errors. I drew a huge oval (max radius/x-scale) and got that error when trying to view it.
Report comment to moderator  
Reply With Quote
Unread 03-26-10, 05:14 PM  
domoaligato
A Murloc Raider

Forum posts: 5
File comments: 6
Uploads: 0
does everyone in my raid have to have the addon for this to work?

Does everyone in my raid have to have the addon for this to work?

can a range circle follow me around the raid or does it have to be redrawn?

If so could this be macro'd?
Last edited by domoaligato : 03-26-10 at 05:21 PM.
Report comment to moderator  
Reply With Quote
Unread 03-27-10, 02:59 AM  
Olog
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 16
Uploads: 1
Re: does everyone in my raid have to have the addon for this to work?

Anyone you want to share your drawings with need to have it installed. All other features work even if you're the only one having it.

You can set any mesh to follow you (or anyone else in raid). So you only need to make once.
Report comment to moderator  
Reply With Quote
Unread 03-27-10, 08:47 AM  
dr_AllCOM3
A Cyclonian
 
dr_AllCOM3's Avatar
AddOn Author - Click to view AddOns

Forum posts: 40
File comments: 275
Uploads: 11
The camera bumping into a wall is very annoying for this addon. On some bosses it's unavoidable.
Report comment to moderator  
Reply With Quote
Unread 03-27-10, 02:39 PM  
bkc501
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
So far I really like what ive tinkered with, going to have to try it out in raid tomorrow. However is there any chance we could get boss mod plugins for DBM? currently only one person in our guild runs bigwigs.

Also does everyone running avr have to have bigwigs to get the benefit or can everyone take advantage with just one person running bigwigs?

finally, how do you pop it out of the pen/doodle part? i tried clicking the pen again and it didn't get out of it, only exiting or putting down a circle/something seems to stop it
Last edited by bkc501 : 03-27-10 at 04:10 PM.
Report comment to moderator  
Reply With Quote
Unread 03-28-10, 01:01 AM  
Olog
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 16
Uploads: 1
I posted information about boss mods things on DBM or DXE here. Basically, unless someone else is doing it (authors of those mods maybe), you probably won't see it in a while.

AVR doesn't send anything between players unless you explicitly click the send button in sharing. So yes anyone who wants to have the boss mods part working needs to have BigWigs installed.

Right clicking on the world stops drawing. I'll probably make it so that clicking the pen button again does same as that seems quite intuitive.
Report comment to moderator  
Reply With Quote
Unread 03-28-10, 01:01 AM  
Caldwhyn
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Edit: was too slow, already answered.

Still a nice addon though
Last edited by Caldwhyn : 03-28-10 at 01:02 AM.
Report comment to moderator  
Reply With Quote
Unread 03-29-10, 12:32 PM  
Julith
A Deviate Faerie Dragon
 
Julith's Avatar
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 34
Uploads: 8
*Bows really low*

Nice idea. Clean implementation using 3D-know how. Respect!
Report comment to moderator  
Reply With Quote
Unread 03-30-10, 08:03 AM  
Kips
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 15
Uploads: 3
Originally posted by Olog
I posted information about boss mods things on DBM or DXE here. Basically, unless someone else is doing it (authors of those mods maybe), you probably won't see it in a while.

AVR doesn't send anything between players unless you explicitly click the send button in sharing. So yes anyone who wants to have the boss mods part working needs to have BigWigs installed.

Right clicking on the world stops drawing. I'll probably make it so that clicking the pen button again does same as that seems quite intuitive.
For DXE you need to hook the functions creating warnings using AceHook or similar and insert your AVR stuff in there ex.

Code:
<<Snip>>

AVR_DXE = LibStub("AceAddon-3.0"):NewAddon("AVR_DXE", "AceConsole-3.0", "AceEvent-3.0", "AceHook-3.0", "AceTimer-3.0")
local alerts = DXE:GetModule("Alerts")
if not alerts then return end
local L,SN,ST = DXE.L,DXE.SN,DXE.ST

self.alerts = {
   [format(L.alert["%s Duration"],SN[71221])] = "Stuff to happen during spores", --Festergut Spores
}

local function Simple(_, text, ...)
      alert = AVR_DXE.alerts[tostring(text)]
      	
      if alert ~= nil then
          --AVR Code Here (alert being defined by the text passed by DXE)
      end
end

AVR_DXE:Hook(alerts, "Simple", Simple)

<<Snip>>
Something like that should work.
Last edited by Kips : 03-30-10 at 08:05 AM.
Report comment to moderator  
Reply With Quote
Unread 03-31-10, 02:53 PM  
Somberland
A Murloc Raider

Forum posts: 4
File comments: 8
Uploads: 0
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: