Menu

Scene Options

2010-08-03
2013-05-28
  • GershonicPanic

    GershonicPanic - 2010-08-03

    Hello Everybody.
    I'm writing a simple program, quite resembles to hellowold.cpp, and I'm looking for functions or ways to implement the following operations:
    1) How can I set the size (height and width) of the output u3d file?
    2) How can I set the camera view to different ranges of values? (in other words, how can I "move" the camera view?)
    3) How can I set the zoom intensity of the camera?

    That's all for now, hope you can help me.

    Regards,
    Ohr.

     
  • Michail Vidiassov

    While it is possible to set camera position in U3D file, a better option is to do that in PDF (by using 3D view dictionary or 3D JavaScript). See PDF specs and docs for your PDF authoring software (what is it, BTW?).
    If you absolutely insist on doing it via U3D I suggest doing what you want via IDTF (that must be the "view" node) and than look at IDTFConverter code to see how it is done there.

     

Log in to post a comment.