If you want complete control over the stuff you make, start here: https://www.3dbrew.org/wiki/Setting_up_Development_Environment
And in that case, since you'd be using C or C++, I'd recommend https://github.com/cpp3ds/cpp3ds as an engine.
If you just want to make a game, start with either...