Jump to content

View more

Image of the Day

WIP title screen for #DeathOfAPartisan #screenshotsaturday #gamedev https://t.co/qJNhfZCvd4
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Get Cameras in Active Viewport (3ds max)

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
No replies to this topic

#1 lucky6969b   Members   

1285
Like
0Likes
Like

Posted 19 November 2012 - 03:52 AM

How can I get all the cameras in the active viewport of 3ds max?

Interface *ip2 = GetCOREInterface();
ViewExp * pView = ip2->GetActiveViewport();  //  Get the viewport in question
GraphicsWindow *gw = pView->getGW();  //  Get the GraphicsWindow context

This code snippet gets the active camera I am using to view stuff.
I want to get all cameras in the active viewport.
Is it possible?
Let me know
Thanks a lot
Jack




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.