Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    MovieSaver and QTVR ?

    SDK Help
    0
    4
    319
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 17/03/2005 at 21:13, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:    
      Platform:      
      Language(s) :

      ---------
      Hi,

      I have a question about the MovieSaver class. Is it possible to save QTVR files? I get only normal QT files. Here a test code:

        
      Bool MenuTest::Execute(BaseDocument *doc)  
      {  
           Filename fn = GeGetStartupPath();  
           if(!fn.FileSelect(0, GE_SAVE, &String;("Please select a movie!"))) return TRUE;  
        
           AutoAlloc<MovieSaver> ms;  
           if(!ms) return TRUE;  
        
           AutoAlloc<BaseBitmap> bm;  
           if(!bm) return TRUE;  
        
           bm->Init(320, 240);  
           bm->SetPen(255, 0, 0);  
           bm->Line(64, 64, 196, 196);  
        
           BaseContainer bc;  
        
           ms->Choose(FILTER_QTVRSAVER_PANORAMA, &bc;);  
        
           if(!ms->Open(fn, bm, 25, FILTER_QTVRSAVER_PANORAMA, &bc;, SAVEBIT_ALPHA)) return TRUE;  
        
           bm->SetPen(0, 255, 0);  
           bm->Line(196, 64, 64, 196);  
        
           if(!ms->Write(bm))  
           {  
                ms->Close();  
                return TRUE;  
           }  
        
           bm->SetPen(0, 0, 255);  
           bm->Line(64, 128, 196, 128);  
        
           if(!ms->Write(bm))  
           {  
                ms->Close();  
                return TRUE;  
           }  
        
           ms->Close();  
           bm->FlushAll();  
        
           return TRUE;  
      }  
      

      any ideas?

      regards, Matthias

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 19/03/2005 at 08:56, xxxxxxxx wrote:

        ok, is it possible at all to save QTVR from within a plugin? I want to make a plugin that uses custom camera paths for object QTVR.

        please help

        regards, Matthias

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 19/03/2005 at 09:23, xxxxxxxx wrote:

          Although the Filter Types page says they are used by BaseBitmap and MovieSaver class, the MovieSaver page only lists those 6 of them, where FILTER_QTVRSAVER_PANORAMA is not included. And as you cannot get it to work, I´d assume it´s not possible.

          1 Reply Last reply Reply Quote 0
          • H
            Helper
            last edited by

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 25/03/2005 at 13:06, xxxxxxxx wrote:

            Yes, this looks like a limitation. I guess it would be possible to work around it by letting the renderer do the work, creating a QTVR rendering of a camera fixed plane with a custom shader. Or you could save the raw pictures and use an external tool.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post