Josh Posted October 16 Posted October 16 Reminder to add support for this in text tiles for 3D rendering (it already works everywhere else). Not really sure the status of this. Need to check it out. 1 Quote Let's build cool stuff and have fun.
Solution Josh Posted 15 hours ago Author Solution Posted 15 hours ago Ha! It works just fine: #include "UltraEngine.h" using namespace UltraEngine; int main(int argc, const char* argv[]) { //Get the displays auto displays = GetDisplays(); //Create a window auto window = CreateWindow("Leadwerks", 0, 0, 1280, 720, displays[0], WINDOW_CENTER | WINDOW_TITLEBAR); //Create a framebuffer auto framebuffer = CreateFramebuffer(window); //Create a world auto world = CreateWorld(); //Create a camera auto camera = CreateCamera(world); camera->SetClearColor(0.125); camera->SetFov(70); camera->Move(0, 2, -8); camera->SetScale(2); auto font = LoadFont("Fonts/arial.ttf"); auto tile = CreateTile(world, font, L"Здравствуйте"); //Main loop while (window->Closed() == false and window->KeyHit(KEY_ESCAPE) == false) { world->Update(); world->Render(framebuffer); } return 0; } Quote Let's build cool stuff and have fun.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.