sketchucation logo sketchucation
    • 登入
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] OBJexporter v3.0 20130131

    已排程 已置頂 已鎖定 已移動 Plugins
    304 貼文 96 Posters 451.3k 瀏覽 96 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • U 離線
      User2012
      最後由 編輯

      I will render my SU-Model in DAZ-Studio (http://www.daz3d.com) so I need my model as OBJ and I'm very happy to find these plugin. But after the import (.obj and .mtl) in DAZ (or I tested it also in MeshLab) not all textures are correctly. The wrong textures a not the biggest problem, I can fix it in DAZ, but a lot of skins are declared as "Default material" but there are not default. So I can't adjust them separately. Is where anything I can do to fix it?

      1 條回覆 最後回覆 回覆 引用 0
      • TIGT 離線
        TIG Moderator
        最後由 編輯

        @user2012 said:

        I will render my SU-Model in DAZ-Studio (http://www.daz3d.com) so I need my model as OBJ and I'm very happy to find these plugin. But after the import (.obj and .mtl) in DAZ (or I tested it also in MeshLab) not all textures are correctly. The wrong textures a not the biggest problem, I can fix it in DAZ, but a lot of skins are declared as "Default material" but there are not default. So I can't adjust them separately. Is where anything I can do to fix it?

        Remember to apply textured-materials to faces rather than components/groups.
        Textures with 'skewed' UV-mapping will no be correct - make these materials unique before you export.
        If you are opening a file based on an earlier obj your application might remember old settings - try afresh...
        I suspect this as the main problem... IF you have faces showing with 'default-material' when they aren't in the SKP then I suspect that you have modeled [or have imported others' objects] with some of the faces 'reversed'.
        To check this switch you View to Monochrome mode with a Style where the back-face material is very different to the front - say blue v. white. You might then find that you have applied textures to the back of some faces and the front face is indeed still in the 'default-material'. ALL back faces always export as having the 'default-material' since an OBJ by default only shows front faces with applied materials...
        It is not the fault of the exporter, or the application importing the file - rather the modeler has simply made the SKP wrong and both other tools are showing the result...
        There are several tools like my 'FixReversedFaceMaterials' that help you sort out this kind of messy modeling...... 🤓

        TIG

        1 條回覆 最後回覆 回覆 引用 0
        • U 離線
          User2012
          最後由 編輯

          Thanks for the answer 👍 – just these moment I found the same idea in the help …

          Error 404 (Not Found)!!1

          favicon

          (sketchup.google.com)

          A plain has a front and a back side, no problem in SU. But on the export only the front side will be exported – so I have to use the monochrome-view to find all ‘back-side’ plains in my model an change them into a front-side. Easy but takes a long time …

          1 條回覆 最後回覆 回覆 引用 0
          • TIGT 離線
            TIG Moderator
            最後由 編輯

            @user2012 said:

            Thanks for the answer 👍 – just these moment I found the same idea in the help …

            Error 404 (Not Found)!!1

            favicon

            (sketchup.google.com)

            A plain has a front and a back side, no problem in SU. But on the export only the front side will be exported – so I have to use the monochrome-view to find all ‘back-side’ plains in my model an change them into a front-side. Easy but takes a long time …

            Look at this http://forums.sketchucation.com/viewtopic.php?p=264134#p264134 ............

            TIG

            1 條回覆 最後回覆 回覆 引用 0
            • U 離線
              User2012
              最後由 編輯

              Thanks!!!! Very good advice - the plugin is very helpfully. The German translation of the menutext in the plugin is horrible - but it works 😍

              1 條回覆 最後回覆 回覆 引用 0
              • TIGT 離線
                TIG Moderator
                最後由 編輯

                @user2012 said:

                Thanks!!!! Very good advice - the plugin is very helpfully. The German translation of the menu-text in the plugin is horrible - but it works 😍

                The ...DE.lingvo file is easily edited - the supplied lingvo files are not the definitive translations - some locales don't even get one! - they are for you to adjust/correct/improve - please do so and post you improved version for other German locale users too... 🤓
                It is 'free' so do your bit to improve it... 😐

                TIG

                1 條回覆 最後回覆 回覆 引用 0
                • U 離線
                  User2012
                  最後由 編輯

                  @tig said:

                  The ...DE.lingvo file is easily edited - the supplied lingvo files are not the definitive translations - some locales don't even get one! - they are for you to adjust/correct/improve - please do so and post you improved version for other German locale users too... 🤓
                  It is 'free' so do your bit to improve it... 😐

                  So here is my version of the FixReversedFaceMaterialsDE.lingvo. I hope it will help other German users ("Viel Spass damit!"). Perhaps it's better posted or linked to the FixReversedFaceMaterial topic?


                  FixReversedFaceMaterialsDE.zip

                  1 條回覆 最後回覆 回覆 引用 0
                  • TIGT 離線
                    TIG Moderator
                    最後由 編輯

                    @user2012 said:

                    @tig said:

                    The ...DE.lingvo file is easily edited - the supplied lingvo files are not the definitive translations - some locales don't even get one! - they are for you to adjust/correct/improve - please do so and post you improved version for other German locale users too... 🤓
                    It is 'free' so do your bit to improve it... 😐

                    So here is my version of the FixReversedFaceMaterialsDE.lingvo. I hope it will help other German users ("Viel Spass damit!"). Perhaps it's better posted or linked to the FixReversedFaceMaterial topic?

                    I add it there and also include it in any future updates...

                    TIG

                    1 條回覆 最後回覆 回覆 引用 0
                    • F 離線
                      Foun10Head-X
                      最後由 編輯

                      Thanks TIG for this plug-in.

                      1 條回覆 最後回覆 回覆 引用 0
                      • TIGT 離線
                        TIG Moderator
                        最後由 編輯

                        Here's v1.1 http://forums.sketchucation.com/viewtopic.php?p=294844#p294844
                        The Image class method extensions now only load if they haven't been defined already...

                        TIG

                        1 條回覆 最後回覆 回覆 引用 0
                        • B 離線
                          Buzzzzy
                          最後由 編輯

                          I am having some trouble getting this plug-in to show up in the file menu. I placed it in the Plugins folder, but it still won’t show up.

                          1 條回覆 最後回覆 回覆 引用 0
                          • TIGT 離線
                            TIG Moderator
                            最後由 編輯

                            I'm assuming you get no error messages with it ?

                            If it's still not there under the File menu as 'OBJexporter'... then if you are on Vista it might appear that you have added it to the ../Plugins/ folder but the .rb file has actually been moved into a 'Compatibility Files' folder to 'protect you' 😒

                            If so you need to fix your right-click Preferences > Security and reset 'access rights' to be 'full' for both the Plugins folder, and any files or subfolders in it... 🤓

                            TIG

                            1 條回覆 最後回覆 回覆 引用 0
                            • J 離線
                              Jabberwock xeno
                              最後由 編輯

                              Hey, i'm new here.

                              I just exporeted something, but how do I access it?

                              1 條回覆 最後回覆 回覆 引用 0
                              • TIGT 離線
                                TIG Moderator
                                最後由 編輯

                                @jabberwock xeno said:

                                Hey, i'm new here.
                                I just exported something, but how do I access it?

                                Look in the Model's folder.
                                There will be the Model.SKP file [and perhaps Model.SKB backup file].
                                After running the OBJexporter you should also have a Model.OBJ file and a Model.MTL.
                                The OBJ file defines the geometry and its matching MTL file defines the materials.
                                If there are 'textures' used by any materials then the required image files are put into a subfolder named 'Model_Textures'.
                                If you now import the OBJ file into an application it will automatically look for the material MTL file in the same folder as the OBJ... and if there are any images needed by the MTL file that looks in the 'Model_Textures' subfolder that is with the two files... So if you move the files you must ensure that they and the subfolder are all kept together in the same relationship - if you are sending them to someone else zip them in the same relationship too.

                                TIG

                                1 條回覆 最後回覆 回覆 引用 0
                                • K 離線
                                  krash88
                                  最後由 編輯

                                  Just wondering if anyone else has had a problem like mine. When I use your OBJ exporter and then open it in another app, none of the geometry is connected. For instance, after loading in Ultimate Unwrap 3D all triangles are individual and not welded. After imported into Sculptris all modifications affect individual faces only. I hope I explained that well enough 😄

                                  http://i109.photobucket.com/albums/n65/krash88/cush3D.jpg

                                  Model

                                  http://i109.photobucket.com/albums/n65/krash88/cushSUobj.jpg

                                  SU Pro OBJ in Ultimate Unwrap 3D - Box UV map

                                  http://i109.photobucket.com/albums/n65/krash88/cushTIGobj.jpg

                                  TIG's OBJ in Ultimate Unwrap 3D - Box UV map

                                  Any insight as to what I may be doing wrong?

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • TIGT 離線
                                    TIG Moderator
                                    最後由 編輯

                                    I'm not sure I fully understand...
                                    I does export faces as triangles - irrespective of their original form.
                                    It doesn't 'weld' faces rather export separate faces, but each face's UV-mapping should be respected - unless the texture has been 'skewed'... 😕

                                    TIG

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • J 離線
                                      Jim
                                      最後由 編輯

                                      The exporter is not re-using vertices, instead creating new entries for each face regardless if they are already in the vertex list.

                                      (That's more of an assumption since I haven't looked at the code.)

                                      Hi

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • K 離線
                                        krash88
                                        最後由 編輯

                                        I was hoping to edit the exported OBJ in Sculptris mainly. I just figured that Ultimate Unwrap 3D would give a better example. Here's what I get when smoothing faces in Sculptris...

                                        http://i109.photobucket.com/albums/n65/krash88/cushSCLPT.jpg

                                        Since the faces aren't welded, they 'break' when editing. Would it be possible to export with welded faces?

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • K 離線
                                          krash88
                                          最後由 編輯

                                          Ok, I just remembered that Whaat's UV Tools exports to OBJ and all is good!

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • TIGT 離線
                                            TIG Moderator
                                            最後由 編輯

                                            This is v1.2 http://forums.sketchucation.com/viewtopic.php?p=294844#p294844
                                            Distorted textures are exported as distorted 'unique texture' files and re-UV-mapped - just like the Pro OBJ-exporter.

                                            TIG

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 15
                                            • 16
                                            • 10 / 16
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement