Comments (6)
Hi @HannahHaensen,
Do I understand it correctly that you are experiencing an issue with matching the views between Blender and BlenderProc? Unfortunately I am unfamiliar with BlenderProc, so I would appreciate if you could provide a bit more details on what your issue is exactly, and which are the steps you followed in order to get there. Thanks in advance!
from blendernerf.
@maximeraafat thanks for your reply.
So what i do I have an object in the scene like the donut and then I sample random camera poses facing towards the object of interest in the scene.
what i experience is that with your random pose sampling it is working however, with mine i face the issue off weird blurring
this is the result with your code
i was just wondering if it could be because of camera poses or sth.
from blendernerf.
if i keep training with the images provided by your plugin the result is fine, while mine stays like in the image
from blendernerf.
Hi @HannahHaensen, your issue must either lie with the camera poses or with the camera angle. I am unsure of what your code exactly does, since some functions seem to be handled by BlenderProc. I would suggest however comparing the transform_matrix
and the camera angles outputs from your code to the ones from my plugin.
If the camera matrices are not approximately the same, your camera poses are wrong, in which case I suggest simply copying my code to extract camera poses instead of using the BlenderProc built-in functions. I compute all the camera intrinsics and extrinsics in this file, feel free to copy what you need for your application!
Let me know if this helps or whether you are facing more issues :)
from blendernerf.
Hey @maximeraafat I did this so for the camera angle i do the following:
def get_camera_angle_x() -> float:
""" Returns the camera angle_x as float.
:param frame: None
:return: angle x.
"""
cam = bpy.data.cameras["Camera"]
print('blender angle_x', bpy.data.objects['Camera'].data.angle_x)
print('blender angle_y', bpy.data.objects['Camera'].data.angle_y)
print(cam.angle_x)
return cam.angle_x
and for the extrinsic i use the code from blenderproc, only difference i could spot compared to your code were some after the 6 point of the decimal numbers
from blendernerf.
Hmm this is strange. If the extrinsics and camera angles are the same, then your code should produce similar results. Have you verified that all your camera matrices align with the ones that my code produces, not just for a single camera? You could write a for loop that verifies that each camera matrix from your code is the same as the ones from my code, within a certain threshold
from blendernerf.
Related Issues (20)
- DroNeRF: new paper on determining ideal capture (render) locations: HOT 1
- The output images didn't get whole scene of a model HOT 2
- I export a data set from blender but camera doesnt match in instant NGP HOT 11
- Request for Feature Addition: Simultaneous Rendering of Depth Maps with Optical Images and JSON Integration HOT 1
- How to automatic the process without using blender HOT 3
- how to start, please give more detailed documentations? HOT 5
- Is this tool only generate training image directory? HOT 2
- How to calculate transform_matrix? HOT 3
- Call in a for loop HOT 3
- Scene is shifting? HOT 6
- BlenderNeRF Camera not found HOT 5
- Can I use this tool to generate 3D Gaussian splatting datasets? HOT 7
- The color of the object in the generated image is different. HOT 4
- generating test renderings. HOT 5
- TypeError: empty_fn() missing 1 required positional argument: 'context' HOT 2
- glass ceiling on radius parameter HOT 1
- Failed to reconstruct with SPEED+ dataset HOT 1
- Request: Support creation of 3DGS datasets HOT 6
- Just a question really HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blendernerf.