Giter Site home page Giter Site logo

Comments (3)

ramokz avatar ramokz commented on June 12, 2024

My best guess is that it's because you have multiple Camera3D nodes in your scene tree. Since the addon was designed to avoid precisely that, it only looks at the first Camera3D instance. Not that it should necessarily be like that, given what the error also says about there being an option to have multiple hosts in the future. Suspect it might also be partially resolved in 7.1 with the introduction of PhantomCameraManager singleton.

The simplest solution that I can think of right now would be to move the Camera3D, with the PCamHost, to the top of the scene tree so that is the one being read first.

from phantom-camera.

tiloc avatar tiloc commented on June 12, 2024

I am currently looking into using Phantom Camera for 3rd person following, and in the near future group following. I think your algorithms for that are more sophisticated than what I want to code myself. For other situations in the same scene I want the artistic freedom of the pure Godot Camera3D, especially DOF blurring.

I understand the general limitation of only having one PCamHost in the current version. I mainly opened the issue because of the seeming inconsistency between 2 algorithms that determine how many PCamHosts there are in the scene? Maybe there is an opportunity to consolidate this into one?

from phantom-camera.

ramokz avatar ramokz commented on June 12, 2024

Do think there's a way to support your setup, but think it'll be a bit of a pain to get it to detect it correctly with the way the addon is currently structured.

The changes coming with #126 should make that much easier to handle, as it will introduce a PhantomCameraManager singleton, which contains a reference to the Host node. I am not too keen on doing a more complicated fix before that, as it will be effectively somewhat wasted work following that release.

Worth mentioning that the remaining Camera3D property values and environment resources, such as support for DOF, will be added in #127 and #218. Should hopefully remove the need for having other Camera3D in a scene.

from phantom-camera.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.