Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera looking strange when moving drastically #238

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

MrXandbadas
Copy link
Contributor

I made a hot fix. it Is not a Fix... But it's a workaround?

MrXandbadas and others added 9 commits April 5, 2022 23:54
Added the spot_blend and spot_size parameters into the lights.py file.

Spot Blend is the roughness of the beam
Spot Size is the radius in deg 0 - 180

Blender.py was changed to add the needed parameters inside the blender handler. I think I added the correct identifiers and what not. I just copied the standard implementation as it was written.

The SpotLight was added in with the other forms of Lights

----------
Still need to look at the colors of the lights. Maybe refer to the issue in the main github of Kubric regarding the Color Class and its implementation.
Awesome notes from Qwlouse! can be found at PR google-research#219
Co-authored-by: Klaus Greff <klausg@google.com>
Bug Fix noted by Qwlouse
An attempt to help with google-research#197 google-research#198

Created a new function in Kubric core. set_position()

I hope this is helpful xD
an example of creating BBox Images using the Kubric MOVi-F Example
@codecov-commenter
Copy link

codecov-commenter commented May 30, 2022

Codecov Report

Merging #238 (b2f608b) into main (f0cec8f) will decrease coverage by 0.1%.
The diff coverage is 40.0%.

@@           Coverage Diff           @@
##            main    #238     +/-   ##
=======================================
- Coverage   61.8%   61.8%   -0.1%     
=======================================
  Files         42      42             
  Lines       3514    3519      +5     
=======================================
+ Hits        2173    2175      +2     
- Misses      1341    1344      +3     
Impacted Files Coverage Δ
kubric/core/objects.py 90.0% <40.0%> (-1.8%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Qwlouse
Copy link
Collaborator

Qwlouse commented Feb 7, 2023

This is changing the behavior of the camera, by always locking it onto a target. While I agree that this is a useful feature I don't think this should be the default, and in any case it should be possible to disable. So for now I would recommend to re-set the look_at manually after moving the camera.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants