Forum Groups
  All forums
    Help & Feedback
      Questions
      Work in progress
      Finished Art
      Non-Max related
    Community
      Offtopic
      News
    Hardware
    Photography


Featured Threads
  inspiration alert!!!
(37 replies)
  Indespensible MaxScripts, Plugins and 3rd Party Tools
(37 replies)
  The allmighty FREE Resources Thread !
(17 replies)
  spam alert!!!
(4886 replies)
  Maxforums member photo gallery index
(114 replies)
  Maxforums Member Tutorials
(89 replies)
  three cheers to maxforums...
(240 replies)
  101 Things you didnt know in Max...
(198 replies)
  A Face tutorial from MDB101 :D
(95 replies)
  Maxforums.org Members Gallery
(516 replies)
  SON OF POST YOURSELF
(637 replies)
  Dub's Maxscript Tutorial Index
(119 replies)

Maxunderground news unavailable

Create camera from view
show user profile  Jock
My old workflow was that i'd turn the viewport to safe frame, rotate etc to get the view I want, create a camera, then hit ctrl-c which would then give me a camera in the exact position i wanted.

For some reason, having switched to the latest max I set it all up, then when i hit ctrl-c the focal length goes haywire and what I see isnt what i get with the view changing completely. Its seems the focal length just changes at random.

Any ideas how I fix this? I'm sure it worked perfectly previously.
read 630 times
6/16/2015 3:26:35 PM (last edit: 6/16/2015 3:26:35 PM)
show user profile  3joez
Check what Fov your viewport is with
viewport.getFov()

if it's something too high or too low, take it back to default 45 with

viewportsetFov 45.0

The camera will inherit this parameter.
So only now, that the fov is set again, create the camera with ctrl-c.
read 612 times
6/16/2015 4:28:13 PM (last edit: 6/16/2015 4:31:16 PM)
show user profile  Jock
Thanks very much, that worked a treat!
read 604 times
6/16/2015 5:08:20 PM (last edit: 6/16/2015 5:08:20 PM)
show user profile  khamski
Aand it can't be done in the "Viewport configuration"


read 572 times
6/17/2015 8:19:27 PM (last edit: 6/17/2015 8:19:27 PM)
show user profile  Darius
Okay,I wan know that how you people create a v-ray camera from view....... Can tell me la?
I mean can tell me the shortcut? Like ctrl+c for normal camera and what is the shortcut key for v-ray physical camera? Thanks Though its another brothers thread... Still asking ...
read 564 times
6/18/2015 12:24:42 AM (last edit: 6/18/2015 12:25:51 AM)
show user profile  BishBashRoss
You have to create a Vray cam, select it, then hit ctrl-c.





read 559 times
6/18/2015 12:27:11 AM (last edit: 6/18/2015 12:27:11 AM)
show user profile  Darius
Woaaa...Zzz.... Its that easy!!! Thank you la..
read 548 times
6/18/2015 9:55:29 AM (last edit: 6/18/2015 9:55:29 AM)
show user profile  khamski
lol didnt know that
thx


read 539 times
6/18/2015 3:34:14 PM (last edit: 6/18/2015 3:34:14 PM)
show user profile  herfst1
@ Joez, that's a cool trick, I just just click the [+] and fix the viewport configuration, your way is better.

P.S. Woaaa... Zzz... Fuck.
read 533 times
6/18/2015 4:46:37 PM (last edit: 6/18/2015 4:46:37 PM)
show user profile  3joez
If you liked, it, I did this little script that lets you control the fov directly on screen. Sometimes can be useful.

macroScript fov
category:"Beppe"
tooltip:"Fields of view"
(

try (DestroyDialog fo) catch()
Rollout fo "FOV"
(
spinner lens "Field of view" range:[1,500,viewport.getFov()] type:#float

on lens changed val do (
viewport.setFov val
)

)
createdialog fo
)
read 525 times
6/18/2015 6:00:50 PM (last edit: 6/18/2015 6:00:50 PM)
show user profile  herfst1
Cool. I'll try it next time I'm maxing. Cheers for that Joez.
read 516 times
6/18/2015 7:02:01 PM (last edit: 6/18/2015 7:02:01 PM)
show user profile  Darius
herfst1 bro,
Dun angry on me la. I'm too young sia. Those are the words by which I can express my feelings.
@3joez
How you learned scripting for max?Can tell me the way? Or, firstly I need to learn python?
read 501 times
6/18/2015 11:08:08 PM (last edit: 6/18/2015 11:08:23 PM)
show user profile  3joez
That was simple. Press f1 and just study. Other maxscript gurus in this forum teached me a lot. Thanks to Garp, Nik, Dub, br0t and all the others.
read 491 times
6/19/2015 9:07:43 AM (last edit: 6/19/2015 9:15:57 AM)
show user profile  Darius
Awww....
read 478 times
6/19/2015 10:44:14 AM (last edit: 6/19/2015 10:44:14 AM)
#Maxforums IRC
Open chat window


Support Maxforums.org