Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python 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
    • Recent
    • Tags
    • Users
    • Register
    • Login

    Rendering

    Scheduled Pinned Locked Moved SDK Help
    16 Posts 0 Posters 1.2k Views
    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 Offline
      Helper
      last edited by

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

      On 14/04/2005 at 14:33, xxxxxxxx wrote:

      thanks Mikael,

      so the correct way is to use videopostdata because i don't want to create a real objects but only a render copy.

      Is it possible?

      Cheers
      Renato T.

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

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

        On 21/04/2005 at 13:37, xxxxxxxx wrote:

        Yes, I think it's possible to create objects before the rendering and then remove the afterwards. If you don't want any real objects at all you will have to draw them yourself during the rendering in ExecutePixel().

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

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

          On 21/04/2005 at 16:16, xxxxxxxx wrote:

          Thanks, i'll try with it 🙂

          Cheers
          Renato T.

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

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

            On 24/04/2005 at 19:02, xxxxxxxx wrote:

            "It isn't possible to insert new RayObjects during rendering afaik"

            So is possible to insert new RayObjects before rendering?
            This can be good... how?

            Cheers
            Renato T.

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

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

              On 25/04/2005 at 13:19, xxxxxxxx wrote:

              Not actual RayObjects, I believe, but you can insert objects into the scene that you remove after the rendering.

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

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

                On 25/04/2005 at 13:40, xxxxxxxx wrote:

                I would like to make virtual object that point to real objects. I mean Instance like renderman can do.

                A stuff like this: http://www.e-onsoftware.com/Products/vue5infinite/video/ecocity.mov

                cheers
                Renato T.

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

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

                  On 28/04/2005 at 08:04, xxxxxxxx wrote:

                  You will need to do this yourself. There is no built in way otherwise it would be a feature of CINEMA already 😉
                  You will have two problems however, lighting and shadows. You will need to do those yourself, but you can sample the texture directly from the instance object (GetSurfaceData does this). Its just a case of a ray transform to the space of the instance. How you decide to implement it is your choice, there are a number of ways so the best depends on the use.

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

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

                    On 28/04/2005 at 09:53, xxxxxxxx wrote:

                    I though that best way was to clone RayObjects.. and render it 😞

                    There are not a examples where i can learn.. so it's very difficult to start with it.
                    I don't know how C4D rendering is working too, i mean what are all phase of rendering.

                    Do you mean that i need to trace each pixel myself?

                    Thanks
                    Renato T.

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

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

                      On 28/04/2005 at 13:05, xxxxxxxx wrote:

                      RayObjects are real polygons, you do not want to clone these for instances! (not that you can anyway). A RayObject is simply a structure that is generated at render time to hold some info about the original PolygonObject, it just holds some data and pointers but is just a reference to the original polygons.
                      There is nothing really to learn other than to look at the SDK example for rendering/shaders (e.g. ParticleVolume). You have all the calls you need in VolumeData for tracing rays and fetching surface data. Thats all you need.
                      As a rough guide, you take a ray, your transform it to your reference space then check if it intersected, if it did, sample the surface at the intersection and use that information (e.g. color and transparency) to then set the current sampling point (e.g. as in ParticleVolume it sets color based on distance from the particles).
                      This bit is easy, however, with the renderer you can not do lighting or shadows only sample the surface data (color, transparency...) so you would have to use the other calls in VolumeData to do those and then your own code for shadows.
                      Thats about all I could tell you without writing the code for you 🙂

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

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

                        On 28/04/2005 at 13:52, xxxxxxxx wrote:

                        RayObject have a collections of pointer to real object.

                        So a copy of a RayObject is a instance of the objects pointed. N-RayObject that point to same object with their Global Matrix.. to me sound like instances.

                        C4D rendering use RayObject to get all informations needed.. or not?

                        Thanks
                        Renato T.

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

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

                          On 28/04/2005 at 14:17, xxxxxxxx wrote:

                          No since the points are all in world coordinates, you would really not want to start transforming points at render time! plus the points of an object have to be fixed before rendering so that the ray cast can be accelerated. The RayObject is simply the pointers to the data needed for rendering. Duplicating this would not help (not that you can anyway).
                          I've outlined what you need to do, all the information is in the SDK examples and docs, just try it out and you'll see its very simple. I think you are getting distracted by the question of objects and ray objects, they're not going to help and not what you are looking for.

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

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

                            On 28/04/2005 at 14:34, xxxxxxxx wrote:

                            Ok, this is a good reply. Now i understand what 🙂

                            Thanks David 🙂
                            Renato T.

                            Ps. i'll like to have slower instance in rendering that nothing 🙂

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