User Tag List

Page 41 of 57 FirstFirst ... 31 39 40 41 42 43 51 ... LastLast
Results 401 to 410 of 570

Thread: Surface Object

  1. #401
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)
    Oh, sorry, I didn't answer all of your questions -- Yes, in HWA, the frame redraws completely every time. There's no way to preserve any data.

  2. #402
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,537
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Humm I was just thinking, in HWA you can pull the background surface while the frame is redrawing before shaders are composited on the frame by any object using the background register. Is it plausible an extension could grab this texture from the DX9 pipeline and save it to a buffer? I mean using pixel shaders, you can use the <backgroundtexture> parameter and it will send the background to (s1), but this texture is the compiled-in-order one thats being assembled in MMF2. If you had an object as large as your entire window, and pulled the background texture, it should be the entire frame, with everything behind it rendered and nothing in front of it (or the frame's effects).

    I could easily pass this texture to the surface object via pixel shader, but it would be volatile and disappear after the first frame, I don't know any way to save data in a pixel shader
    Just thinking hypothetically

  3. #403
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)
    No idea, sounds unlikely. It's not like you really get to do anything in Direct3D at all, all you get are 2 or 3 new image buffer types that represent textures etc. - you can't actually draw anything via Direct3D, except with an overriden Blit() function that also allows rotation and scaling... I could send Yves a PM about this, I guess. I presume that it's not possible with the current runtime though.

  4. #404
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,537
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    The trickiness I see is that even if you could have a function to pull the texture from memory when its assembled, it wouldn't work through the editor interface anyway, since the texture is only composited at the end of each event eval loop, and before or after then all you can see is the fully drawn frame. So anything would have to be interjecting itself in the dx9 pipeline, which almost certainly isn't possible via the mmf2 extension architecture, it would have to be hard coded. The only way I could see it working is if there was some way to export a texture from DX9 back to MMF2 outside of the normal pipeline, and you definitely can't do that via a pixel shader

    And its not worth the effort, I was just a little curious since it could extend a function of my engine. I'm just writing a fade transition from level to level, and I can do it by saving the frame to a surface and applying a pixel shader that fades out the alpha in all sorts of fancy ways. The problem is that my game uses a shader to rotate the full frame's display, and even if I wanted to pull the rotated display, rotate it back in the surface, and have it rotated via shader when drawn, besides the lossy artifacts from 3x rotations it would be potentially missing the corners on the display because of the whole circle-circumscribed-within-a-square thing repeated twice

    But like I was saying, its not a big issue since I can work around it by just ensuring all the level changes that use that transition take place from Angle = 0 to Angle = 0, or maybe even equal angles.

  5. #405
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)
    Alright. I can see what you mean though. I really hope MMF3's SDK will be much, much more open. Since HWA will be the default runtime for MMF3, we should easily be able to mess with any texture or shader etc. so that complex graphical effects can be written.

  6. #406
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleMac Export Module

    Join Date
    Sep 2006
    Location
    UK
    Posts
    842
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For some reason with the currten version, when ever i try to "save file" it crashes my app?

    Anyone else experiencing this?

    Thanks
    Andy

  7. #407
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)
    Thanks for finding. I added Unicode support ages ago, when I still didn't know how to do it properly. Mixed up header files and confusions led to me linking to wrong functions, causing any File IO related stuff not to function properly

    Update:
    * Fix file saving / Unicode support
    * Allow floating-point angles in HWA version
    http://clickteam.info/looki/Extensio...Surface1.5.zip

  8. #408
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,729
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Looki View Post
    Thanks for finding. I added Unicode support ages ago, when I still didn't know how to do it properly. Mixed up header files and confusions led to me linking to wrong functions, causing any File IO related stuff not to function properly

    Update:
    * Fix file saving / Unicode support
    * Allow floating-point angles in HWA version
    http://clickteam.info/looki/Extensions/Surface1.5.zip
    I get "Page Not Found" for your link.

    Thanks,
    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  9. #409
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)
    Ah, thank you Marv! I always write down the URL by hand and don't check it. I guess I should start actually checking if it's the right one...

    http://clickteam.info/looki/Extensio...Surface1.5.zip

  10. #410
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,729
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Thanks for your work Looki.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

Page 41 of 57 FirstFirst ... 31 39 40 41 42 43 51 ... LastLast

Similar Threads

  1. Surface Object Help
    By Hydra in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 2nd February 2017, 01:42 PM
  2. Help with: Surface Object ?
    By Alon Dan in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 3rd January 2014, 10:42 AM
  3. Surface Object
    By harrysgames in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 23rd February 2012, 02:37 PM
  4. Surface object
    By Looki in forum Released Extensions
    Replies: 4
    Last Post: 18th October 2010, 01:38 AM
  5. Surface Object
    By imothep85 in forum Multimedia Fusion 2 - Technical Support
    Replies: 16
    Last Post: 2nd October 2010, 06:24 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
  •