Search the Community

Showing results for tags 'camera'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Welcome to UNIGINE Forums
    • News & Announcements
    • Getting started
  • Development
    • Content Creation
    • World Design
    • Rendering
    • Animation
    • Physics, Navigation and Path Finding
    • UI Systems
    • Sound & Video
    • Editor
    • C++ Programming
    • C# Programming
    • Networking
    • Sim IG (Image Generator)
    • VR Discussions
    • General
  • Improving UNIGINE
    • Documentation
    • Feeback for UNIGINE team
    • Bug Reports
    • Unigine SDK Beta feedback
  • Community
    • Collaboration
    • Tools, Plugins, Materials & Tutorials
    • Showcase
    • General Discussions
  • Legacy
    • UnigineScript

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...

Found 19 results

  1. I'm new to Unigine so might be missing something obvious here. I'm having trouble importing an animated camera from Max. I've baked the animation and exported the .fbx file which works fine when imported back into Max. The camera imports fine into Unigine but no animation. Any suggestions?
  2. Import animated camera

    Hello, I just started learning Unigine and have a question about importing an animated camera. I have tracked some drone footage in Blender and want to use the camera data in Unigine. Is there any way to import the camera transformation into tracker (using fbx or other method)?
  3. Hi. I have a third-person character made by PlayerPersecutor. When target node moves in world my camera turns for it and changes distance. setFixed function freezes angle in parent coordinate system. How do i can freeze Phi angle of Player in world coordinates? Thank you.
  4. I want to move an object to fill the screen. Similar to Move to camera in the editor. How should I implement it? Please help me
  5. Very wide projections

    Hello. Is there some way to produce high-aspect picture (reso like 20000x800) without distortion on one screen? So, i need something like render_panorama but cameras should stand in a row, look the same world direction and don't have distortions on the seams. It's for a video CG production, not sim/game, so performance doesnt matter at all. Thanx.
  6. [SOLVED] Orthographic camera

    Hello everyone, I`m having a bit of a problem setting up a proper orthographic camera with C++ API in my projects. It seems that there is no way for me to change a camera projection without creating my own mat4 and passing it as an argument to setProjection to the class camera. Is there any other way around to acomplish this task without going in depth with matrix conversations?
  7. do player camera roll allowed?

    Hello simple example where roll are not applyed to camera rotation in unigine script Player P; P =; P.setWorldRotation( P.getWorldRotation()* ( //quat(rotateX(5))//pitch - ok //quat(rotateY(5))//yaw - ok quat(rotateZ(5))//roll? not working ) ); what wrong here? how to make camera rolling?
  8. I have playeractor problem

    hi , i'm studying for Unigine. i have a problem. I saw sample ' actor01' and i knew playeractor is need to move physics playermoving. playeractor works when playeractor pivot is appeared in my camera. However, playeractor pivot is not in my camera , playeractor doesn't work. please help me how can i solve it.
  9. I have a PlayerPersecutor camera linked to animating geometry traveling along a spline. When viewing the animation through the Editor camera the animation runs as smooth as a baby's bum but when viewing through the PlayerPersicutor camera there's terrible jittering going on. Any ideas what the problem could be?
  10. Hi, I'm implementing a custom camera editor where camera position/rotation keys are placed on terrain and the info fed into a track file which then is run by tracker to preview the path. I expect/want the camera to rotate smoothly around one axis, keeping the view steady while moving from one key to the next. Issue is that at times the camera is doing an awkward rotation, tumbling down to look at the ground, rotating and then turning back up to rest on the final key. Is there a way to control this behaviour? Note: Path is in 3D so rotation can occur in all 3 axes.
  11. I'm noticing a memory leak every time I make a call to several of the new Viewport::render* calls. These are the functions I've tested and experienced the issue with: void render (Camera camera) void renderImage2D (Camera camera, Image image) void renderImage2D (Camera camera, Image image, int width, int height, int hdr = 0) More details: My application creates a Unigine-Qt window (subclasses Unigine::App), then creates additional rendering windows to show other views (much like the old RenderQt sample which no longer appears to be part of 2.2.1). Each view is updated continuously du
  12. AddNode resets camera

    I'm performing a simple mouse intersection test to create a new dummy node and whenever I do, my editor cam is reset somewhere back to 0,0,0. Any idea why this is? int ret[1]; vec3 p0, p1; Unigine::getPlayerMouseDirection(p0,p1); Object obj =, p1, ~0, ret); NodeDummy pt = new NodeDummy(); pt.setName("TESTNODE"); pt.setWorldPosition(ret[0]); engine.editor.addNode(pt); Philip
  13. Hi folks! I'm currently facing a rather annoying issue in Unigine, created by myself and my lack of understanding of course, which I need your help on! My situation is this: I have two characters, I want to calculate the mid-point between these two characters' heads and make a camera inside of the game look at that mid-point. What I am currently doing is: 1. Cycling through bones and finding the head bones of each character 2. Using ObjectMeshSkinned::getWorldBoneTransform to get the transform of each head bone as a mat4 3. Getting the 12th, 13th and 14th values from t
  14. Player->setTransform problem

    Hello, I'm currently attempting to build a prototype entirely using the C++ API. Right now I'm transferring camera control from UnigineScript into C++. Placing the camera (player) was working fine in UnigineScript, but in C++ it hasn't been going well. I'm running into a problem when using the command: player->setTransform(setTo(UNIGINE_VEC3(0.0, 0.0, 20.0), UNIGINE_VEC3(0.0, 1.0, -1.0), vec3(0.0, 0.0, 1.0))); The second parameter is supposed to control the direction of the camera/player. However, my player points in the -z direction no matter how I change it. Even if I switch t
  15. Camera animation from FBX

    In a 3D match-moving tool, I can create and animate a camera (the tool analyses the footage to derive the 3D position/rotation of the "real world" camera). Then export the animated camera in an FBX file. But I cannot see how to save the animation of the camera for later re-play. Am I missing something simple? I can see the camera animating correctly by sliding the FBX importer "Time" control but there are no files saved by the importer.
  16. [SOLVED] Moving wasd camera faster

    Usually I use wasd to get around my scenes because it feels the most natural, but in Unigine the wasd controls are painfully slow. Even while holding shift, I feel like I'm moving an inch an hour. I heard someone say that the speed is different per world file. Is there a setting to speed the camera movement up?
  17. Hello, I'm having troubles with setting the camera "roll" rotation (like a spinning airplane), or (it's equivalent) setting arbitrary camera Up direction. Are there any examples on it? The problem is, I made a camera flying round the Earth, and I set direction of radius-vector as Up direction using PlayerSpectator.setUp(). Camera is moved by (camera)Node.setPosition(). At certain positions (e.g. 1000;0;1000), I get camera suddenly "reversing" backwards, and if I keep pressing "forward" it reverses again, and again, so moving like stairsteps (shifting slowly up or down). As I found, there
  18. camera problem!

    Привет. У меня вот какая проблема. Я привязываю камеру к PlayerActor, но мне нужно поднять ее выше, по оси Z. (Вид из головы). У меня маштаб больше единичного. Я делаю так: PlayerActor actor; PlayerPersecutor camera. init (){ .. camera.setAnchor(vec3(0.0f,0.0f,10.0f)) camera.setTarget(actor);; .. } Так работает плохо, так как камера зарывается в землю, или блокируется на некоторых углах. Потом я делал так. PlayerActor actor; PlayerSpectator camera. init(){ ..; .. } update(){ .. vec
  19. In the docs, the camera referred to as third-person. How do we spawn/initialize FPS cam in Unigine and control it? How do we set collisions for it and a make it sway as in typical FPS game? Thank you. EDIT: << I need to achieve #3. This way I have shadows cast by the player's model, I see player in the reflection, for I only see vweap model (arms and guns) in the view. That's how pretty much most FPS games work.