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

Announcements, requests and support regarding the Blender Indigo export script
Post Reply
522 posts
zuegs
Posts: 380
Joined: Tue Jun 27, 2006 5:46 pm
Location: switzerland

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

Post by zuegs » Mon Feb 19, 2007 4:24 am

Hi Blender and Indigo users,

this is a project for a indigo-material-editor for Blender :D :D :D . And its

:!: STILL IN DEVELOPEMT AND NOT A OFFICIAL RELEASE :!:

Everyone that needs a working exporter for Blender please consult Download section on the indigo-website. :oops:

All c&c are welcome and please report all bugs in this thread, thanks.
Also please post source modifications here, so i can implement them to the download-source.

Note: YOU NEED AT LEAST BLENDER V2.43RC3 TO WORK
copy the Blendigo script ".py" file to the "blender-2.43\.blender\scripts\" directory.

As for other exporters you need the "Indigowrapper.conf" file (http://www.myfile.ch/site/download.php?file=983665) that includes the indigo-render-directory-path placed in the "blender-2.43\.blender\scripts\bpydata" directory. I wasn't able to test Linux stuff, so don't expect that it works sorry (perhaps some one could fix it :wink: )

Also there's a "preview" button for materials that throws a small material-preview-render. For this you need to copy the "Preview" directory from the blendigo ZIP into the indigo-directory. :wink:

As mentioned this is in development... there are some points that are not implemented yet.
Fixed:
- a bug with blend materials - sub-materials are sometimes missed in export
- "indigowrapper.conf" accepting spaces in path name
- work-around for ortho-matrix-limitation
- bug in rotation matrix
- fixed possibility to remove texture
- absorbtion color preview inversed
- new material-type "External" that allows to include an external XML file (for test)
- "save IGI" button
- sss-type uniform (by SmartDen)
- removed surface compensation for lights, gain-value is equal to gain in XML, use "efficacy" feature instead
- fixed "null" material export when used in blend-material
- indigo primitives sphere and plane (meshname must contain ".sphere" or ".plane")
- added linear tonemapping scale (you must deactivate auto-exposure for this)
- changed F-Stop formula (perhaps wrong :oops: )
- fixed misstyped matExponentPathCB (by manuel)
- absorption color inversion on GUI removed (by SmartDen)
- max. turbidity to 20
- added exponent for linear tonemapping
- fix slowing down of GUI while working on big meshes
- dupliverts
- phong exponent up to 1mio
- fixed animation export
- replaced ImageSelector with FileSelector for better performance
- fixed bug when object is visible on more than on layer
- fixed file paths when located on different drives
- add copy/paste functions
- background color picker
- popup for material preview scene file
- compatibility to indigo v0.7t7 (many thanks to SmartDen)
- set max value for phong exponent and glossy-transparent exponent to 1000000
- finds preview scene file with new ".igs" and old ".xml" file extension
- additional rendersize-options 150%, 200%
- ignore objects without faces
- primitive sphere diameter fits inside mesh bounding-box
- added exponent for unform SSS value
- F-Stop accepts float values
- support for array modifier
- add world dimension factor
- added capability of different preview scenes by menu (by BIGFAN and DaveC)
- general tidy up of GUI and tooltips (by BIGFAN)
- super sample (by BIGFAN)
- all preview files use same material name to make new preview files easy to insert (By DaveC)
- updated preview scenes and added "IMPmatdb" preview scene
- added "&" to "launchIndigo" function to detach Indigo from Blender under Linux (by GNUdo)
- material conversion: converts blender material to indigo material if no indigo-material definition is found or you press the "convert" button

ToDo:
- linux compatibility
- extended support for mediums
- extended support for SSS
- epidermis features

For all qestions please just ask :wink:

and that it looks like: (thx kepler for the nice preview scene)
Attachments
Indigowrapper.zip
copy this file into your blender "blender-2.43\.blender\scripts\bpydata" directory and edit the content with a text editor to define your indigo directory.
(153 Bytes) Downloaded 1425 times
blendigo pic.JPG
blendigo pic.JPG (116.02 KiB) Viewed 17157 times
blendigo_v0.7t7_beta2.zip
current version: v0.7t7 beta 2c
(1.94 MiB) Downloaded 12465 times
blendigo_v0.7t5_beta5.zip
current version: v0.7t5 beta 5b
(21.17 KiB) Downloaded 1262 times
Last edited by zuegs on Thu May 03, 2007 7:03 am, edited 38 times in total.

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

Post by Kram1032 » Mon Feb 19, 2007 4:57 am

I'm very sorry, but the links only give a nearly blank page...

Edit: Ok, new Links are working^^

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

Post by neepneep » Mon Feb 19, 2007 5:25 am

Works Great !

:D :D :D :D :D

edit: How can I make colour absorption greater than '1' ?

edit: edit: I just noticed the 'gain' tab right next to it :)

User avatar
kepler
Posts: 122
Joined: Wed Jan 17, 2007 3:18 am
Location: Italy

Post by kepler » Mon Feb 19, 2007 5:55 am

Exactly where should I put the *.conf file?

Edit: and where goes the .py file? I've copied it in the script folder of Blender, but I don't know how to use it... :shock:

Edit2: It WORKS!!! Fantastic!!!

User avatar
Kojack
Posts: 57
Joined: Sat Aug 12, 2006 8:46 pm
Location: Poland

Post by Kojack » Mon Feb 19, 2007 6:32 am

fantastic work zuegs!
thx :lol:

User avatar
tungee
Posts: 482
Joined: Mon Jul 03, 2006 8:17 pm
Location: Gießen Germany

doesnt work!

Post by tungee » Mon Feb 19, 2007 6:39 am

my doesnt work!
i have win blender rc3 and put this script in scripts folder. when i select the blendigo python script it says that i have the wrong version???? :cry: whats up.?
Music has the right to children!

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

Post by zuegs » Mon Feb 19, 2007 6:45 am

hi tungee,
yes, script is designed for v2.43 but should work with your v2.43RC3 too, just ignore the message :wink:

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

Post by Kram1032 » Mon Feb 19, 2007 6:45 am

Is there any Material Limit, yet?
I've used ~ 5 mats and when I activate SSS on the 5th and change the SSS colour, I get
NameError: Global Name "matSSSrgb" is not defined...

And for now, it only searches for indigo in C:\\indigo_07/default-mats.xml

But my Indigo is in:
C:\\Pogramme/indigo/indigo0.75/testscenes/default-mats.xml...

User avatar
tungee
Posts: 482
Joined: Mon Jul 03, 2006 8:17 pm
Location: Gießen Germany

Post by tungee » Mon Feb 19, 2007 6:48 am

hi zuega the scripts fail trotzdem.
here is the console message:
Compiled with Python version 2.4.
'import site' failed; use -v for traceback
Checking for installed Python... No installed Python found.
Only built-in modules are available. Some scripts may not run.
Continuing happily.
BLENDIGO v0.7t5 BETA 1
Traceback (most recent call last):
File "<string>", line 1319, in ?
IOError: [Errno 2] No such file or directory: 'C:\\Dokumente und Einstellungen\\
Administrator\\Desktop\\blender-2.43-RC3-windows\\.blender\\scripts\\bpydata\\In
digoWrapper.conf'
Music has the right to children!

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

Post by neepneep » Mon Feb 19, 2007 6:49 am

I was trying to do a blend, but the exporter put this:

Code: Select all

<uv_set></uv_set>
instead of:

Code: Select all

<uv_set>uv</uv_set>
:?

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

Post by zuegs » Mon Feb 19, 2007 6:53 am

@tungee
have you copied the "IndigoWrapper.conf" file in the "blender-2.43\.blender\scripts\bpydata" directory?

@Kram1032:
theres no limit for materials... please try again... you need for each indigo-material a place-holding blender-material (which defines the names)

@neepneep:
i missed this, sorry, will fix it !!! thx

[EDIT]: fixed "uv" version is up, download from first post, thx neepneep.
Last edited by zuegs on Mon Feb 19, 2007 7:06 am, edited 1 time in total.

User avatar
tungee
Posts: 482
Joined: Mon Jul 03, 2006 8:17 pm
Location: Gießen Germany

oops!

Post by tungee » Mon Feb 19, 2007 7:03 am

now everything is fine .
Thanx zuegs for da tips and the new exporter!
Music has the right to children!

User avatar
tungee
Posts: 482
Joined: Mon Jul 03, 2006 8:17 pm
Location: Gießen Germany

Thanx

Post by tungee » Mon Feb 19, 2007 7:05 am

wow great !
Music has the right to children!

User avatar
tungee
Posts: 482
Joined: Mon Jul 03, 2006 8:17 pm
Location: Gießen Germany

first bug

Post by tungee » Mon Feb 19, 2007 7:07 am

first bug ;
if i select a sss color the script crashes.
Music has the right to children!

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

Post by Kram1032 » Mon Feb 19, 2007 7:15 am

That's what I meant, but I've used 3 SSS and it crashed at the 3rd...

Post Reply
522 posts

Who is online

Users browsing this forum: No registered users and 13 guests