User Tag List

Page 3 of 4 FirstFirst 1 2 3 4 LastLast
Results 21 to 30 of 34

Thread: New 3d Perspective Shader

  1. #21
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLC

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,553
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    This should hopefully be the final version now.
    I'm sure there's plenty of room for optimisation, but I think it's good enough.

    Download: https://1drv.ms/u/s!Atq7cUIJ7uextFqt...atKIr?e=8VOp44 (version 1.3)

  2. #22
    Forum Moderator Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleFirefly 3D ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Mac Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    NaitorStudios's Avatar
    Join Date
    May 2010
    Location
    Brazil
    Posts
    1,606
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Hey! Here's my DX11 port, just a note for people downloading:
    DX9 version up above had a small issue in the backside equation which wasn't an issue on DX11.
    Took me a bit to figure out the cause but I've fixed that
    So this includes DX9 version as well with the fix.
    Attached files Attached files

  3. #23
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleFirefly 3D ModuleInstall Creator Pro
    aenever's Avatar
    Join Date
    Jun 2013
    Posts
    1,691
    Mentioned
    34 Post(s)
    Tagged
    0 Thread(s)
    Wow this is really cool, thank you for sharing!

  4. #24
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLC

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,553
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    Cheers!
    This is just yet another minor update, allowing for both sides of the object to be animated, in case anyone wants to do that...

    Download: https://1drv.ms/u/s!Atq7cUIJ7uextFvN...9JRdI?e=vWFsIL (version 1.4)


  5. #25
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleFirefly 3D ModuleInstall Creator Pro
    aenever's Avatar
    Join Date
    Jun 2013
    Posts
    1,691
    Mentioned
    34 Post(s)
    Tagged
    0 Thread(s)
    You must be a mind reader, I was going to ask if it could be animated. Very clever idea, thank you.

  6. #26
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module
    CapitaineCaverne's Avatar
    Join Date
    Feb 2011
    Location
    Bretigny sur Orge
    Posts
    577
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    haou énorme Merci.
    huge thank you

  7. #27
    Forum Moderator Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleFirefly 3D ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Mac Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    NaitorStudios's Avatar
    Join Date
    May 2010
    Location
    Brazil
    Posts
    1,606
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by aenever View Post
    You must be a mind reader, I was going to ask if it could be animated. Very clever idea, thank you.
    I actually talked about having a fixed backside texture would make harder for animated backside, which should be useful in something like Paper Mario for example

    Either way, here it is, my port of version 1.4 to DX11, I'll eventually port all of these to all runtimes just so people can enjoy it everywhere!
    Heard there might be a final version with two alternatives, with and without lighting, to improve performance, which might be interesting for other runtimes.
    Attached files Attached files

  8. #28
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLC

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,553
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    Yep, that was NaitorStudio's suggestion.
    Since we're now talking about more diverse use-cases, such Paper Mario, it begs the question: Do we need three degrees of freedom?
    Right now, we can only rotate the card on the X and Y axes, but it would be trivial to allow rotation on the Z axis as well, if that's something people might use?
    I know you could use the standard CF2.5 "angle" property, but that would effectively rotate the object on the Z axis after rotating on the X and Y axes, whereas it would probably be preferable to rotate on the Z axis first.
    Possibly also the option to mirror both faces, so you wouldn't need separate left/right walking animations?

    Anyway, for now, here's another edit. As NaitorStudios alluded to, it now comes in two flavours:
    1.5a (advanced) - works the same as 1.4, but the code is more streamlined.
    1.5b (basic) - as above, but doesn't include the lighting effect or the option to use an image parameter for the reverse side.

    I've also included an .mfa file which demonstrates how to replicate the lighting effect in the basic version, using CF2.5 events instead, which I believe ought to be more efficient (especially on larger objects).

    Download: https://1drv.ms/u/s!Atq7cUIJ7uextF3l...8kzPE?e=kcTxtO (versions 1.5a & 1.5b)

  9. #29
    Forum Moderator Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleFirefly 3D ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Mac Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    NaitorStudios's Avatar
    Join Date
    May 2010
    Location
    Brazil
    Posts
    1,606
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Fantastic!
    Yeah, some people may find use for a Z rotation, I see that you have leaved the function there in case anyone need
    As usual, here's my ports.

    Edit: updated file, there was a slightly lighting issue on DX11 because of a float modulus that didn't happened on previous versions.
    Edit²: Changed modulus operation to uint intead of forcing no warning, should improve performance a bit.
    Attached files Attached files

  10. #30
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleFirefly 3D Module
    tobydavis's Avatar
    Join Date
    Apr 2019
    Location
    United States
    Posts
    95
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    This looks awesome! This could work great for games where you inspect notes and stuff like that.

Page 3 of 4 FirstFirst 1 2 3 4 LastLast

Similar Threads

  1. Is there a shader likes the Perspective obj ?
    By callofAS in forum Fusion 2.5
    Replies: 2
    Last Post: 8th June 2020, 09:28 PM
  2. Replies: 0
    Last Post: 18th October 2018, 06:07 AM
  3. Replies: 0
    Last Post: 7th October 2016, 04:07 AM
  4. Perspective shader issue - incorrect distortion
    By Ramses in forum Shader Development
    Replies: 5
    Last Post: 11th August 2016, 07:23 PM
  5. looking for offset shader, underwater shader, etc
    By neorocker7 in forum Fusion 2.5
    Replies: 9
    Last Post: 18th May 2015, 02:03 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
  •