hi,
i am messing around with lightflow and ive come upon this really odd problem which i cant fix.
its using voxels to make a bit of smoke, and part of the smokes code requires it to have its own environment, along with the normal one:
"
s.interiorBegin( smoke )
atmosphere1 = s.newMaterial( “transparent”, [] )
s.interiorEnd()
s.materialBegin( atmosphere1 )
s.addObject( s.newObject( “box”, [ “position”, vector3( -1, -1, -1.6 ), vector3( 1, 1, 3.0 ) ] ) )
s.materialEnd()
"
as you can see, its a box which is transparent.
my normal environment is this:
"
atmosphere = s.newMaterial( ‘standard’, [ ‘ka’, vector3(1.000000, 1.000000, 1.000000), ‘kc’, vector3(0.0, 0.0, 0.0), ‘kd’, 0.0, ‘shadowing’, 0.0 ] )
s.materialBegin( atmosphere )
s.addObject( s.newObject( ‘sphere’, [ ‘radius’, 50.000000 ] ) )
s.materialEnd()
"
this is a white diffused sphere.technically, since the smokes world is transparent, it shouldnt be a problem, but
check out the render
there is an obvious box surrounding the smoke, which IS transparent, but is a darker area.this would suggest there is a light fog or something over the normal env. (the sphere), but i cant figure it out.
i do not have this problem when i render without the white sphere…
PLEASE HELP!!
heres the script download http://membersites.namezero.com/aidan.cartoonsaloon.ie//david/smoketest.py
I also have a few other questions regarding LF:
- why does it render in multiples of the final render (if i get it to render 300x300, itll render a 1x1 image, a 75x75 image, a 150x150 image and then a final antialiases 300x300 image. can i skip all these other renders?)
also
2.could someone please explain how to use MATspiderLF shaders. everytime i copy the text with complex shaders it never works. (eg. ghostrock has LOADS of text to paste. it never works, but simple diffuse shaders work fine. and would there be any way to save the shader/library file (eg. shader.mtl) and get LF to read it directly? it would be a lot easier.
and
3.is there any text editor that would colour code the python for me, its my first experience with modifying python and its become a pain to look at loads of black text!
4.also one that would execute the .py file on the click of a button without saving it, because when i make changes, and the .py file doensnt work, i have to REMEMBER all that ive changed and resave.
thanks,