DEV-thread - Blendigo v0.7 - material-editor-exporter

Announcements, requests and support regarding the Blender Indigo export script
Post Reply
522 posts
User avatar
GNUdo
Posts: 40
Joined: Sat Feb 10, 2007 10:05 am
Contact:

Linux

Post by GNUdo » Wed Feb 21, 2007 9:38 pm

@zuegs:
under Linux in the exporter-GUI the filename of the texture is correct, with slashes (/) in the file path but previewing the material gives this error:
SceneLoaderExcep: Failed to load texture
"\home\francesco\.wine\drive_c\Indigo-07\grid.jpg" (In element 'albedo_texture', around line 34, column 13)

If I modify the filename passed to the function launchIndigo(filename) with:
filename = os.path.basename(filename)
all is working correctly.

I think this depends on Indigo and how it handles file paths, not on the exporter, in fact I obtain more or less the same error with some files in the testscenes directory.

zuegs
Posts: 380
Joined: Tue Jun 27, 2006 5:46 pm
Location: switzerland

Post by zuegs » Wed Feb 21, 2007 10:36 pm

SmartDen wrote:
zuegs wrote: @SmartDen: :wink: , not sure about sorry, when i set green-scattering i can also see green-colored scattering from the media. Only the light that passes medium without scattering is magenta. So i think scattering color matches the color i can see from media???
And what is this?
I think it must be inversed
Hi SmartDen

Yes, but when i lower "IOR" i get this :wink:
I feel confused :oops:
Image

neepneep
Indigo 100
Posts: 413
Joined: Wed Jun 28, 2006 10:21 am

Post by neepneep » Thu Feb 22, 2007 1:21 am

Is it possible to have Blendigo assign materials in the XML that translate to Blender vertex groups ? ie. so objects can be be exported and have more than one material?

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Thu Feb 22, 2007 1:32 am

I don't know, if Blendigo does it, but Wedges Exporter did it even without Vertex groups ;)
It's done by multiple tri-sets:
tris 1-1000 have this colour, tris 1001-2000 have that colour...
I've done this once, by accident:
I've made a cylinder which had applied two Materials to it:
1 Perfect Reflector and 1 Chrome...
I just wanted the Perfect Reflector and Edited the .xml to erase the crome mat, but I've forgotten to apply the Perfect Mirror Mat to any faces -> Indigo Crashes, 'cause Chrome doesn't exist xD
Then, I found out the things, written above ;)
That's why The Materials Tag is written in the tri-tree : Multiple Material Usage....

zuegs
Posts: 380
Joined: Tue Jun 27, 2006 5:46 pm
Location: switzerland

Post by zuegs » Thu Feb 22, 2007 5:09 am

hi neepneep, hi kram1032

For me assigning more than one material to a object works fine. I create all blender-materials I need and assign them to the object with help of the "New" button on the "Link and Materials"-page on "Edition(F9)" panel. Then in Edit-mode I use the "Assign button to assign a specific material to selected faces of my object. After that I go to Blendigo and setup for each blender-material-name the correct indigo-material. Et voilà :wink: :D
Image

IanC
Posts: 147
Joined: Thu Aug 24, 2006 4:46 am

Post by IanC » Thu Feb 22, 2007 6:48 am

zuegs wrote: Yes, but when i lower "IOR" i get this :wink:
I feel confused :oops:
Image
If you think about it, it makes sense. You are scattering all the green light, letting the purple/magenta light through. Since the IOR is 0, you aren't getting any refraction. Red and blue light is essentially unaffected by your sphere :)

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Thu Feb 22, 2007 7:11 am

IOR can't be beyond 1, I thought!?

zuegs
Posts: 380
Joined: Tue Jun 27, 2006 5:46 pm
Location: switzerland

Post by zuegs » Thu Feb 22, 2007 7:27 am

not below 1... just near to 1... in this ex it was 1.1... the ex of SmartDen it was 1.5 i think.

zuegs
Posts: 380
Joined: Tue Jun 27, 2006 5:46 pm
Location: switzerland

Post by zuegs » Thu Feb 22, 2007 8:18 am

SMALL UPDATE

- uniform sss (by SmartDen)

I changed some path-handling routines that shout give some improves for Linux systems. So I'am realy not sure if this will be an advantage or disadvantage.... perhaps better first back-up old script :wink:

Please Linux users, if some one could tell me what works and what doesn't work... also if XML-output is correct or not... thanks for all help

AND A BIG THANKS FOR ALL THE NICE FEEDBACKS :D

User avatar
joegiampaoli
Posts: 837
Joined: Thu Oct 05, 2006 7:12 am
Location: San Miguel de Allende-MEXICO
Contact:

Post by joegiampaoli » Thu Feb 22, 2007 8:38 am

Ok, in linux seems to work ok, I had to change the name of Indigowrapper.conf to IndigoWrapper.conf (cap W), then pointed it to my indigo directory, and it seems to work, I'll be foolin around with it, any problems I'll post them here. Thx zuegs.
Joe Giampaoli
Never tie a ship to a single anchor, nor life to a single hope
My Indigo Gallery

User avatar
drBouvierLeduc
Posts: 412
Joined: Wed Oct 11, 2006 2:32 am
Location: france

Post by drBouvierLeduc » Thu Feb 22, 2007 10:01 am

zuegs wrote: AND A BIG THANKS FOR ALL THE NICE FEEDBACKS :D
How could I live without that "preview" function before ?!
Well, your exporter makes the whole workflow much easier and faster.
Thank you that much !

User avatar
F.ip2
Posts: 160
Joined: Thu Aug 10, 2006 11:05 am

Post by F.ip2 » Thu Feb 22, 2007 12:11 pm

where can i get the 0.7 test version of indigo so i can try out this exporter?
--
C l a a s E i c k e K u h n e n
Artist : Designer : Educator

Assistant Professor Industrial Design
Kendall College of Art and Design
of Ferris State University

User avatar
joegiampaoli
Posts: 837
Joined: Thu Oct 05, 2006 7:12 am
Location: San Miguel de Allende-MEXICO
Contact:

Post by joegiampaoli » Thu Feb 22, 2007 12:13 pm

Joe Giampaoli
Never tie a ship to a single anchor, nor life to a single hope
My Indigo Gallery

User avatar
F.ip2
Posts: 160
Joined: Thu Aug 10, 2006 11:05 am

Post by F.ip2 » Thu Feb 22, 2007 12:37 pm

I feel like a retard.

got it all.
--
C l a a s E i c k e K u h n e n
Artist : Designer : Educator

Assistant Professor Industrial Design
Kendall College of Art and Design
of Ferris State University

paulo_gomes
Posts: 48
Joined: Wed Sep 27, 2006 10:28 am

Post by paulo_gomes » Thu Feb 22, 2007 2:39 pm

hi, i've installed your wonderful script, but i've tried to create the .igi file and it doesn't. is there any trick?

Post Reply
522 posts

Who is online

Users browsing this forum: No registered users and 40 guests