Precise camera location and focal length?
All  1-5  6-12

Previous
Next
 From:  Michael Gibson
8476.6 In reply to 8476.4 
Hi Brian, the 12 has to do with the film size of a 35mm camera, it has a film size of 36x24mm. So that combined with the focal length determines the field of view angle. You use 12 because in MoI the field of view controls the innermost square of the view (http://moi3d.com/forum/index.php?webtag=MOI&msg=3644.34 http://moi3d.com/forum/index.php?webtag=MOI&msg=3644.5) so that corresponds to the 24mm height, then to form a right triangle you take half that:




- Michael
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
8476.7 In reply to 8476.6 
Thank you very much Michael.
- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  TOM (SIRTOM)
8476.8 
Great helper ! I would like to ask 3 questions here :

I have positioned the camera manually in a scene for which I want to make use of the new script now.

- How / Where can I get the exact coordinates of the camera viewpoint I placed manually ?

- Is it possible to rotate the camera around a specific coordinate (fixed / defined by a point object) ?

- If the viewpoint is infinite (horizon) just type in a very high value for Y ?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
8476.9 In reply to 8476.8 
Hi Tom,


> - How / Where can I get the exact coordinates of the camera viewpoint I placed manually ?

Use the extended ViewAngleDialog.htm file that Brian linked to above, it's here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=6962.13

The updated version adds camera xyz location controls to the 3D view angles dialog box, which you can access under Options > View > "3D view angles" button.


> - Is it possible to rotate the camera around a specific coordinate (fixed / defined by a point object) ?

With the regular built in view controls MoI will only rotate the camera around the current view target point. But you could rotate it around whatever point you like using your own math calculations, see here for an example: https://academo.org/demos/rotation-about-point/


> - If the viewpoint is infinite (horizon) just type in a very high value for Y ?

Sorry I don't understand this part - you probably don't want to put in a very high value for the camera's y coordinate since that will place your eye point very very far away from your model and with perspective foreshortening your model will be a tiny speck on the screen.

Can you explain in some more detail about what you're trying to do with the horizon?

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Message 8476.10 deleted 19 Jun 2017 by BEMFARMER

Previous
Next
 From:  TOM (SIRTOM)
8476.11 In reply to 8476.9 
Hi David,

> If the viewpoint is infinite (horizon) just type in a very high value for Y ?
Can you explain in some more detail about what you're trying to do with the horizon?<


I want to import a scene from Cinema and coordinate the cameras. In Cinema you have a horizon
line and it is the horizon where the camera is targeted at. Is there a horizon line in Moi for the
respective focal length ?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
8476.12 In reply to 8476.11 
Hi Tom,

> I want to import a scene from Cinema and coordinate the cameras. In Cinema you have a horizon
> line and it is the horizon where the camera is targeted at. Is there a horizon line in Moi for the
> respective focal length ?

Can you show me a screenshot of what the Cinema4D camera properties look like?

I'm not really familiar with setting a camera direction by a horizon line value. In MoI the target point is what is used for controlling where the camera is looking at, it's the "look_at" point in the script above.

There does exist a horizon line for the ground plane in a 3D view in MoI but it's not something that you specify directly.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-5  6-12