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

Announcements, requests and support regarding the Blender Indigo export script
User avatar
drBouvierLeduc
Posts: 412
Joined: Wed Oct 11, 2006 2:32 am
Location: france

Post by drBouvierLeduc » Tue Feb 20, 2007 10:50 pm

I know it will sounds stupid, but once you've selected a texture, how can you remove it aferwards ?

User avatar
OnoSendai
Developer
Posts: 6244
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Tue Feb 20, 2007 10:52 pm

drBouvierLeduc wrote:I know it will sounds stupid, but once you've selected a texture, how can you remove it aferwards ?
I had the same problem :)

User avatar
SmartDen
Developer
Posts: 999
Joined: Fri Oct 13, 2006 10:58 pm
Location: Canary Islands
Contact:

Request

Post by SmartDen » Tue Feb 20, 2007 11:50 pm

There is no Uniform-Type in absorbtion and SSS. It is realy nessesary :!:

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

Post by zuegs » Wed Feb 21, 2007 12:33 am

OnoSendai wrote:
drBouvierLeduc wrote:I know it will sounds stupid, but once you've selected a texture, how can you remove it aferwards ?
I had the same problem :)
Ooops :oops: - no stupid question - stupid programmer :wink:
I remember there was something i've forgotten :roll: . Will fix that asap... sorry.

@Smartden: yes there are still some extended material proberties missing... i hope to bring them in soon :D

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

Post by neepneep » Wed Feb 21, 2007 2:40 am

^^ If I add a blend material in the exporter, assign the blendmap filename, and then afterwards if I want to remove the location of the blendmap file, I find it doesn't let me and I have to remove it manually from the xml afterwards. When I try remove it in the exporter then sometimes it also adds a bunch of '\' in the path to the blendmap unnecessarily.

On another note - this exporter has increased my Blender->Indigo workflow about a billion times. Thanks again Zuegs!

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

Post by zuegs » Wed Feb 21, 2007 3:29 am

UPDATED AGAIN :D

- fixed possibility to remove texture
- absorbtion color preview inversed
- new material-type "External" that allows to include an external XML file (for test)

@neepneep: hope this solves also yours :wink:

User avatar
SmartDen
Developer
Posts: 999
Joined: Fri Oct 13, 2006 10:58 pm
Location: Canary Islands
Contact:

Post by SmartDen » Wed Feb 21, 2007 4:03 am

zuegs wrote:UPDATED AGAIN :D

- fixed possibility to remove texture
- absorbtion color preview inversed
- new material-type "External" that allows to include an external XML file (for test)
You forgot SSS color inversion

User avatar
GNUdo
Posts: 40
Joined: Sat Feb 10, 2007 10:05 am
Contact:

Linux compatibility

Post by GNUdo » Wed Feb 21, 2007 6:00 am

The Preview button works for me under Linux with the material preview scene from kepler if I insert this line:

filename = os.path.basename(filename)

between these two lines:

f.write("cd \"" + indigopath + "\"\n")
----- insert here ----
f.write("nice -n 20 wine indigo.exe \"" + filename + "\" -t " + str(Threads.val))

in "def launchIndigo(filename):"
I think it has to do with the conversion slash<-->backslash not occurring in Indigo when loading the texture file, in fact in the console I obtain:

Loading Scene '/home/francesco/.wine/drive_c/Indigo-07/materialpreview.xml'...
Using Reinhard tone mapping with pre_scale=1.000000, post_scale=2.000000, burn=30.000000
trying to load texture from '\home\francesco\.wine\drive_c\Indigo-07\grid.jpg'...
couldn't open '\home\francesco\.wine\drive_c\Indigo-07\grid.jpg' for reading.

Thank you for this material editor!
Last edited by GNUdo on Wed Feb 21, 2007 9:00 pm, edited 1 time in total.

User avatar
matsta
Posts: 730
Joined: Mon Jan 29, 2007 7:50 am
Location: 127.0.0.1

Post by matsta » Wed Feb 21, 2007 6:03 am

ok i have a few problems.

1st: when i try and preview a material i get a console error that reads:

"global name "relmatsfn" is not defined"

all the objects in my scene have designated blender materials (material 0.01 etc.) and i have downloaded the previewmaterial.xml and put it into my indigo folder... with that my second problem.

2nd: when i hit render it gives me the following error:

"no such file or directory: c:\\programme\\indigo_07\\default.xml"

is that refering to the downloaded preview mat file or is there a file that i need to place into my indigo_06 (not 07) directory. and does it have to be in that exact position for the exporter to pick it up (for example my indigo is on my d: :P)

not sure if its just me or weather im doing something horably wrong. if so please dont hesitate to flame the noob XD

thanks alot. from what i can see this is an awesome exporter, looking forward to saving alot of time.

thanks
mat

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

Post by drBouvierLeduc » Wed Feb 21, 2007 7:04 am

One request : can we have an option to activate the new .igi format ?

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

Post by zuegs » Wed Feb 21, 2007 10:28 am

Small UPDATE

- "save IGI" button
- reworked "export mesh", "sep. mesh file" and "sep. mat file"

@matsta: please modify path in your "indigowrapper.conf" file to match your indigo install-directory.

@GNUdo: thanks, yup, currently linux-support isn't very working. I need help from a linux-scripter to fix this as i have only windows :roll: . which type of slashes you see in the exporter-GUI for your texture?

@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???

User avatar
SmartDen
Developer
Posts: 999
Joined: Fri Oct 13, 2006 10:58 pm
Location: Canary Islands
Contact:

Post by SmartDen » Wed Feb 21, 2007 10:59 am

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?
Image
I think it must be inversed
Last edited by SmartDen on Wed Feb 21, 2007 9:16 pm, edited 1 time in total.

User avatar
manitwo
Posts: 1029
Joined: Wed Jul 05, 2006 4:50 am
Location: Tirol - Austria

Post by manitwo » Wed Feb 21, 2007 11:21 am

tested this script for the first time .... :shock: wow! really good work!

two things i discovered:
dont know if im doing something wrong but it seams that it exports
both - "linear" and "reinhard" tonemapping at the same time :?
it also exports a null material by default (but maybe that is intended).

thank you for your work :wink:

User avatar
cooler_inc
2nd Place Winner
Posts: 158
Joined: Mon Aug 14, 2006 10:21 pm
Location: Ukraine, Donetsk
Contact:

Post by cooler_inc » Wed Feb 21, 2007 9:05 pm

Holy "beeeep" the script is fantastic :)
Thnx zuegs for this great work.

User avatar
SmartDen
Developer
Posts: 999
Joined: Fri Oct 13, 2006 10:58 pm
Location: Canary Islands
Contact:

Post by SmartDen » Wed Feb 21, 2007 9:19 pm

manitwo wrote:tested this script for the first time .... :shock: wow! really good work!

two things i discovered:
dont know if im doing something wrong but it seams that it exports
both - "linear" and "reinhard" tonemapping at the same time :?
it also exports a null material by default (but maybe that is intended).

thank you for your work :wink:
I've right with tonemapping and null-material, but it have no effect to the scene. Bun anyway it must be corrected :wink:

Post Reply
522 posts