I have one issue. I can successfully project video files during preview, but as soon as I package (Windows 64bit) none of the projections show up. This holds true for the vanilla project file with default “no_input_texture” and with my modified project that is set up to play mp4 video clips.
really great work! Exactly what I need for my bachelor thesis.
The “Field of View” slider is supposed to scale the projection?! It does not seem to do anything right now, or am I missing something?
Edit: Nevermind. It works when playing, but not in the Preview.
@Quacker42 For the movies to work after build you have to put them in a folder called “Movies” in the root of your folder structure. Does this solve the problem with your mp4s?
Oddly, I briefly got a successful compile when I copied the construction script contents from the Projector_Final blueprint and pasted them into the event graph, but I haven’t been able to repeat that success.**
Was easy… just multiply the resulting emissive for the opacity…
I multiplied too the emissive because in my scene with no AutoExposure I was getting just a gray proyection.
I am attempting to use this in VR and I’m not seeing any results. I have a VR pawn that has a camera. I am also making sure the Media player is playing in the Level Blueprint and the video file is in the Movies folder. I seem to be getting audio, but no video in VR (projection does work in non-VR mode) Any ideas? Maybe a way to connect to the two cameras in the level?
I’m trying to use a screenCapture2d->renderTarget as a texture but get errors for all the material instance’s vector parameters:
Blueprint Runtime Error: “Accessed None trying to read property Material Inst”. Blueprint: Projector_Final Function: Execute Ubergraph Projector Final Graph: EventGraph Node: Set Vector Parameter Value
Any clue on how to make it work with scene capture?
I’d like to be able to use several instances of this setup and limit its texturing to selected objects only, would it be possible to implement such option?**
Hey all that might still browse this thread, I’ve been trying to project an image that is twice the size of the current projectors aspect ratio. I edited the vector 1 and vector 2 values in the Blueprint to 0.5 as seen in the image and in the preview display am getting exactly what I want in the next image. The final image however shows what happens when I hit play and I’ve tweaked every gosh darn value I can and it doesnt seem to be helping. Any advice or help would be extremely appreciated
I´m not sure if this thread remains active, but, I´m using this script to project a video in an irregular object, and I would like to cast some shadows from objects that are in front of this object (i disabled the Decal for the objects in the first plane and all works perfect).
I did not found a way to cast shadows in the material that cames from camera (the decal from camera). I know that this is not the main idea, but, is this possible?
One extra note, you may find yourself wanting to project on very large spaces. I found the offset for scaling was locked. Scaling the camera would not be ideal, as that could multiply your texture budget out of control. Curiously though, just scaling the Offset and placing your projector farther back did not.