Any function to get mouse cursor depth in 3D ? menu

User Tag List

Results 1 to 12 of 12
  1. #1
    rizosha's Avatar Private
    Reputation
    1
    Join Date
    Feb 2011
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Any function to get mouse cursor depth in 3D ?

    Hi all!

    I'm running WoW in 3D and I set mouse in software mode so the mouse pointer is also in 3D.

    My problem is:

    I'm running a WoW addon that changes the default location for the tooltip to the mouse cursor but it doesn't have into account the depth of the mouse cursor. So I'm rewriting addon code to set the Tooltip depth everytime it updates. I really know how to set depth in any UI Frame (with the setdepth LUA function) but I can't find any way to get the mouse cursor depth.

    So my question is:

    Is there any way to get the depth of the mouse cursor or at least the depth of a Unit ? I'm not asking for a LUA function (I know there is no one) but for a "private" function into the WoW's executable dump.

    I'm not an English-native so I apologize if there are mistakes in this text :-P

    Any function to get mouse cursor depth in 3D ?
  2. #2
    jackus's Avatar Active Member
    Reputation
    58
    Join Date
    Aug 2006
    Posts
    802
    Thanks G/R
    1/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is wow a 2D platform game? O_o I have never!!

    BTW wrong place.

  3. #3
    !@^^@!'s Avatar Active Member
    Reputation
    23
    Join Date
    Feb 2007
    Posts
    155
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by jackus View Post
    I'm in the wrong place.
    Fixed

    Ontopic: sorry can't help you there...
    “Programmers are in a race with the Universe to create bigger and better idiot-proof programs, while the Universe is trying to create bigger and better idiots. So far the Universe is winning.” - Rich Cook

  4. #4
    rizosha's Avatar Private
    Reputation
    1
    Join Date
    Feb 2011
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by jackus View Post
    Is wow a 2D platform game? O_o I have never!!

    BTW wrong place.
    I don't think you have read my post carefully to understand I was talking about 3D Vision. It's obvious if you really know the term "depth" and the 3D vision function "setdepth" I have mentioned in my post.

    I don't like people just being ironic instead of trying to resolve problems other ppl have.

    And I don't think my post is in a wrong place because I'm asking for a "hide" function in the WoW executable dump.

  5. #5
    namreeb's Avatar Legendary

    Reputation
    658
    Join Date
    Sep 2008
    Posts
    1,023
    Thanks G/R
    7/215
    Trade Feedback
    0 (0%)
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    It's not in the wrong place. Have you considered looking at traceline?

  6. #6
    !@^^@!'s Avatar Active Member
    Reputation
    23
    Join Date
    Feb 2007
    Posts
    155
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Namereeb and everyone else that might have missunderstood him, he's talking about stereoscopic 3d and how to set the depth of the mouse cursor
    “Programmers are in a race with the Universe to create bigger and better idiot-proof programs, while the Universe is trying to create bigger and better idiots. So far the Universe is winning.” - Rich Cook

  7. #7
    rizosha's Avatar Private
    Reputation
    1
    Join Date
    Feb 2011
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by !@^^@! View Post
    Namereeb and everyone else that might have missunderstood him, he's talking about stereoscopic 3d and how to set the depth of the mouse cursor
    Correct! But I'm asking for how to GET the depth of the mouse cursor or at least of a Unit. Maybe the depth mouse cursor is stored in any memory offset?

  8. #8
    schlumpf's Avatar Retired Noggit Developer

    Reputation
    755
    Join Date
    Nov 2006
    Posts
    2,759
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The mouse being a two dimensional object on top of a 3d space would lead me to the conclusion of being on zmax with all other objects having z < zmax. It actually should require to be on the same z as the rest of the ui. Also: Doesn't setdepth only set the rendering order? Does it actually modify z values? I guess not. Also, there is no need to implement any possibility of changing it from that default as you can't move the mouse in three but only two dimensions. Ergo, no depth is needed and its drawn together with other objects / ui having this property.

  9. #9
    Jailbait101's Avatar Private
    Reputation
    1
    Join Date
    Jan 2011
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Isnt the 3D view just an optical illusion? Perhaps calculating the object distance and increasing/decreasing the tooltip window scale accordingly will create the effect you're looking for?
    Or maybe I'm just misunderstanding what you're trying to achieve..
    Last edited by Jailbait101; 02-19-2011 at 03:47 PM.

  10. #10
    rizosha's Avatar Private
    Reputation
    1
    Join Date
    Feb 2011
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    As I said before cursor is a three-dimensional object if you configure it in the game options and set it in software mode (instead of hardware mode).

    Depth in 3D vision is a measure of how long is the distance between the left and right images.


    I'm afraid not many people here playing in 3D so I think my question is hard to resolve...

    Nevertheless, I want to thank all the answers you gave me
    Last edited by rizosha; 02-19-2011 at 04:00 PM.

  11. #11
    !@^^@!'s Avatar Active Member
    Reputation
    23
    Join Date
    Feb 2007
    Posts
    155
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think you might be better off explaining this in the official tech support or addon forum for WoW because it kinda sounds like a bug to me but then again i'm not entirly sure what you're trying to achieve and what the addon is doing...
    “Programmers are in a race with the Universe to create bigger and better idiot-proof programs, while the Universe is trying to create bigger and better idiots. So far the Universe is winning.” - Rich Cook

  12. #12
    miceiken's Avatar Contributor Authenticator enabled
    Reputation
    208
    Join Date
    Dec 2007
    Posts
    401
    Thanks G/R
    7/8
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Imagine doing some AOE thing that requires a terrain click, you can move it along the terrain. I think it's something like that he means?

Similar Threads

  1. Replies: 5
    Last Post: 07-28-2008, 06:26 PM
  2. Any way to get an account perma banned easily?
    By Kaji in forum WoW Scams Help
    Replies: 2
    Last Post: 07-18-2008, 01:19 AM
  3. Any way to get past rapidshare DL limit?
    By hayes712 in forum Community Chat
    Replies: 2
    Last Post: 06-01-2008, 12:41 PM
  4. i was ip banned from a emu server, any way to get around this?
    By pandasoup12 in forum World of Warcraft Emulator Servers
    Replies: 13
    Last Post: 12-04-2007, 11:53 AM
  5. Any way to get out of a 72 hour ban before it expires?
    By tuck28 in forum World of Warcraft General
    Replies: 10
    Last Post: 03-06-2007, 03:13 AM
All times are GMT -5. The time now is 09:18 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search