• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Plugin] Import OBJ with Materials v2.1 20131118

Scheduled Pinned Locked Moved Plugins
279 Posts 87 Posters 378.6k Views 87 Watching
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.
  • K Offline
    Kgon
    last edited by 27 Jul 2009, 20:55

    Hello everyon!!

    Well,i'm trying this plugin and it seems awesome , but im having a problem with it, after the import nothing shows up..i mean sketchup makes the entire process ( count of the lines) and once SU finish ...nothing is displayed in the screen...it says " x number of lines processed" but the su file is clean as when you open a new file..so...m i doing something wrong? i'm trying importing a XFrog tree ,sometimes su ask me for to flip yz ,sometimes don't but no matter what option i select yes or not nothing works..., any clue ??

    By the way my xfrog trees are in max ,i open them in max then i export them like an .Obj file format ..Could it be a max exporting issue that don't let the object importer works well with the xported Object??

    1 Reply Last reply Reply Quote 0
    • C Offline
      Chris Fullmer
      last edited by 27 Jul 2009, 22:16

      In the other importers, once you import a model, you have to then click somewhere in the model to place the imported piece. Try that and see if it helps.

      Chris

      Lately you've been tan, suspicious for the winter.
      All my Plugins I've written

      1 Reply Last reply Reply Quote 0
      • K Offline
        Khai
        last edited by 27 Jul 2009, 22:27

        tried that Chris, no go.

        with some OBJ's they are just not importing for some reason.. I've sent an example to TIG and I hope he can figure out why...

        1 Reply Last reply Reply Quote 0
        • K Offline
          Kgon
          last edited by 27 Jul 2009, 23:06

          Yup , don't go placing it anywhere...let's wait if TIG find the tricky thing,I really hope so because the good 3d vegetation it's very important to achieve realism in renderings,that's why i need this plugin work perfect so bad. πŸ˜„

          1 Reply Last reply Reply Quote 0
          • C Offline
            Chris Fullmer
            last edited by 27 Jul 2009, 23:42

            Another thought, if you have them in Max already, why not export as .3ds?

            Lately you've been tan, suspicious for the winter.
            All my Plugins I've written

            1 Reply Last reply Reply Quote 0
            • K Offline
              Kgon
              last edited by 28 Jul 2009, 00:10

              Hey Chris , It's quite simple. There is a limited number of faces that the .3ds allows per model. The 3ds file format only supports 64 000 faces and the Highly detailed vegetation may contain more than 540 000 and a .obj supports that quantity of faceS. That's why can't converte my trees into .3ds. Well, i could import a Xfrog tree..but ....DAM !! THERE IS NOT TEXTURES...it's not supposed that this .obj Importer would keep the texture cordenates or the UV mapping?? iT WOULD BE IMPOSIBLE TO MAP 540 000 faces PROPERLY with a texture wich is a .tiff Leaf

              1 Reply Last reply Reply Quote 0
              • T Offline
                TIG Moderator
                last edited by 28 Jul 2009, 09:04

                Here's v1.3 http://forums.sketchucation.com/viewtopic.php?p=172790#p172790

                I've trapped errors stopping most files importing - it works fine for all modestly sized OBJs, though some very complex ones still just won't take the textures - however, since these are added to the model they could be manually applied to the group/faces afterwards...

                TIG

                1 Reply Last reply Reply Quote 0
                • K Offline
                  Khai
                  last edited by 28 Jul 2009, 14:32

                  oh thats nice πŸ˜„
                  thank you... everything I've tried is coming in fine now πŸ˜„

                  1 Reply Last reply Reply Quote 0
                  • K Offline
                    Kgon
                    last edited by 30 Jul 2009, 06:51

                    Thank you very much TIG , i got a xfrogg with 675000 lines-faces(don't remember)into Su but still there is textures missing ( i know, i read YOU MENTION THIS BEFORE " with complex model wont keep the textures coordinates but you can re-apply them by hand afterward..)How this can be done if every sigle face is different than the other 674999 ?(...I'M TALKING ABOUT TO MAP A TREE) i mean it would be easy if the faces were components so this could make to re-map a tree a easier work. However I REALLY REALLY APPRECIATE ALL THE EFFORT AND TIME YOU ARE PUTTING ON THIS PLUGIN TO MAKE IT WORK.

                    THANK YOU SO MUCH

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      raduteo
                      last edited by 1 Aug 2009, 16:16

                      Howdy, guess this deserves a bump, hopefully we will be able to import high poly count models into SU with textures.

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        d12dozr
                        last edited by 12 Sept 2009, 07:36

                        Thanks TIG, the plugin works great for importing geometry, but the UV mapped texture is coming in all black. Am I doing something wrong? I have attached a ZIP with the .obj, .mtl and 3 textures (for different times of day).

                        Thanks!


                        Includes .obj, .mtl, and 3 .jpgs

                        3D Printing with SketchUp Book
                        http://goo.gl/f7ooYh

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          TIG Moderator
                          last edited by 12 Sept 2009, 09:47

                          @d12dozr said:

                          Thanks TIG, the plugin works great for importing geometry, but the UV mapped texture is coming in all black. Am I doing something wrong? I have attached a ZIP with the .obj, .mtl and 3 textures (for different times of day).
                          Thanks!

                          The files/folders in your set aren't right.
                          The mtl file is looking for an image in the same folder as itself NOT the 'tex' folder. Copy the images into that base folder and it works - ensure 'textures' are switched on too...
                          There's only one image called in the mtl file - you included three ?

                          Open the obj and mtl files in a text editor to see what I mean...
                          I attach an image of what I get with the file move fix...t_13.png

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            d12dozr
                            last edited by 12 Sept 2009, 17:01

                            Works perfect now!! Thanks, TIG...I am a complete newbie with .obj's and .mtl's so please forgive my ignorance 😳 I'm guessing that I'll have to manually change the .mtl to use the other 2 textures...Once again, thanks for the great plugin

                            3D Printing with SketchUp Book
                            http://goo.gl/f7ooYh

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              TIG Moderator
                              last edited by 13 Sept 2009, 11:32

                              Good. If you manually change the mtl file make sure that image's file name matches exactly...

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • rami_lpmR Offline
                                rami_lpm
                                last edited by 14 Sept 2009, 13:38

                                haha! Xfrog trees in SU models, that'll be the day.

                                1 Reply Last reply Reply Quote 0
                                • thomthomT Offline
                                  thomthom
                                  last edited by 14 Sept 2009, 14:10

                                  @rami_lpm said:

                                  haha! Xfrog trees in SU models, that'll be the day.

                                  If you look over at ASGvis' forum you'll see a number of models rendered with Xfrog trees...

                                  Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                  List of my plugins and link to the CookieWare fund

                                  1 Reply Last reply Reply Quote 0
                                  • N Offline
                                    notareal
                                    last edited by 26 Oct 2009, 10:04

                                    πŸ‘

                                    Welcome to try [Thea Render](http://www.thearender.com/), Thea support | [kerkythea.net](http://www.kerkythea.net/) -team member

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      tomot
                                      last edited by 13 Nov 2009, 21:10

                                      Thank you Tig for this wonderful OBJ importer. It means I can now delete all my DXF files which I needed first so I could import into SU.

                                      I'm baffled why this Import feature has not been made part of SU at this late stage of SU development. If it were not for a small group of talented Ruby Scripters, my Plugins folder would not be descending past the bottom of my monitor display. Perhaps Google could, when they find some time, add a scroll bar to the Plugins Folder, or better yet the ability to add more Plugin folders to the menu bar.

                                      [my plugins](http://thingsvirtual.blogspot.ca/)
                                      tomot

                                      1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        sepo
                                        last edited by 23 Dec 2009, 14:09

                                        I tried to import .obj form Modo. It keeps telling me to change import units without creating any geometry. I tried with several ones but without success.

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          TIG Moderator
                                          last edited by 23 Dec 2009, 14:27

                                          @sepo said:

                                          I tried to import .obj form Modo. It keeps telling me to change import units without creating any geometry. I tried with several ones but without success.

                                          It guesses the units if there are none set in the obj file.
                                          The dialog let's you select the units.
                                          Have you tried all of the unit options ?
                                          Sometimes large/small units in the obj file affect SUp's ability to make the meshes...
                                          Post a problem obj file [PM me if desired] - not too large !
                                          πŸ‘Š

                                          TIG

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 13
                                          • 14
                                          • 2 / 14
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement