Home Technical Talk

perspective in max vports

polycounter lvl 18
Offline / Send Message
Rhinokey polycounter lvl 18
i prefer working with a higher perspective setting than the 45 max normaly uses so i have to go into veiwport pref an set it up higher,, usualy 60-70 but i have to do this everytime i open max,, is there a ini or anything that would have this setting in it?

Replies

  • Piflik
    Offline / Send Message
    Piflik polycounter lvl 12
    Create a MaxStart.max file. This will be loaded automatically whenever Max ist started and you can save all kinds of settings there.
  • Joshua Stubbles
    Offline / Send Message
    Joshua Stubbles polycounter lvl 19
    That works as a starting base, but max likes to reset the viewport value if you switch the view. I only use one viewport and switch to whatever view I need at the time. So if I'm using 65 FOV in perspective and switch to Left view to change one thing and go back to perspective, the FOV resets to 45. Kind of lame.
  • Piflik
    Offline / Send Message
    Piflik polycounter lvl 12
    Vassago wrote: »
    That works as a starting base, but max likes to reset the viewport value if you switch the view. I only use one viewport and switch to whatever view I need at the time. So if I'm using 65 FOV in perspective and switch to Left view to change one thing and go back to perspective, the FOV resets to 45. Kind of lame.

    That isa Max2010 exclusive problem, since it doesn'use different Views by default, but converts one to the other...Max 2010 sucks in that regard...earlier versions of Max keep the FoV setting (unless of course you convert the perspective view into an orthografic one...).
  • Joshua Stubbles
    Offline / Send Message
    Joshua Stubbles polycounter lvl 19
    That's poopy, pif. Anyone know a way to fix it in 2010? I has ur babies :D
  • Piflik
    Offline / Send Message
    Piflik polycounter lvl 12
    Script it ;)

    I wrote a simple Set of Macros to store and restore viewport-positions (specifically for 2010, though I use it with 2008, since it stores all views, not only four...not the Shading-Mode, though)...just a little alteration to store the FoV...there...no guarantees...not tested ;)
    Macroscript P_Top_View
    Category: "Piflik's Tools"
    
    (
    actionMan.executeAction 0 "40227" 
    if viewport.IsPerspView() do Cur_FoV = view.GetFov()
    viewport.setType #view_top
    try(actionMan.executeAction 0 "40228") catch()
    )
    
    Macroscript P_Bottom_View
    Category: "Piflik's Tools"
    
    (
    actionMan.executeAction 0 "40227" 
    if viewport.IsPerspView() do Cur_FoV = view.GetFov()
    viewport.setType #view_bottom
    try(actionMan.executeAction 0 "40228") catch()
    )
    
    Macroscript P_Right_View
    Category: "Piflik's Tools"
    
    (
    actionMan.executeAction 0 "40227" 
    if viewport.IsPerspView() do Cur_FoV = view.GetFov()
    viewport.setType #view_right
    try(actionMan.executeAction 0 "40228") catch()
    )
    
    Macroscript P_Left_View
    Category: "Piflik's Tools"
    
    (
    actionMan.executeAction 0 "40227" 
    if viewport.IsPerspView() do Cur_FoV = view.GetFov()
    viewport.setType #view_left
    try(actionMan.executeAction 0 "40228") catch()
    )
    
    Macroscript P_Front_View
    Category: "Piflik's Tools"
    
    (
    actionMan.executeAction 0 "40227" 
    if viewport.IsPerspView() do Cur_FoV = view.GetFov()
    viewport.setType #view_front
    try(actionMan.executeAction 0 "40228") catch()
    )
    
    Macroscript P_Back_View
    Category: "Piflik's Tools"
    
    (
    actionMan.executeAction 0 "40227" 
    if viewport.IsPerspView() do Cur_FoV = view.GetFov()
    viewport.setType #view_back
    try(actionMan.executeAction 0 "40228") catch()
    )
    
    Macroscript P_Perspective_View
    Category: "Piflik's Tools"
    
    (
    actionMan.executeAction 0 "40227" 
    viewport.setType #view_persp_user
    try(actionMan.executeAction 0 "40228") catch()
    view.SetFoV Cur_FoV
    )
    
    Macroscript P_User_View
    Category: "Piflik's Tools"
    
    (
    actionMan.executeAction 0 "40227" 
    if viewport.IsPerspView() do Cur_FoV = view.GetFov()
    viewport.setType #view_iso_user
    try(actionMan.executeAction 0 "40228") catch()
    )
    
    Macroscript P_Camera_View
    Category: "Piflik's Tools"
    
    (
    actionMan.executeAction 0 "40227" 
    if viewport.IsPerspView() do Cur_FoV = view.GetFov()
    viewport.setType #view_camera
    try(actionMan.executeAction 0 "40228") catch()
    )
    
    Macroscript P_Spot_View
    Category: "Piflik's Tools"
    
    (
    actionMan.executeAction 0 "40227" 
    if viewport.IsPerspView() do Cur_FoV = view.GetFov()
    viewport.setType #view_spot
    try(actionMan.executeAction 0 "40228") catch()
    )
    
    Macroscript P_Shape_View
    Category: "Piflik's Tools"
    
    (
    actionMan.executeAction 0 "40227" 
    if viewport.IsPerspView() do Cur_FoV = view.GetFov()
    viewport.setType #view_shape
    try(actionMan.executeAction 0 "40228") catch()
    )
    
    Macroscript P_Grid_View
    Category: "Piflik's Tools"
    
    (
    actionMan.executeAction 0 "40227" 
    if viewport.IsPerspView() do Cur_FoV = view.GetFov()
    viewport.setType #view_grid
    try(actionMan.executeAction 0 "40228") catch()
    )
    
  • Joshua Stubbles
    Offline / Send Message
    Joshua Stubbles polycounter lvl 19
    I'll have to check that out in a bit plif, thanks!
  • Eric Chadwick
  • Derelict-
    Offline / Send Message
    Derelict- polycounter lvl 17
    I'm having this same issue in Max 2008. I need my FOV around 5 and it keeps resetting to 45 if I zoom into a face, making the models dissapear. This script works for max 08? If so what Fov is it set to?
Sign In or Register to comment.