| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
The video and paper looks pretty awesome, and it's pretty nice that you want this to get merged in the project also
Just had a brief look, and had some concerns hope you might be able to answer, and might interest the maintainers also
Sorry, something went wrong.
|
Hi Rajat Singhal (@rajat2004), Thanks for your interest in this PR. My answers are below:
About the corrections, David Zimmermann (@zimmy87) is having a look at the code, so if he considers that, I can correct the code with your suggestions. |
Sorry, something went wrong.
|
By the FPS, I meant some results to compare on your system itself, for the Cinematic and normal cameras, for different resolutions like 256x144, 720p, 1080p and maybe 4k also? |
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks for submitting this PR, this is a cool feature! Most of my feedback is style-related. I second Rajat Singhal (@rajat2004)'s comment about replacing the default camera with the new UCineCameraComponent. I think the default user experience is different enough that there should be an option for switching to the new type of camera. It'd also be nice to see the rest of Rajat Singhal (@rajat2004)'s review items addressed before merging this.
Sorry, something went wrong.
|
Our Azure pipeline check is failing with the following build error:
In file included from /__w/13/s/Unreal/Environments/Blocks/Plugins/AirSim/Intermediate/Build/Linux/B4D820EA/UE4/Development/AirSim/Module.AirSim.2_of_2.cpp:2:
/__w/13/s/Unreal/Environments/Blocks/Plugins/AirSim/Source/TextureShuffleActor.cpp:24:49: error: incomplete type 'UMaterialInstanceDynamic' named in nested name specifier
DynamicMaterialInstances[material_id] = UMaterialInstanceDynamic::Create(DynamicMaterial, this);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ue4/ue-4.25.1-linux-debugeditor/Engine/Source/Runtime/Engine/Classes/Engine/BlendableInterface.h:10:7: note: forward declaration of 'UMaterialInstanceDynamic'
class UMaterialInstanceDynamic;
^
In file included from /__w/13/s/Unreal/Environments/Blocks/Plugins/AirSim/Intermediate/Build/Linux/B4D820EA/UE4/Development/AirSim/Module.AirSim.2_of_2.cpp:2:
/__w/13/s/Unreal/Environments/Blocks/Plugins/AirSim/Source/TextureShuffleActor.cpp:27:33: error: member access into incomplete type 'UStaticMeshComponent'
components[component_id]->SetMaterial(material_id, DynamicMaterialInstances[material_id]);
^
/home/ue4/ue-4.25.1-linux-debugeditor/Engine/Source/Runtime/CoreUObject/Public/Templates/Casts.h:22:7: note: forward declaration of 'UStaticMeshComponent'
class UStaticMeshComponent;
^
In file included from /__w/13/s/Unreal/Environments/Blocks/Plugins/AirSim/Intermediate/Build/Linux/B4D820EA/UE4/Development/AirSim/Module.AirSim.2_of_2.cpp:2:
/__w/13/s/Unreal/Environments/Blocks/Plugins/AirSim/Source/TextureShuffleActor.cpp:30:42: error: member access into incomplete type 'UMaterialInstanceDynamic'
DynamicMaterialInstances[material_id]->SetTextureParameterValue("TextureParameter", SwappableTextures[tex_id]);
^
/home/ue4/ue-4.25.1-linux-debugeditor/Engine/Source/Runtime/Engine/Classes/Engine/BlendableInterface.h:10:7: note: forward declaration of 'UMaterialInstanceDynamic'
class UMaterialInstanceDynamic;
^
4 errors generated.
Are you seeing this in local builds? |
Sorry, something went wrong.
|
Hi David Zimmermann (@zimmy87), I answered your suggestions/bug reports. I will fix everything once we decide what to do to integrate it. No, I haven't seen that error of compilation in local builds. I'm using UE 4.26.1 in Ubuntu 20. Can this be the difference? What are the next steps we should do? Should I wait for your instructions? |
Sorry, something went wrong.
There was a problem hiding this comment.
Additional comment regarding a build failure
Sorry, something went wrong.
|
Hi Pablo Pueyo Ramon (@ppueyor), apologies for the delay in getting back to you; I've responded to the remaining feedback items; please let me know if you have any other questions/concerns. Regarding the build failure in TextureShuffleActor.cpp, I'm still seeing this with your latest revision, so this looks like a legitimate build failure. My guess is you're missing an include somewhere (usually the "incomplete type" error occurs when only a forward declaration is present for a given class and the full header for that class is needed to access one of its members). We're currently using 4.25.1 on our build machines, and we'd like to maintain compatibility with 4.25, so using 4.26.1 could be a potential cause here. Would you be able to test locally with a 4.25.1 build? |
Sorry, something went wrong.
|
Hi David Zimmermann (@zimmy87), Thanks for the review. Yes, I will test it in Unreal 4.25.1 once we decide what to do with the cinematic flag in Settings.hpp. |
Sorry, something went wrong.
|
Hi David Zimmermann (@zimmy87), I implemented all the requested changes and updated my repo to the latest version of your master. I tested it with ubuntu 20 and Unreal 4.25 and works perfectly. Please, tell me if you need anything else. P.S. : I needed many commits to bug simple bugs, if you could merge them in one, it will be cleaner, sorry for this |
Sorry, something went wrong.
There was a problem hiding this comment.
The new focal length looks good when I manually override the right camera, but unfortunately I'm not seeing this focal length applied to the default camera, so I still see the same narrow field of view with the latest iteration.
Sorry, something went wrong.
|
Hi Pablo Pueyo Ramon (@ppueyor), thanks for the update, I tested locally and noticed a few things that I think should get addressed before merging. I've gone through all previous review feedback and resolved everything that looks to have been addressed. I see that there's one remaining item of feedback from Rajat Singhal (@rajat2004) on PythonClient/airsim/client.py that hasn't been addressed yet (it looks like this may not require a code change, feel free to resolve the comment yourself if that's the case). There also looks like there's one remaining item of feedback from my previous review about the names of SrcPPSettings, DstPPSettings, and DstWeightedBlendables in Unreal/Plugins/AirSim/Source/PIPCamera.cpp. These variables should be renamed to src_pp_settings, dst_pp_settings, and dst_weighted_blendables. |
Sorry, something went wrong.
There was a problem hiding this comment.
Some code improvement comments. Additionally, would be great if you could add some example scripts to test the various capabilities, and also some documentation.
Thanks!
Sorry, something went wrong.
|
Hi David Zimmermann (@zimmy87) and Rajat Singhal (@rajat2004) , I resolved all the changes requested, hope everything is correct now. |
Sorry, something went wrong.
Does the "PostInitializeComponents" thing solve this? |
Sorry, something went wrong.
|
Tested the latest iteration and it works well for me, so I am moving ahead with merging. It would be nice to add some extra documentation and examples, but I feel that can be handled in a separate PR. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes: #1489
Fixes: #2303
Fixes: #2311
-Integrates the CineCameraComponent into AirSim
-New PR from #3779
About
An AddOn for AirSim that includes all the tools to integrate a cinematographic camera and the needed tools to control/access to it.
More info available in repo: https://github.com/ppueyor/CinemAirSim
Or conference paper: https://arxiv.org/abs/2003.07664
How Has This Been Tested?
Ubuntu 20 and UE4 4.26
Different demos and API calls
Results available in repo
Screenshots:
https://www.youtube.com/watch?v=OJGNaitWZVA