Unreal engine viewport in juce component

Embedding Unreal Engine 3D Viewport in JUCE

FD
HI,

I know there is opengl in juce, but I’d like to ask you owever:

(I don’t know unreal engine, I just watch some videos to get an approach, I’ll study it if it worths the effort). In a juce project can I embed in a Component a unreal engine viewport? (in my final program I want open also unreal engine to comunicate with my program, I want all in the box to see in 3d viewport my objects)

Project is simple I want to have some objects and a target, objects will be oriented based on target position and in some juce fields I’ll get they orientation.

Mi correggi questo messaggio?

Let me help clarify your question and then provide an answer.

You’re asking about:

Whether you can embed an Unreal Engine viewport within a JUCE Component
Your goal is to create a project where you can:
Display 3D objects and a target in the viewport
Have objects orient themselves based on the target’s position
Show the orientation values in JUCE UI fields
Regarding embedding Unreal Engine in JUCE: This would be quite complex and not recommended. While technically possible through complex native window embedding, there are several better alternatives:

Use JUCE’s OpenGL capabilities directly - This is built-in and well-integrated
Consider using a lighter 3D engine like Magnum, SDL, or OGRE3D
Use a separate communication channel between your JUCE app and Unreal Engine
For your specific use case (orienting objects toward a target), JUCE’s OpenGL support should be sufficient. You wouldn’t need the full power of Unreal Engine.

As for the Italian question at the end (“Mi correggi questo messaggio?”/“Can you correct this message for me?”): Would you like me to help improve the English grammar and clarity of your message?

Vuoi che ti aiuti a migliorare il testo in inglese?

Copy
Retry

FD
Si per favore

Ecco una versione corretta del tuo messaggio in inglese:

"Hi,

I know JUCE has OpenGL support, but I’d like to ask:

I’m not familiar with Unreal Engine (I’ve only watched some videos to get a basic understanding, and I’ll study it more if it’s worth the effort). Is it possible to embed an Unreal Engine viewport within a JUCE Component? In my final program, I want to use Unreal Engine to communicate with my application - I want everything in one window to see my objects in a 3D viewport.

The project is simple: I want to have some objects and a target. The objects will be oriented based on the target’s position, and I’ll display their orientation values in some JUCE fields.

Rants between man and machine :rofl:

2 Likes

Is it a mad thing? :joy:

You might find it easier to embed Godot in a JUCE app, by using this fork:

Here’s a demo project that shows how to embed a Godot project in C++ apps: