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

    not enough Memory

    SDK Help
    0
    2
    204
    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 16/06/2008 at 06:39, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   10 
      Platform:   Windows  ;   
      Language(s) :   C.O.F.F.E.E  ;

      ---------
      Hi
      I wrote a small Plugin for importing HLAE Cam Files.

      HLAE Cam files are file, which contains the motiondatas of every frame, you captured with HLAE.

      The file is just a bvh File, containing one Bone for the camera.

      No I worte a plugin to import such files. The Problem is, if the file is bigger, i don't have enough memory.

      I saved the Motiondata in a COFFEE Tag, which automatically updates every frame.

      Not Enough memory for PCODE

      hlcam2c4d_source

      I wish someone can look into it and maybe check why this needs so much RAM

      I have some Cammotion Files for testing
      http://mst-gaming.de/downloads/motion1987.bvhmotion868.bvh Load correctly

      motion1987.bvh takes a while to load

      motion3630.bvh C4D Crashes, out of memory

      I hope for helping

      Sincerly,
      msthavoc

      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 08/08/2008 at 07:15, xxxxxxxx wrote:

        Hello,
        i am not sure about the reason for your crash, but just a little idea:
        Your plugin will have to process any cam-motion-datasize if it should work correctly. There will always be a final border till it may work and then crashes due to the lack of memory. What about creating a new plugin-animation-track with sequence and keys that streamread your motionfiles and just pick the right cam-position from a harddrivefile for the current frame? This would mean you do not have to store all animation-data in a tag (I made the experience with other plugin-tags that mostly they get very memory-consuming in the end).
        This concept was already realized similarily in the e-pla-plugin streaming point-level-animation-data per frame from the harddrive.
        best greetings,
        Coffejunkie

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