Questions tagged [camera]

The camera is an object which defines a point of view in 3D space for the context of rendering. The camera also has settings for depth of field (DoF) and other effects/settings real cameras have.

Filter by
Sorted by
Tagged with
4
votes
2answers
765 views

Get position of the first solid crossing limits line of a camera

I am working on a Python script for a scene of a movie project where no Depth of Field is used by the active camera (no dof_distance neither dof_object). However there is a character crossing the ...
6
votes
1answer
538 views

Stop rendering each time camera is moved or anything else is modified

For some reason I managed to make the camera render every time I move it to a new position, move an object, modeling or whatever. I want the camera to ONLY render when I hit F12. What have I done ...
3
votes
1answer
259 views

Use modern features like SURF in camera tracking?

There are plenty of modern and effective features, which are suitable for camera tracking, like SURF. Does blender use them? Apparently not, because it's camera tracking feature requires a lot of by-...
2
votes
1answer
615 views

Use top-left corner as origin in Blender's camera

I'm trying to convert calibration matrix to Blender's camera as the reference document in here: http://ksimek.github.io/2012/08/14/decompose/ It looks Blender camera uses bot-left corner as origin in ...
2
votes
2answers
8k views

Blender won't render the image when set to GPU compute

I have been working on the scene for the last few weeks, I have done a quick experiment with a camera following the path and since then Blender won't render from any camera, unless it's set to CPU. I ...
2
votes
3answers
514 views

How to change the Camera mesh?

Is it possible to change the camera in the 3d-viewport to something a little more camera-ish. For example in maya the camera looks like this: Can this be done with python scripting?
1
vote
1answer
667 views

Focal Length Using Cropped Sensor Cameras

When matching real-world camera shots/footage, I need to know whether the Focal Length in Blender represents the focal length set on the lens or the "true" focal length, taking into account a cropped ...
0
votes
1answer
1k views

For a Third Person game, how would I go about making the character's arm follow the camera?

So I'm making a third person game, and I want to have the right hand follow the camera when aiming. How could I make this happen? Any suggestions are appreciated, thanks. Edit: Okay, I'll be more ...
2
votes
1answer
228 views

Camera Shadow in Cycles live render and final render?

This might be a simple fix, however I have never done close up stills or animations before. I just started building a logo animation for the company I work for. Barely even getting around to ...
6
votes
2answers
2k views

capturing user view movements as a camera?

Here's a question just for the sake of curiosity... I was watching the new Damon Albarn video, the one that features his 3d head. And for the major part of the video it just looks like someone is ...
1
vote
2answers
1k views

How do I do a third person camera in the Game Engine?

I've had problems with getting a third person camera to rotate correctly. I've tried taking first person camera python scripts and modifying them, as well as third person camera scripts already on the ...
1
vote
1answer
610 views

Render camera view like 3d view?

Ive come across this problem here : When i set my camera at the position which looks , i render it and it looks stretched and not so good . What camera settings should i have on? As you can see , on ...
1
vote
1answer
638 views

My camera won't zoom after it reach certain distance of zoom [duplicate]

My camera will not let me zoom in anymore after I zoom in on a huge obj. I know it is probably designed that way so we can zoom in anymore after certain amount,but I want to know if I can break that. ...
7
votes
1answer
2k views

How to set a custom 4x4 projection matrix in Blender

I have seen some questions to this topic but all of them are not satisfactory for my problem. Is it possible to set a custom 4x4 projection matrix in Python to use for rendering in Blender? I'm not ...
8
votes
1answer
28k views

Active camera have a short view distance,how do I increase it? [duplicate]

For some reason when I render or turn into active camera mode the mesh obj disappear as I move farther. I need help on how to increase that view range.
3
votes
1answer
328 views

Render subsection, produce full resolution image

Background In an animation, text scrolls horizontally across the screen (from left to right), stopping on the far right. For example: The background is transparent and no other objects are in the ...
4
votes
1answer
1k views

How Do You Have Objects Stay In Front Of The Camera While It's Moving?

In other words, if you set keyframes for the camera, then between the keyframes it's difficult to determine where to (for example) quickly put text in front of the camera while it's moving. Is there ...
6
votes
1answer
8k views

Some Data Failed to Reconstruct, Motion Tracking

I added tracks and stuff, but then when I tried to solve motion track, there was a error that said: Some Data Failed to Reconstruct and it also said to look into the console for details, which I ...
6
votes
2answers
4k views

how to take images with multiple cameras with Script?

To be clear i want a script, which produces what i am describing below. I want to iterate through all the cameras in my scene where each one renderes an image. I can do this manually by rendering with ...
25
votes
3answers
42k views

Is there a Way to Align Camera to View and Fit the View?

Pressing Ctrl Alt NumPad 0 causes the camera to teleport over and align itself to the current view in the 3D viewport. However, it usually takes up only a small portion of the view, meaning that you ...
8
votes
1answer
3k views

Blender 2.70 Fly Mode Camera: How Do I Change the Camera “Height” For Gravity?

In the new 2.70 fly mode, pressing TAB causes the camera to fall and hit any relatively flat surface (in Z axis). However, when viewing scaled scenes at an arbitrary scaling, the camera falls really ...
9
votes
2answers
15k views

Ideal camera settings to approximate human eye?

As far as things such as Focal Length, Sensor Size, etc., what are the ideal camera settings in blender that most closely approximate the human eye? Right now, everything in my scene seems like it is ...
3
votes
1answer
951 views

Why does camera this tracking fail completely even when the solution value is very low?

The attached animated gif shows some frames of a video with a mesh box placed at each tracking marker used to successfully track (solution error <.4) an 800 frame chunk of video. The point is to ...
6
votes
1answer
1k views

Understanding Fisheye

I set up a basic scene with a fisheye camera aimed at a sphere, with another sphere vertically above the camera, and another to the right (all three at the same distance): (Note: Need that top ...
1
vote
0answers
605 views

Moving and using cameras in the same Python script (potentially over multiple logic ticks)

I've been working on a Python script that does some 3D processing on some data I have, without actually rendering anything (I want to take advantage of the rayCast ...
7
votes
1answer
3k views

Camera angle should follow path angle

(I'm a blender beginner but know a handful of techniques with other similar programs/systems) I've created a NURBS to make a tracking shot. Creating a follow path object constraint on the camera lets ...
5
votes
1answer
5k views

Change camera field of view on keyframe?

I need the camera to be able to zoom in (field of view) on a certain frame. However, when I do that it effects all the frames and isn't good at all. Is there any way possible to make it so that on ...
7
votes
1answer
966 views

Python: Convert a point into camera-space (BGE)

For a particular object and a particular camera, I wish to convert each vertex into camera space, perform some maths on it and convert it back. Specifically I need to convert the vertex first into ...
7
votes
2answers
7k views

Find active camera from Python

I could just use: obj_camera = bpy.data.objects["Camera"] to get the camera, but it is possible to have a scene with multiple cameras. So if that is the case, ...
2
votes
1answer
91 views

Adjust the camera view actually separate all my objects [duplicate]

I would like to adjust the camera view, so I press the CtrkAlt0 to switch to the camera view window, then I try to adjust the camera window. Then, I press the G key, and try to move the view window ...
1
vote
1answer
158 views

pointInsideFrustum not working correctly

I've been working with bge and specifically the KX_Camera class to check if points are within the viewing frustum, but even when ...
2
votes
2answers
170 views

What is the logic to having an axis labeled Z and also having Z refer to distance from the camera?

What is the logic to having an axis labeled Z and also having Z refer to distance from the camera? It seems like an easy way to confuse people. Is this due to the conjunction of two different lexicons,...
5
votes
2answers
2k views

How to set cameras type to Orthographic with python scripting

I'm trying to add some cameras to my scene that are orthographic. For this I am using: ...
1
vote
1answer
2k views

Change imported model orientation

This is what I get when I import a character in Blender : As you can see the character is not in the right position. I would like to see it "standing". Can I rotate the camera like this ? (here I ...
4
votes
2answers
2k views

Custom nonlinear distortion lens

Is it possible to create a custom nonlinear distortion lens in Blender? I'm assuming that Blender superimposes a rectangular grid in front of the eye, and fires out a ray through the center of each ...
2
votes
1answer
748 views

world_to_camera_view incorrectly centering on object

When I plot points of a mesh to 2d using bpy_extras.object_utils.world_to_camera_view the object is centered to the camera. However the actual camera in 3d mode the ...
4
votes
2answers
3k views

Why can I see through my objects?

When you fly through your Blender 3D world, you can fly through things. However, sometimes I fly through objects, and before I even get close to them, the objects start cutting off(visually). See ...
3
votes
1answer
452 views

Dynamically create camera in the BGE?

Is it possible to do this in 2.6? I'm trying to dynamically create cameras. Looking around the API reference I found KX_Camera and ...
0
votes
1answer
664 views

'Matrix' object has no attribute 'z' in world_to_camera_view

I'm trying to use the following code to get 2D points out of Blender. Ultimately my goal is to generate HPGL for a pen plotter but for now I'll be happy with a printed list of coordinates. Whenever ...
2
votes
1answer
1k views

Does Camera.view_frame() return the correct size of near clip plane?

I am writing a toy operator which select the visible vertices of a mesh from active camera. My approach is to do a perspective projection on vertices of that mesh to NDC(Normalized Device Coordinates....
1
vote
2answers
2k views

I would like to generate a particle star field that I could keep as static background

I've tried the particle system to generate a star field and it works fine for single frame renders. Now I'm working on a 10 second film logo splash and I cannot get the star field to remain static ...
6
votes
1answer
2k views

How can I set a custom projection matrix for rendering?

How can I set a camera projection matrix? I want to render a perspective like the old SimCity 1989:
6
votes
1answer
5k views

How to change the camera used for render?

I have 2 cameras in my scene, and want to use one for rendering an animation. Despite defining it as the active camera and playing with the "lock" camera to view button, my render is still made from ...
1
vote
3answers
2k views

Can I constrain an object size to Camera angle of view?

After I import "Images As Planes" (using addon) I would like to place the images in front of the camera like a rostrum, making the corners match the camera frame. Or perform the best fit of the height ...
10
votes
2answers
644 views

Path for camera from motion equation

Is there any option in blender to define path as equation? I need to move camera by specific equation of motion. This equation is described as follows: ...
2
votes
0answers
1k views

Black edges artifacts in renders on edges of geometry? [closed]

I get these weird black edges in renders. I don't know what the cause of it is. I've gotten them before with really close up shots and low focal lengths, but this image only has a focal length of 25 ...
15
votes
5answers
65k views

How to scale the cameras view bounds?

The current issue is that I need more space to the right for my text, but scaling the camera to capture more of the area won't work. Why is this so? This is what I wish to achieve: But I am stuck ...
6
votes
1answer
1k views

Each camera may always keep the same resolution?

I have an object with different cameras that these have different resolutions, but every time I make a render, the camera has changed the resolution of the previous camera, is it possible that this ...
2
votes
0answers
551 views

Combine depth images from two cameras using the world matrix

In my simple scene I have a very simple model and two cameras. From each camera I know the external parameters Pi (from bpy.data.objects['Cam0'].matrix_world) and ...
6
votes
4answers
914 views

How can I analyze whether my camera is looking up/down?

The question is exactly the same as the title: How can I analyze whether my camera is looking up/down? :) A bit of explanation: I am writing a script that handles both 3rd and 1st person view, and ...