Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Center of camera viewport

$
0
0

@pxt wrote:

Hi! im trying to get the center of the camera viewport. The basic idea is generate a particle emitter always in the center of the screen, im in 3d space and working with a moving camera. So i need to update according the camera lookAt. Im using the function

camera.getLookAtDir(); but of course the camera is not always look at the center. so i need a way to find the center of the viewport. any help? thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles