[General] Different "endScenes" ? menu

User Tag List

Results 1 to 3 of 3
  1. #1
    !@^^@!'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)

    [General] Different "endScenes" ?

    Hey I'm still working on my "little" hobby project which essentially is a generic game overlay with plugins...

    However since i'm trying to make this as generic as possibly i was wondering about which different types of "endscenes" i would run into...


    From my limited experimentation with wow bot coding i know that in DX9 we have endscene which is nice and easy to hook, however IIRC DX10 and 11 uses a different rendering interface right?


    What functions should i look into hooking for DX10 and 11?


    Also how about OpenGL? From my limited search i could find a few different suggestions like glXSwapBuffers and
    clear but aren't they used in different ways in different games?

    So what i'm really looking for is experience with this kind of generalized hooking so if you don't mind sharing your experience please go ahead :P

    I'd imagine Chyper have a good deal of experience with this considering his Hades project? Is that not right Chyper?

    Thanks in advance people

    “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

    [General] Different "endScenes" ?
  2. #2
    _Mike's Avatar Contributor
    Reputation
    310
    Join Date
    Apr 2008
    Posts
    531
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    D3D9: hook CD3DBase::EndScene
    D3D10: dunno, never tried it. But I think it's the same as D3D11
    D3D11: hook CDXGISwapChainBase<IDXGISwapChain>::Present

  3. #3
    Jens's Avatar Contributor
    Reputation
    179
    Join Date
    Sep 2006
    Posts
    251
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have not looked into OpenGL, but I do have the exact kind of framework you are talking about =)

    If you are planning to do overlays, you'll need to hook Reset in DX9 as well, in case someone alt tab or resizes the window, everything that is drawn needs to be disposed and recreated after the reset, DX10 and DX11 does away with this luckily!

    as for hooking, in DX10 and DX11 you'll need to hook Present, and ResizeTarget if you want to scale text and such, and then you can pulse all your logic inside Present.

    Also have a look here, it helped me a bunch!
    Last edited by Jens; 05-07-2011 at 09:29 AM.

Similar Threads

  1. Quotes from Steven Write
    By Amedis in forum Community Chat
    Replies: 2
    Last Post: 11-14-2022, 10:26 AM
  2. "Quotes"
    By Krazyglue in forum Community Chat
    Replies: 2
    Last Post: 11-16-2007, 09:36 PM
  3. WTB Powerleveling - Need Quotes!!
    By Drovos in forum Members Only Gold And Powerleveling Buy Sell
    Replies: 7
    Last Post: 10-14-2007, 10:26 AM
  4. Quote: For a Steam Account!
    By Obama in forum Members Only Accounts And CD Keys Buy Sell
    Replies: 0
    Last Post: 09-16-2007, 07:57 PM
  5. Funny GM quotes
    By shadowfox47 in forum World of Warcraft General
    Replies: 9
    Last Post: 08-13-2007, 07:24 PM
All times are GMT -5. The time now is 02:20 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search