Page 1 of 2

Indigo_export_0.6test6_beta1

Posted: Tue Oct 24, 2006 7:10 am
by leope
Posted at wiki.
Very little changes:
1.replaced "<" and ">" with "-" in the name of the exported objects, meshes and meshlights.
2.Set default white balance to "E"

http://mediawiki.blender.org/uploads/5/ ... _beta1.zip

byez

Posted: Tue Oct 24, 2006 10:06 am
by afecelis
cool! so you got a green light for the new version naming? :wink:

nice changes. trying the new script out.

ps. thnx for all your hardwork and keeping the blender script so up to date. :D

Posted: Tue Oct 31, 2006 10:33 pm
by konr8
Thanks for those much-needed enhancements of the script. Keep it coming!

Posted: Tue Nov 07, 2006 1:13 am
by lego
is it normal for the specular value to be calculated like this?

colGamma(mat.specB*specfac)*SpecularGain.val

this way you can get specular values higher than 1 (4 with spec slider to 2, spec color to 1)!!

wouldn't it be better to have a direct mapping blender spec color --> indigo spec value??

Posted: Tue Nov 07, 2006 1:36 am
by zuegs
hi Lego,
This was done to simulate blender materials... but you are right that this could finaly more confuse than help :oops:
When you keep spec-slider at 1.0 and you set the color-exponent-slider in the exporter to 1.0 too... you get direct conversion of specular-color and indigo specular values :wink:

At all current Blender-exporter is more experimental than perfect :lol: , but I don't know how to do it better :roll:

regards zuegs

Posted: Tue Nov 07, 2006 1:48 am
by lego
zuegs wrote:hi Lego,
This was done to simulate blender materials... but you are right that this could finaly more confuse than help :oops:
When you keep spec-slider at 1.0 and you set the color-exponent-slider in the exporter to 1.0 too... you get direct conversion of specular-color and indigo specular values :wink:

At all current Blender-exporter is more experimental than perfect :lol: , but I don't know how to do it better :roll:

regards zuegs
eheh don't worry, it's a very good script ;)
if you read in the other thread, I think that there's a problem with SpecularGain.val
as with spec color 1 and specular slider 2, the xml reported a specularity of 4.xxx

I tried to remove the specfac from the script (so it's like it's always set to 1 when it's not 0), and with a spec color of 0.4xx the xml reported a specularity of 0.1xx (I don't remember the values... more or less 4 time smaller)

Posted: Tue Nov 07, 2006 2:57 am
by zuegs
as posted in the other thread:
#Lego:
as long you have the "colGamma()" function in the formula you do a inverse gamma correction dependent of the col-exp slider in the exporter... you can set col-exp slider to 1.0 or remove "colGamma()" to match values between Blender and Indigo.

hope this helps, best Regards zuegs

Posted: Mon Dec 04, 2006 6:32 am
by afecelis
@Leope: have you seen Psor's modded version that triggers indigo from within blender? Could his add-on be included with the official script in development ?
info here:
http://www.indigorenderer.com/joomla/fo ... .php?t=843

Posted: Mon Dec 04, 2006 8:04 am
by psor
Well, I would say ... let me get it working for linux and then get it into the pipe.
As far as I can tell there is no need for a shell script under linux. If you run
a *nix derivate python supports to change the working directory on the fly ...
so let me play a bit, then I need you to test it because I can't. ;o))
python.org wrote: fchdir( fd)
Change the current working directory to the directory represented by the file descriptor fd. The descriptor must refer to an opened directory, not an open file. Availability: Unix. New in version 2.3.


take care
psor

Posted: Tue Dec 05, 2006 2:22 am
by leope
have you seen Psor's modded version that triggers indigo from within blender? Could his add-on be included with the official script in development ?
Yes, sure :) When psor is ready he can freely post a new version at wiki :)

thanks psor :D

Posted: Wed Dec 06, 2006 9:59 am
by leope
And in the next version of the exporter maybe it's better to set the turbidity default value
to 1.0 and also the min value of the turbidity slider to 1.0, so sun, sky and meshlights can work better at the same time. Thanks to Harlock from http://www.kino3d.com/ forum.
italian thread : http://www.kino3d.com/forum/viewtopic.php?t=5195

bye

Posted: Tue Dec 19, 2006 9:11 pm
by scyguo
Hi!
Are You going to add autosmooth option or some kind of smoothin group (ex. based on creases or something) to future exporter version? Or maybe paste this part of code from other exporters? I have read older post and this option will be very welcomed :)

Posted: Wed Dec 20, 2006 1:54 am
by leope
Sorry, i don't know about normals & co. :(
I can export autosmooth only if indigo has a per mesh/per object "autosmooth" parameter.
(Geometry code in indigo exporter is not part of my code)

leope

Posted: Fri Dec 29, 2006 10:47 am
by scyguo
Don't sorry leope :)
I'll try to find someone to help with this problem.

Posted: Fri Dec 29, 2006 11:06 am
by Kåre
Hi. I tried the script and it worked very nicely - the first time. Now I get a
"AttributeError: getMaterials"
message in the console every time I try... Can anyone figure out what's wrong.