Instancing Components

Announcements, requests and support regarding SkIndigo - the Sketchup / Indigo exporter.
User avatar
Pibuz
1st Place 100
Posts: 2646
Joined: Tue Dec 11, 2007 7:58 am
Location: Padua, Italy
3D Software: SketchUp

Re: Instancing Components

Post by Pibuz » Wed May 04, 2011 10:58 pm

Hi Max! Yes, I do remember a technique you posted some time ago on the italian forum.. I thought that was a little more tricky than this one by Whaat, to be honest 8) I'm kinda lazy I must say, and I find these new hints to work better and better fit my workflow.

Still, I also find that we will need a better method to guess the obj materials than trial and error. So I hope this is a basis on which a more sophisticated procedure will be built on. Go Dale! :D

User avatar
snorky
Indigo 100
Posts: 331
Joined: Fri Apr 17, 2009 8:54 pm
Location: Parma, Italy

Re: Instancing Components

Post by snorky » Thu May 05, 2011 12:53 am

Whaat wrote:...
6) Try rendering with Indigo. You will get error messages because Indigo cannot find the proper materials for the external file. Take note of the name of the material in the error message.
...
can you add a script to connect a found orphan material to an igm file by inputbox before it export to indigo???
so you avoid the error messages!!!

User avatar
Pibuz
1st Place 100
Posts: 2646
Joined: Tue Dec 11, 2007 7:58 am
Location: Padua, Italy
3D Software: SketchUp

Re: Instancing Components

Post by Pibuz » Thu May 05, 2011 1:35 am

So Dale... I gave this a try and I must report it doesn't work for me. Problems show up after trying the render: the error Indigo gives me doesn't concern specific missing materials, but a general problem loading the mesh. I correctly pre-named the component, activated the instancing method and accurately specified the path to find it (running on XP). Tried different paths but I don't seem to be able to solve anything.

User avatar
Pibuz
1st Place 100
Posts: 2646
Joined: Tue Dec 11, 2007 7:58 am
Location: Padua, Italy
3D Software: SketchUp

Re: Instancing Components

Post by Pibuz » Thu May 05, 2011 6:09 am

Sorry to bother. I made some tests and only few of them (ONE, to be more precise) work as they should. I'm doing tome tests with OBJs created with treeD. Note that importing the objects into SU using the traditional OBJ importer by Fluid (official SU forums) gives no error messages.

I attach two screenshots: one is from SU and the second one is from Indigo. It says something about some line3 column9.. I've followed the instructions by Whaat and the tips I was given by the great Snorky, but nothing seems to work with some models.


I can attach one of them if you want to try..
http://www.box.net/shared/imo14or1ta
Attachments
SU screen.jpg
indigo screen.jpg

User avatar
snorky
Indigo 100
Posts: 331
Joined: Fri Apr 17, 2009 8:54 pm
Location: Parma, Italy

Re: Instancing Components

Post by snorky » Thu May 05, 2011 10:13 am

ehi Pibuz...
first: wrong path!!! works only with whole path, with file.extension.
second: line " vn NaN NaN NaN " on obj file may cause error

User avatar
Pibuz
1st Place 100
Posts: 2646
Joined: Tue Dec 11, 2007 7:58 am
Location: Padua, Italy
3D Software: SketchUp

Re: Instancing Components

Post by Pibuz » Thu May 05, 2011 7:29 pm

Hi Max! I understand the first error (I don't know why I didn't include the extension....I usually do :oops: )

But I don't manually WRITE the obj, that is just as exported from TreeD!
How can I fix that?

EDIT: fixing the path doesn't solve the problem, same exact issue :?

User avatar
snorky
Indigo 100
Posts: 331
Joined: Fri Apr 17, 2009 8:54 pm
Location: Parma, Italy

Re: Instancing Components

Post by snorky » Fri May 06, 2011 1:44 am

Pibuz wrote:Hi Max! I understand the first error (I don't know why I didn't include the extension....I usually do :oops: )

But I don't manually WRITE the obj, that is just as exported from TreeD!
How can I fix that?

EDIT: fixing the path doesn't solve the problem, same exact issue :?
problem solved!
I fix it with meshlab... is simple and fast.

great tree!

:mrgreen:

User avatar
Pibuz
1st Place 100
Posts: 2646
Joined: Tue Dec 11, 2007 7:58 am
Location: Padua, Italy
3D Software: SketchUp

Re: Instancing Components

Post by Pibuz » Fri May 06, 2011 1:56 am

...I'd rather say "problem avoided" :mrgreen:

I'd very like to know why the SkIndigo external reference doesn't work...maybe Whaat can tell...

User avatar
Pibuz
1st Place 100
Posts: 2646
Joined: Tue Dec 11, 2007 7:58 am
Location: Padua, Italy
3D Software: SketchUp

Re: Instancing Components

Post by Pibuz » Fri May 06, 2011 2:51 am

BTW, MeshLab "fixed" the geometry problem indeed..
Now...is it possible to rotate the axis of the mesh? :mrgreen:

User avatar
snorky
Indigo 100
Posts: 331
Joined: Fri Apr 17, 2009 8:54 pm
Location: Parma, Italy

Re: Instancing Components

Post by snorky » Fri May 06, 2011 3:31 am

Pibuz wrote:BTW, MeshLab "fixed" the geometry problem indeed..
Now...is it possible to rotate the axis of the mesh? :mrgreen:
:arrow: http://meshlab.sourceforge.net/wiki/ind ... ing_a_Mesh

User avatar
Pibuz
1st Place 100
Posts: 2646
Joined: Tue Dec 11, 2007 7:58 am
Location: Padua, Italy
3D Software: SketchUp

Re: Instancing Components

Post by Pibuz » Fri May 06, 2011 6:54 pm

First forest of external components. I used the "fixed" tree :wink: Thank you Snorky!
Attachments
forest.jpg

User avatar
fractal.design
Posts: 51
Joined: Wed Sep 08, 2010 4:38 pm

Re: Instancing Components

Post by fractal.design » Fri May 06, 2011 7:07 pm

Far out, that's looking great.

User avatar
japc
Posts: 16
Joined: Fri Mar 05, 2010 5:42 am

Re: Instancing Components

Post by japc » Wed May 11, 2011 8:24 am

Howw this really works!
Attachments
test.jpg

User avatar
Frutiger
Posts: 122
Joined: Wed May 05, 2010 4:05 am
Location: Northern California

Re: Instancing Components

Post by Frutiger » Wed May 11, 2011 8:36 am

Jealousy consumes me. I'm going to give this another try on my Mac. Any idea if my task is a futile one, Whaat?

FoXar
Posts: 139
Joined: Wed Feb 23, 2011 9:57 pm

Re: Instancing Components

Post by FoXar » Mon May 16, 2011 12:04 am

Wow, this is really staggering! Very nice, can't wait till this option is available! How will you be able to change the materials etc?

Cheers,
Roo Evans
Cheers,
Roo Evans

Post Reply
44 posts

Who is online

Users browsing this forum: Majestic-12 [Bot] and 111 guests