Thread Tools Display Modes
12-24-15, 01:55 AM   #1
Nonus
A Deviate Faerie Dragon
 
Nonus's Avatar
Join Date: Aug 2011
Posts: 10
Weird texture on minimap during objectives

Hello there, im running my own version of qMinimap and these rounded-minimap textures appear every time there is an objective area on the minimap: https://i.imgur.com/XkHpbhJ.png

Any idea of how i could hide this texture or modify it so it fits a square minimap if its needed?
  Reply With Quote
12-24-15, 02:31 AM   #2
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
The objective "blobs" are part of the minimap rendering and not a texture we can modify.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote
12-24-15, 03:15 AM   #3
Nonus
A Deviate Faerie Dragon
 
Nonus's Avatar
Join Date: Aug 2011
Posts: 10
Oh man.. Thanks for the info
  Reply With Quote
12-24-15, 03:15 AM   #4
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Originally Posted by SDPhantom View Post
The objective "blobs" are part of the minimap rendering and not a texture we can modify.
No they're not, we can modify them.

Lua Code:
  1. Minimap:SetQuestBlobRingScalar(0)

That's the one that you're probably after, although there's also these:

Minimap:SetQuestBlobInsideAlpha()
Minimap:SetQuestBlobInsideTexture()
Minimap:SetQuestBlobOutsideAlpha()
Minimap:SetQuestBlobOutsideSelectedTexture()
Minimap:SetQuestBlobOutsideTexture()
Minimap:SetQuestBlobRingAlpha()
Minimap:SetQuestBlobRingScalar()
Minimap:SetQuestBlobRingTexture()
Minimap:SetArchBlobInsideAlpha()
Minimap:SetArchBlobInsideTexture()
Minimap:SetArchBlobOutsideAlpha()
Minimap:SetArchBlobOutsideTexture()
Minimap:SetArchBlobRingAlpha()
Minimap:SetArchBlobRingScalar()
Minimap:SetArchBlobRingTexture()

Last edited by p3lim : 12-24-15 at 03:20 AM.
  Reply With Quote
12-24-15, 03:58 AM   #5
Nonus
A Deviate Faerie Dragon
 
Nonus's Avatar
Join Date: Aug 2011
Posts: 10
p3lim to the rescue! Thanks a lot!

Quick question: Can i mass-replace the borders of the third-party icons around the minimap? Just to get a cohesive theme on the minimap.
  Reply With Quote
12-24-15, 04:19 AM   #6
lightspark
A Rage Talon Dragon Guard
 
lightspark's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2012
Posts: 341
Originally Posted by Nonus View Post
p3lim to the rescue! Thanks a lot!

Quick question: Can i mass-replace the borders of the third-party icons around the minimap? Just to get a cohesive theme on the minimap.
Well, ofc you can, but you have to write your own code to do so.
__________________
  Reply With Quote
12-24-15, 04:31 AM   #7
Nonus
A Deviate Faerie Dragon
 
Nonus's Avatar
Join Date: Aug 2011
Posts: 10
Mind pointing me to an addon that does this in any shape so i don't have to reinvent the wheel and avoid common pitfalls when replacing these textures?
  Reply With Quote
12-24-15, 04:49 AM   #8
lightspark
A Rage Talon Dragon Guard
 
lightspark's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2012
Posts: 341
Originally Posted by Nonus View Post
Mind pointing me to an addon that does this in any shape so i don't have to reinvent the wheel and avoid common pitfalls when replacing these textures?
Sure! MBF is quite well known. you can also take a look at my way of handling minimap buttons here, it's a simple recursive function, there are few commented blocks of code, that may help you to understand how it works.
__________________
  Reply With Quote
12-24-15, 04:51 AM   #9
Nonus
A Deviate Faerie Dragon
 
Nonus's Avatar
Join Date: Aug 2011
Posts: 10
Thanks a lot! Happy holidays!
  Reply With Quote
12-24-15, 04:54 AM   #10
lightspark
A Rage Talon Dragon Guard
 
lightspark's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2012
Posts: 341
Originally Posted by Nonus View Post
Thanks a lot! Happy holidays!
Sure! You too!
__________________
  Reply With Quote
12-24-15, 12:04 PM   #11
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
Originally Posted by p3lim View Post
Minimap:SetQuestBlobInsideAlpha()
Minimap:SetQuestBlobInsideTexture()
Minimap:SetQuestBlobOutsideAlpha()
Minimap:SetQuestBlobOutsideSelectedTexture()
Minimap:SetQuestBlobOutsideTexture()
Minimap:SetQuestBlobRingAlpha()
Minimap:SetQuestBlobRingScalar()
Minimap:SetQuestBlobRingTexture()
Minimap:SetArchBlobInsideAlpha()
Minimap:SetArchBlobInsideTexture()
Minimap:SetArchBlobOutsideAlpha()
Minimap:SetArchBlobOutsideTexture()
Minimap:SetArchBlobRingAlpha()
Minimap:SetArchBlobRingScalar()
Minimap:SetArchBlobRingTexture()
I had no idea any of these existed. It has been general practice for Blizzard to render everything directly on the minimap instead of creating separate texture objects. This is to prevent people from scanning tracked objects such as gathering resources or even arbitrary players in special circumstances. Still, I don't see exactly how these can modify the actual shape of the blob as the OP had suggested. I honestly don't want to spend the effort to test this case as I don't use a square minimap, so if it works, it works.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote
12-24-15, 01:34 PM   #12
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
Originally Posted by SDPhantom View Post
It has been general practice for Blizzard to render everything directly on the minimap instead of creating separate texture objects.
They aren't separate; the blobs are rendered as part of the minimap, they just have functions you can use to modify how they look.
  Reply With Quote
12-25-15, 03:29 AM   #13
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
Exactly what I said with little more detail.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote

WoWInterface » Developer Discussions » Graphics Help » Weird texture on minimap during objectives

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off