User Tag List

Results 1 to 8 of 8

Thread: DirectX D3D object in an extension?

  1. #1
    Clicker

    Fusion 2.5 (Steam)Fusion 2.5+ DLC (Steam)

    Join Date
    Jan 2021
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    DirectX D3D object in an extension?

    Is it possible to get the D3D context in a custom extension so we can run some third party code against it?

    Thanks!

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jan 2016
    Posts
    429
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by airways View Post
    Is it possible to get the D3D context in a custom extension so we can run some third party code against it?

    Thanks!
    there is no d3d context - firefly is a bridge to the irrlicht engine. any code you want to try can be tried against irrlicht. although im not sure you can apply it in fusion due to irrlicht being a dll. so you would have to use a different dll and then lose the extra things firefly added.

    not sure if CLICKTEAM will allow me to release the irrlicht source for the dll. although i see no reason why they shouldnt.

  3. #3
    Clicker

    Fusion 2.5 (Steam)Fusion 2.5+ DLC (Steam)

    Join Date
    Jan 2021
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If it uses DirectX there is a D3D context somewhere, no?

    Maybe a better question would be is there a way to get the Irrlicht device and other objects?

    Basically what I'd like to do is integrate Dear ImGui or Irrlicht's own GUI into my programs. So, another way of putting it is, is there any way to do this in an extension: https://irrlicht.sourceforge.io/docu/example005.html

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jan 2016
    Posts
    429
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by airways View Post
    If it uses DirectX there is a D3D context somewhere, no?

    Maybe a better question would be is there a way to get the Irrlicht device and other objects?

    Basically what I'd like to do is integrate Dear ImGui or Irrlicht's own GUI into my programs. So, another way of putting it is, is there any way to do this in an extension: https://irrlicht.sourceforge.io/docu/example005.html
    we never did the gui part as we assumed people would use fusions ui.

    its possible i could create a new bolt on bridge for the ui part as its already in irrlicht ( i doubt i would do the dear imgui though). just not sure if it would be worth the effort for the limited usage.

  5. #5
    Clicker

    Fusion 2.5 (Steam)Fusion 2.5+ DLC (Steam)

    Join Date
    Jan 2021
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I guess I'm not really expecting all that, just hoping there's a way for me to do some of my own more advanced things on the engine. Is the fixed value of the engine a pointer to the Irrlicht device or some other structure I could use to get the device pointer from?

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jan 2016
    Posts
    429
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by airways View Post
    I guess I'm not really expecting all that, just hoping there's a way for me to do some of my own more advanced things on the engine. Is the fixed value of the engine a pointer to the Irrlicht device or some other structure I could use to get the device pointer from?
    dont think we ever make the device public cant see any calls to a getdevice either

  7. #7
    Clicker

    Fusion 2.5 (Steam)Fusion 2.5+ DLC (Steam)

    Join Date
    Jan 2021
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Are there any calls like this? I think you have to do this to start the engine, correct?

    IrrlichtDevice * device = createDevice(driverType, core::dimension2d<u32>(640, 480));

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jan 2016
    Posts
    429
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by airways View Post
    Are there any calls like this? I think you have to do this to start the engine, correct?

    IrrlichtDevice * device = createDevice(driverType, core::dimension2d<u32>(640, 480));
    yep but inside firefly and not accessible

Similar Threads

  1. Replies: 4
    Last Post: 4th September 2020, 04:10 PM
  2. SWF et DirectX ?
    By Patrice in forum SWF/Flash Export Module Version 2.0
    Replies: 10
    Last Post: 22nd April 2011, 02:44 AM
  3. Standard vs. DirectX vs. DirectX+VRAM
    By The_Geohound in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 31st January 2011, 09:25 AM
  4. Displaying duration of a directx object.
    By Nickydude in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 6th July 2008, 11:59 PM
  5. Get DirectX version ...
    By Brankman in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 12th December 2006, 03:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •