How to use printf() to text console?

I use donut with rtxgi.

When I start pathtracer.exe I dont see anything what I try to print to text console by printf().

  1. How to show all what I try to printf()?
  2. How to show text console, not imgui? Just black console window

Hi @tigrazone,

wild guess from the context you gave: you have to modify (in donut)

void ImGui_Console::Print(char const* fmt, …)

or its callers.

Hello.
I mean not imgui, just os console.
But thanks

This works for me:

AllocConsole();
freopen(“CONOUT$”, “w”, stdout);
freopen(“CONOUT$”, “w”, stderr);
freopen(“CONIN$”, “r”, stdin);

Thank you