Announcement

Collapse
No announcement yet.

C4D to UE4 anyone?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    C4D to UE4 anyone?

    Hi all, haven't been on here for a while. Is anyone using C4D with Unreal? Seeing some amazing interiors on here. I'm using vrayforc4d and still struggling to export my scenes from C4D to Unreal.

    Any C4D users with tips? :-)

    Regards

    #2
    If you can export in .fbx you should not have any problem. What's happening?

    Comment


      #3
      Hi George. Can you be more specific about the problem? You should find everything you need in this forum thread https://forums.unrealengine.com/show...ma-4D-Workflow
      I found it very helpfull in the past.

      Comment


        #4
        Another C4D user here, as other have said please expand on your problems.

        Comment


          #5
          Hi guys, sorry for my late reply, been busy busy :-) was just looking to see if any C4D users had a workflow that they could share with regards to texturing and then exporting from C4D to UE4. A general walk through more than anything. It all seems to be 3D max, blender etc and very little C4D.

          Basically preparing textures in C4D for UE4.

          Regards,

          George :-)

          Comment


            #6
            Originally posted by George3d View Post
            Hi guys, sorry for my late reply, been busy busy :-) was just looking to see if any C4D users had a workflow that they could share with regards to texturing and then exporting from C4D to UE4. A general walk through more than anything. It all seems to be 3D max, blender etc and very little C4D.

            Basically preparing textures in C4D for UE4.

            Regards,

            George :-)
            You'll have to texture in UE4 from what I know.

            Comment


              #7
              Regardless what program you're using for modelling, the basics of modelling for games apply to all of them.

              You can adopt a lot of e.g. 3dsMax Tutorials even if you use Cinema 4D.
              But you need to know your tools.

              Example: when a Max Tutorial talks about smoothing groups, you need to know that you can achive similar results in C4D by using the Phong Tag and Phong breaks.

              As for texturing, you won't be able to bring all these fancy vray shaders into UE4.
              They are built for raytraced rendering with high accuracy, while most realtime solutions are just faking certain effects because computing time matters.

              I have no experience with vray, so i don't know if it is possible at all to bake these materials into usable texturemaps.
              But in know a lot about baking regular c4d shaders and effects into texturemaps.

              Long story short: in a lot of cases what works for rendering doesn't always work for realtime graphics.

              The base of every good realtime model is the UV map.
              Rendered models do not always require to be UV mapped because you can work with hundreds of material selections, different material projections and effects like dirt applied as shader effects.

              Luckly, if your model has a usable UV map, most of these effects can be baked to texturemaps.
              So you can have a Model set up with lots of different materials and bake all these to a single UV map.

              Going into detail here would require to write a full scale tutorial, which i don't wanna do right now.

              Comment


                #8
                Thanks Guys, As busy as I am, stills are no longer enough for clients. I have Lumion 6 but when it comes to realism, especially interiors which is my main thing then as I'm sure you all know, Lumion doesn't cut it at the moment. So, UE 4 here we come..........I hope :-)

                Comment


                  #9
                  So this is about architectural visualisation using UE4.
                  In that case you won't need to be as strict about multiple materials on models as you would need to be with modelling for a game.

                  As you might have seen in the ArchVis samples UE4 provides, they can also be quite high in polycount, if it's restricted to interior scenes.
                  Also multiple materials on a model isn't exactly a huge factor here, too.

                  You might want to split your materials based on the different shaders you'd like to use for them.
                  So a chair with metal-leather material in C4D should have a polygon selection for the metal parts and one for the leather.
                  Assign them a material using these selections.

                  When exporting to UE4, you should use the fbx 6.10 2010 version (on R17.048 at least), since recently someone discovered
                  that it has the best compatibility with UE4 and exports even materials and textures correctly, if you choose the right export and import options.

                  One thing you should read for sure is the lightmapping guide Unreal provides:
                  https://docs.unrealengine.com/latest...ing/index.html

                  For creating a lightmap in C4D, you have to create a second UV Tag on your model e.g. by copying your first one.
                  Having both Tags use different names is mandatory, the name itself can be whatever you like.
                  UV0 and UV1 will work as well as DiffuseUV and LightmapUV or SantaClause and EasterBunny.

                  One disadvantage of C4D is the inability to have a grid snapping on the UV Editor.
                  Since in UE4 the lightmap will be usually based on a smaller texture resolution, all your UV islands on the lightmap will need enough edge padding and ideally would match the pixels on the UV map properly.

                  Sometimes a higher Lightmap resolution will work, if you experience issues like light/shadow bleeding, but in other cases you might need to edit your lightmap UVs and split up or attatch uv islands.

                  In UE4 you might want to build up a material library with base materials, just like you might have in C4D with your vray Materials.

                  Comment


                    #10
                    Hi Kraid, Helpful as always, thank you very much for taking the time to advice me on this.

                    Comment


                      #11
                      Is there anyway to export with .fbx 2014 with cinema 4d r14? My model exports, but my textures do not and I find it really annoying. I'm probably going to get r17 because I really want to work with ue4 in the future.

                      Comment


                        #12
                        George3d and Pandasian , kraid is right guys.
                        Exporting to UE4 from Cinema 4d with c4d fbx 6.1 2010 and it works like a Pro ,it export the textures and even the textures are compiling it right, every is be setup Color channel, Luminance channel, reflectance or Spec.. channel and Normal channel for the material, works fine, also no need for creating Light-Maps because if you add it, It will not work, just let UE4 generate light-map for you in importing process, which is great and everything works fine. But now when I try to use 7.4 2014 or 7.5 2016 , it dont work right.
                        Also you can only use R16 and R17 fbx 6.1 2010 for method to work.
                        Go to this Forum: https://forums.unrealengine.com/show...ght=c4d+export
                        or this one:
                        https://forums.unrealengine.com/show...ght=c4d+export
                        Cheers,
                        AP \ CGI ART

                        Comment


                          #13
                          @Pandasian: alternatively you could use thirdparty fbx exporters like Cactus Dans fbx exporter, unless you want to buy R17 for other reasons too.

                          @CGI Art: lightmap UV export works just fine in R17.048 with fbx 6.1 2010 exporter.
                          Any other version of cinema or fbx exporter destroys the smoothing information when having two UV Tags.
                          The automatic lightmap creation can work for some meshes, others might end up with a worse UV layout.
                          For sure it takes away the control over the lightmap UV layout, just like any automatism used.

                          Comment


                            #14
                            Originally posted by kraid View Post

                            One disadvantage of C4D is the inability to have a grid snapping on the UV Editor.
                            Since in UE4 the lightmap will be usually based on a smaller texture resolution, all your UV islands on the lightmap will need enough edge padding and ideally would match the pixels on the UV map properly.

                            Hello there, thanks for the super detailed post.
                            I'm super noob with ue4 and what follows could be wrong and useless.

                            Regarding the inability of C4D to grid snap onto the UV Editor, how about we use a plane as reference grid and we snap the islands\shells to the edges of it?

                            The workflow would be something like this:
                            1. Let's say that for our model we're are targeting in ue4 a lightmap resolution of 512 (or multiples), back in C4D we create a regular square plane with 256x256 segments and make it editable (I wouldn't go higher with segments due to performance issue in the viewport. As long as the targeted lightmap res is a multiple, that should scale fine)
                            2. Select both the new plane\grid and the model, and run a "connect objects" command (without deleting the originals for safety\backup). Note_1: make sure that both meshes are not overlapping before connecting them, so that you can easily select edge\polys afterwards. Note_2:might be better if you've already unwrapped and created the uv islands\shells of the model before you connect it with the plane, because once you connect the two meshes, it seems to be harder to use any projection method for UVs creation, because c4d tends to arbitrary split the selected UVs into different islands\shells. So might be better to do that work, before connecting the objects.
                            3. In the UV edit mode now you can selected the plane, it should be already perfectly projected onto UV window. It's now our reference grid, every single poly of the projected plane should now correspond to 2 pixel in the lightmap baked in UE4.
                            4. To perfectly snap to the lines of the grid just check "point" and "edge" fields in the SNAPPING tab under the attributes window of the BP UV edit layout. Then you can manually edit the single points of the island and snap them to the reference grid.
                            5. Once done, select the plane in the 3d viewer and erase it. You might need to run an optimize command to erase the unused points too.



                            As I've mentioned I'm pretty fresh to UE4 workflows and that could be a useless wall of text.
                            You tell me what you think.

                            I've a couple questions too:
                            1. How important it really is this perfect snapping to the pixel of the lightmap? Does it contribute a lot to the shadow leaking issue? Would be nice to see some real world test with different combinations (ie. not_snapped+high_res lightmap VS perfectly_snapped+low_res lightmap)
                            2. What is the workflow then for snapping organic meshes with lot of non straight faces?
                              If I understood correctly, for lightmaps baking inside UE4 it's irrelevant if UVs are crazily unwrapped, as long as they don't overlap, right? So you could snap to the grid the outer edges/points of an island, in order to make it perfectly squared, without caring if that would skew the UVs in an unnatural way when compared to the mesh, right?
                            Last edited by Alan Wolf; 02-13-2016, 10:34 PM.

                            Comment


                              #15
                              Just a quick note:
                              you can turn the polygon selection of the grid invisible, which also applies to the UV polygons in UV edit.
                              It'll still snap the vertics to the grid.

                              One thing you need to pay attention to is the way you remove the UV Grid model.
                              In worst case it'll destroy your whole UV layout by reassigning UVs.
                              The whole Layout will look the same, but the UV polygons were assigned to other polygons.

                              Had that issue when i was testing this approach a while ago, which made me ditch that idea completly.

                              Obviously i did something wrong then, because in my new test a few minutes ago it worked as intended.

                              Comment

                              Working...
                              X