Jump to content
Everywhere

Search the Community

Showing results for tags 'Camera'.

  • Search By Tags

    • camera ×
    Type tags separated by commas.
  • Search By Author

Content Type



Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


  1. 4 downloads

    Component-controller for top down camera Apply this component to Camera entity WASD and mouse near window border moves camera horizontally QE - to rotate camera Mouse scroll to lower/raise
  2. Here the current Camera Dolly Component i created. It consists of 2 Components. The Camera Dolly Component itself. The Camera Dolly Event Component. Usage Extract and place it into your `Souce/Components` directory. Add a Camera to your Scene. Add...
  3. Greetings!!! It's been many months since the last time I've worked with Leadwerks, the same months since I've been here. I hope you are all OK. This week I have resumed my project, and I have come face to face with a problem that I still cannot solve in my Leadwerks. And this is the u...
  4. Hi there team!! I have one question i hope you can help me with... I have a level with only 2 cameras for show an animation prologue... Text and Images using POSTRENDER and context system works ok in CAMERA 1. But when i disable CAMERA1 and enable CAMERA2 for continue animation in ano...
  5. Hey all, I'm playing with VR and I wanted to create something you'd find in Robo Recall in which the player can change the direction they want to face after a teleport. I did the becon rotating and it was all ready to go until I found out that no matter If I rotated the camera or player, OpenV...
  6. Is there a way to rotate camera around the selection (selected object) in the editor? To observe selection from different directions. (I found only the free rotation mode (with right mouse button) which rotates camera around it`s own pivot)
  7. I'm setting my camera based on my model's position/rotation but i'd like the camera to be positioned a little further back so i can actually see the model move, i think what i'm looking for is something like vector forward. Right now, i'm setting it at the exact same x/z coordinates. Vec3 p...
  8. This function does not work (camera->SetViewport). Please tell me a replacement. On a single screen must be two cameras. I am using C ++.
  9. CorzaX24

    Shaders

    Hey guys, Yet another issue I'm faced with, and is probably real simple to accomplish but I can't seem to understand how to do it. How do I add a Post-Processing shader to my work? Not a single model, but to the entire level? Thanks in advance!
  10. I have done quite a bit of snooping about, on the forums and going through the tutorials on YouTube, the complete series done by Jorn Theunisen is old and I understand some parts are outdated. Keeping in mind I'm not a programmer though I can read it fairly well just cannot write it, has anyone...
  11. if window:MouseHit(1) then local pickinfo= PickInfo() local p1 = Window:GetCurrent():GetMousePosition() --local box = Model:Box() if (self.camera:Pick(p1.x,p1.y,pickinfo,0.5,true)) then if pickinfo.entity then if pickinfo.entity:GetKeyValue("Button")~="" then --box:SetScale(0.2,0.2,0.2) --box:SetPos...
  12. I have a third person character controller, the character has pickmode(0). I can walk around and have obstacles between the player and the cam , but nothing happens? the self.pivot is a pivot which is at the center of the character (the camera focus). updateworld: if self.entity.w...
  13. Hello there, I have 2 questions and any help / idea is welcome. 1. How can I make sure that the camera does not go off terrain? 2. I need to move the camera forward (0Z) and sidewards (0X) along it's own axes, but without taking in consideration the rotation around 0Y axis (up/down). Any idea?...
  14. Please consider this piece of code: #include "App.h" App::App() : window(NULL), context(NULL), world(NULL), camera(NULL) { } App::~App() { delete world; delete window; } Leadwerks::Model *model = NULL; bool App::Start() { window = Leadwerks::Window::Create(); context = Leadwerks:...
  15. Hello forum, I am trying to make my camera move along some 3D points that also store rotation How can I make the movement smooth like in a spline? I don't know much about splines but found this for leadwerks 2: How can I do sth. like that on Leadwerks 3? thanks for your he...
  16. Just had a question with whether it is possible to make a dynamic scope for a weapon using the Camera Entity. I have the camera mounted in front of the scope of the weapon in the prefab and set the Render target on the scopes .tex. Inside the editor it seems to be working but in game the scope is ju...
  17. Hello Leadwerks community, This is my first post and I was wondering if anyone out there is able to help me create a simple script. As the title states, I just want to get a simple script, like the FPS controller one, however, just for walking around. Thanks.
  18. Hello! I have problems with creating spectator camera with C++ using this tutorial sphere moving faster then camera, but this is not main problem. I dont understand why, but sphere have the inertia. I mean, when i stop pressing 'w' sphere dont stop movement, just slow down a bit. And also she...
  19. Alright, this seems like a pretty important issue to me. As it is desirable and expected, directional light shadows are culled (not showed/displayed) when the camera is far away from the object: it has to be within the range of 30m or so, as I've seen so far, in order that shadows get rendered (at l...
  20. When I try to change a camera mode to Camera.Ortographic, I get a "error in function 'SetProjectionMode'.; argument #2 is 'nil'; 'number' expected." function Script:UpdateWorld() if (window:KeyHit(Key.Space)) then if (self.entity:GetProjectionMode()==Camera.Orthographic) then self.entity...
  21. I'm implementing a camera picking with this code if (window:MouseHit(1)) then local pickinfo = PickInfo() if (self.camera:Pick(context:GetWidth() / 2, context:GetHeight() / 2, pickinfo, 0, true)) then System:Print(pickinfo.position.z) end end and I'm getting really wierd results conce...
  22. While trying to getting a camera present in a Map from the C++ side, I found there is 2 cameras (according to world->cameras.size(). What is the second camera ? How leadweaks choose the camera to render the scene ?
  23. Ok so I've decided to make my own project to practice on learning how to use the engine. In the sample project 'MyGame', the camera placed using the editor had wireframe showing the viewing frustum. But in my new project when I add a camera using the editor, the frustum is gone. How do I...
  24. Hi I went through the Object script tutorials and I've gotten that crate model to rotate. I've also tested out the Pick example for the Camera class. Now my question how do I make a Camera object that I placed in the editor to do a "Pick" on the crate model then have that model rotate (and m...
  25. The main focus of my game is story and dialogue, so I want to aim for a fairly cinematic experience. I'm sure I can make a scene FAIRLY pretty, but I'm not so sure how to frame it. How should I go about controlling the camera in LUA? Zooming in, centering on key areas, panning around the scene,...
×
×
  • Create New...