MovieSaver and QTVR ?



  • 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



  • 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



  • 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.



  • 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.


Log in to reply