Home Technical Talk

[MaxScript] Rotate Viewport

polycounter lvl 14
Offline / Send Message
miauu polycounter lvl 14
I wrote this script for fun.
[ame="http://www.youtube.com/watch?v=f2aJqHeMpcc"]Watch the video to see what it does.[/ame]

Special thanks to Denis Trofimov, from CGTalk, for providing the list with "actionMan" commands.

Download

Replies

  • Funky Bunnies
    Offline / Send Message
    Funky Bunnies polycounter lvl 17
    whoa! haha I had no idea this was possible :D
    really cool miauu!

    and wow thanks for those action commands, those will come in super useful :)
  • haiddasalami
    Offline / Send Message
    haiddasalami polycounter lvl 14
    Quick question miauu, is it possible to modify this to make max's navigation more like Maya (alt left to orbit etc)?
  • miauu
    Offline / Send Message
    miauu polycounter lvl 14
    Yep, funny. :)

    With relation with this thread - the video was recorded in max2013, but the viewport performance in max2009 is much much better. Anyone can test. :)


    haiddasalami - no, it is not possible. You have to use max2013, where you can set the navigation as it is in Maya.
  • LoTekK
    Offline / Send Message
    LoTekK polycounter lvl 17
    Nice one, miauu. You can get much more control over the viewport, though, with the Viewport struct. The only caveat is that they're a bit trickier to set up properly. The more pertinent ones in this case would be:

    viewport.pan x y
    viewport.rotate quatRotation center: point3

    haiddasalami:
    I'd imagine it'd be academically possible with a C++ plugin, but I don't have much experience with that, so I could be mistaken.
  • haiddasalami
    Offline / Send Message
    haiddasalami polycounter lvl 14
    LoTekK wrote: »
    haiddasalami:
    I'd imagine it'd be academically possible with a C++ plugin, but I don't have much experience with that, so I could be mistaken.

    ah thanks Lotekk! Don't have access to 2013 and my fingers hurt as hell from pressing the middle mouse button haha. Also nice stuff miauu!
  • coldside
    Offline / Send Message
    coldside polycounter lvl 10
    ah thanks Lotekk! Don't have access to 2013 and my fingers hurt as hell from pressing the middle mouse button haha. Also nice stuff miauu!

    dRaster Switcher works great. Been using it for the last 4-5 years and has never let me down. Actually, I'm hoping they update it to support 2013 because it works much better than 2013's Maya mode.
  • haiddasalami
    Offline / Send Message
    haiddasalami polycounter lvl 14
    coldside wrote: »
    dRaster Switcher works great. Been using it for the last 4-5 years and has never let me down. Actually, I'm hoping they update it to support 2013 because it works much better than 2013's Maya mode.

    Yeah I just didnt want to pay for it haha. Sorry for de-railing the thread miauu.
Sign In or Register to comment.