Notifications
Clear all

[Closed] SDK Question: Spherical Camera

How difficult would it be to create a Spherical Camera using Visual C++ and the SDK?

My script needs to create its own spherical renders using the Default Scanline Renderer, and the hack I’ve written for this is very slow. I’m trying to get an idea of how large/complex such a project would be, since I’ve never touched Visual C++ and the SDK. I’d also have a limited amount of time to complete this.

Would this involve the level of complexity found in rendering algorithms and shaders, or is a camera definition simpler than that?

7 Replies
 rdg

Don’t know about SDK Stuff.
Is there a special reason you can’t use one of the available spherical renderers?

Georg

1 Reply
(@johnswafford)
Joined: 11 months ago

Posts: 0

AFAIK, the existing sperical renderers/cameras are one or all of the following:

  1. Commercial (so I can’t distribute them with my script)
  2. Inaccessible via script (such as the Panorama Export Utility)
  3. Incompatible with the Default Scanline Renderer (such as the Mental Ray Wraparound camera shader)
 rdg

3 good reasons!
<hijack>I’d like to see an c++ for scripters dvd’ where we can learn to build rapid prototype.</hijack>

Georg

1 Reply
(@ypuech)
Joined: 11 months ago

Posts: 0

Hi Georg,

Max SDK is very large and not easy to understand. It’s still maintained but going old and heavy.

Before entering the wonderful world of Max SDK , it’s mandatory to learn C++ first.
You can find good tutorials about C++ on the web like this one : http://www.cplusplus.com/doc/tutorial/

To learn Max SDK, the new version of the help has some interesting articles and is better designed than the old (thanks Chris). Maybe one day a book on the SDK will be published; wait and see…

Alias has published some DVDs about Maya API (before being acquired by Autodesk) but there’s no DVD about Max SDK :sad:. Also, there’s no official presentation/document/white paper about general Max SDK development, but you can find advanced presentations on the Sparks website at http://sparks.autodesk.com

<Message Deleted>

 rdg

John,
<you are right>

I have the dream of implementing a custom camera myself.
When you implemented it in maxscript, did you use the renderer-maxscript sample provided by bobo (matrix dvd?)

Does it support DOF and Mblur?

Georg

Actually, I haven’t seen Bobo’s DVD yet. My scripted spherical render won’t deal with DOF or Mblur, and it actually will render only 2 low-resolution sizes needed by my script.