can't use Indigo Material database materials

Announcements, requests and support regarding the Blender Indigo export script
User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Re: can't use Indigo Material database materials

Post by dougal2 » Tue Jan 31, 2012 7:30 am

scatman wrote: So...when you install blendigo 3.2.5.0, it's placed in in the following location by default:
C:\Users\scatman\AppData\Roaming\Blender Foundation\Blender\2.61\scripts\addons\2.62\scripts\addons
Grrr :x Blender can be so retarded at times.

On the other hand, perhaps I should have released 3.5.2.0 with the correct version number info :oops:

User avatar
Headroom
Indigo 100
Posts: 1060
Joined: Wed Aug 08, 2007 1:07 pm
Location: Spartanburg, SC, USA
Contact:

can't use Indigo Material database materials

Post by Headroom » Tue Jan 31, 2012 7:39 am

I'll see if I can check this out tonight. I usually run Blender in Mac OSX bit I have. Win7 installation in Bootcp for my CAD system that I can test this on.
IIRC on windows machines the default installation Directory
For Blender is c:\Program Files\Blender Foundation\Blender\2.61
iMac 2.93 GHz Quad Core i7. 12 GB memory
ATI Radeon HD 5750M 1024 MB
OS X 10.10.3 Yosemite
Blender 2.72, Blendigo 3.8.25, Indigo 3.8.26

Trippy Lighting LLC - Colorful LED lighting systems
High Power RGB LED driver - Blog

User avatar
Headroom
Indigo 100
Posts: 1060
Joined: Wed Aug 08, 2007 1:07 pm
Location: Spartanburg, SC, USA
Contact:

Re: can't use Indigo Material database materials

Post by Headroom » Tue Jan 31, 2012 2:31 pm

I am not sure this has to do with Blender.

I just finished a fresh install of Blender 2.61, Indigo 3.2.5 and Blendigo 3.2.5.0 on my Windows 7 (Home Premium) installation running in Bootcamp on my iMac. I accepted the defaults for install locations.

Per default Blender (as usual), is installed in C:\Program Files\Blender Foundation\Blender\2.6.1
Indigo is installed in C:\Program Files\..... as well

The newest Blendigo release however seems to be installed in:
C:\Program Files\Blender Foundation\Blender\2.6.2\scripts\addons\indigo

That of course should be ....\2.6.1\scripts\addons\indigo. Manually copying the "indigo" folder into the correct 2.6.1 subdirectory remedies that. Then in Blender as usual the add-on has to be enabled in order to function.

I am not sure why in scatman's case the Blendigo scrip gets copied into his user directory. There is not good reason for it unless it's a multi user machine in a corporate environment.

Anyway, having installed everything by accepting the defaults (and copying the script into the 2.6.1 subdir) I have no problems assigning external materials in Blender/Blendigo and rendering these. I can equally access the online matdb through Indigo and render these.

scatman
Posts: 63
Joined: Thu Jun 11, 2009 12:12 pm
Location: North Carolina, USA

Re: can't use Indigo Material database materials

Post by scatman » Wed Feb 01, 2012 3:25 am

Maybe the answer to my Indigo issues can be found in the Blender System Console. This is what appears in that console at startup:

found bundled python: C:\blendeRender\blender vers\blender2.61 64bit\2.61\python

[Lux 2012-Jan-31 10:08:51] Using pylux version 0.8RC3
Traceback (most recent call last):
File "C:\blendeRender\blender vers\blender2.61 64bit\2.61\scripts\modules\addo
n_utils.py", line 271, in enable
mod.register()
File "C:\blendeRender\blender vers\blender2.61 64bit\2.61\scripts\addons\modul
es\extensions_framework\__init__.py", line 350, in register
bpy.utils.register_class(cls)
TypeError: validating class:, Panel.bl_options expected a set, not a str
***********************************************************************************************************

Furthermore, when I don't try to apply an external material, Indigo opens and renders fine. If I then, within Indigo, press "Local Material Database" and "Add to scene" and then press "Assign Material", I get the following error:

Error while updating Scene:
Error while updating material 'Parquett_oiled': Error with material 17: Mesh has no UVs

still trying,
scatman

User avatar
Headroom
Indigo 100
Posts: 1060
Joined: Wed Aug 08, 2007 1:07 pm
Location: Spartanburg, SC, USA
Contact:

can't use Indigo Material database materials

Post by Headroom » Wed Feb 01, 2012 3:54 am

I can't speak to the Blender console output but the error message in Indigo clearly states that you have not UV-mapped your mesh. The presence of a UV map is a prerequisite for most Materials in the MatDb. You would UV-map/UV-unwrap your mesh in Blender. When you click Image in the Render panel in Blender the UV-map will be exported along with the mesh.
iMac 2.93 GHz Quad Core i7. 12 GB memory
ATI Radeon HD 5750M 1024 MB
OS X 10.10.3 Yosemite
Blender 2.72, Blendigo 3.8.25, Indigo 3.8.26

Trippy Lighting LLC - Colorful LED lighting systems
High Power RGB LED driver - Blog

scatman
Posts: 63
Joined: Thu Jun 11, 2009 12:12 pm
Location: North Carolina, USA

Re: can't use Indigo Material database materials

Post by scatman » Wed Feb 01, 2012 6:44 am

Well, that used to be easier.

I finally got the Parquett-Oiled material to render from the Local Material Database after figuring out how to uv map the floor plane in blender (thanks for the UV mapping youtube tutorial: http://www.youtube.com/watch?v=zv86PSPycPA.

But I'm positive that used to be easier. 'Mark seam, unwrap, select External, Local Material Database, Assign material, render'(I'm getting the blender UV steps confused with the Indigo steps)...I remember earlier all you needed to do to show a .jpg as a material in indigo was simply mark it as a UV in blender (I'm probably saying that wrong, but I think you know what I mean--whatever the steps were, I know I didn't need a youtube tutorial earlier).

There's gotta be an easier way. On in which you just (in blender) tell Indigo to use an external material, you select that .igm or .pigm from the Indigo Material database, and render.

scatman

User avatar
Headroom
Indigo 100
Posts: 1060
Joined: Wed Aug 08, 2007 1:07 pm
Location: Spartanburg, SC, USA
Contact:

can't use Indigo Material database materials

Post by Headroom » Wed Feb 01, 2012 7:48 am

It depends on what surface you want to assign the material to. If for example you have a simple flat surface e.g a floor board you don't have to mark seams but just go into top view and select select "map from view". Or you could use cube mapping or cylindrical mapping etc. There also are options that attempt to break up your mesh intelligently into patches. In essence for simpler stuff you don't necessarily jave to have to define seams.
iMac 2.93 GHz Quad Core i7. 12 GB memory
ATI Radeon HD 5750M 1024 MB
OS X 10.10.3 Yosemite
Blender 2.72, Blendigo 3.8.25, Indigo 3.8.26

Trippy Lighting LLC - Colorful LED lighting systems
High Power RGB LED driver - Blog

Post Reply
22 posts

Who is online

Users browsing this forum: No registered users and 23 guests