stuck with cameras
nigeuk62_1ae701f276
Posts: 14
I'm just on playing with a C++ exporter converted from a script, everything is going quite well but I'm stuck on the c++ version of
var oViewportMgr = MainWindow.getViewportMgr();
What would the right C++ code be? I thought MainWindow would be DzMainWindow but obviously its not lol
Which QT version is the current SDK using?
thx
Comments
Not sure about the SDK, but Studio itself is using 4.8.6...
I prefer QT Creator over VS2010, I was just going to try to build something in QT :)
Wow I've been here since 2006? I could of sworn I posted stuff in the past!
-Rob
(excuse typos... from phone while standing on train)
A couple years back they switched forum software...that reset all post counts to zero.
Thank you Rob it was a great help :)
I get typos in a static chair lol
@ mjc1016; yeah I was having a look around and realized that, it was mainly the Carrara forums I hung around in
is there any C++ examples on getting the world position values for cameras or lights? location rotation
Maybe I should of started with scripts first, but C++ is better for the "end game" ;)
DzLight inherits DzCamera. DzCamera inherits DzNode. See DzNode::getWSPos() and DzNode::getWSRot().
-Rob