WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Graphics Help (https://www.wowinterface.com/forums/forumdisplay.php?f=14)
-   -   Weird texture on minimap during objectives (https://www.wowinterface.com/forums/showthread.php?t=52993)

Nonus 12-24-15 01:55 AM

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?

SDPhantom 12-24-15 02:31 AM

The objective "blobs" are part of the minimap rendering and not a texture we can modify.

Nonus 12-24-15 03:15 AM

Oh man.. Thanks for the info :)

p3lim 12-24-15 03:15 AM

Quote:

Originally Posted by SDPhantom (Post 312343)
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()

Nonus 12-24-15 03:58 AM

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.

lightspark 12-24-15 04:19 AM

Quote:

Originally Posted by Nonus (Post 312346)
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.

Nonus 12-24-15 04:31 AM

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?

lightspark 12-24-15 04:49 AM

Quote:

Originally Posted by Nonus (Post 312348)
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.

Nonus 12-24-15 04:51 AM

Thanks a lot! Happy holidays!

lightspark 12-24-15 04:54 AM

Quote:

Originally Posted by Nonus (Post 312350)
Thanks a lot! Happy holidays!

Sure! You too! :banana:

SDPhantom 12-24-15 12:04 PM

Quote:

Originally Posted by p3lim (Post 312345)
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. :rolleyes:

semlar 12-24-15 01:34 PM

Quote:

Originally Posted by SDPhantom (Post 312353)
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.

SDPhantom 12-25-15 03:29 AM

Exactly what I said with little more detail.


All times are GMT -6. The time now is 03:44 PM.

vBulletin © 2020, Jelsoft Enterprises Ltd
© 2004 - 2020 MMOUI