material and Light emision test
This Python script will need to import the āmsvcrtā module !!!
This script donāt work in Linux (and Other OS).
Python is multiplatform an interpreted, interactive, object-oriented programming language.
Blender is designed as multiplatform software.
Please change the code so that it does not include the msvcrt (evil) module.
baby steps . . first things first, I want it be more complete before do it multiplatform. The new version(0.0.3) is been tested right now. I planning to post it next weekend.
Some things corrected and added are:
-
All mesh that are exported by yafray are suported (estatic particles, dupliverts, fluid simulation, Softh bodies, etc.)
-
HDR suport thanks to Mega pov.
-
Materials make over,Now the textures are layered as standar blender
-
Materials from pov librarys.
-
Material description for objects can be apply from blender text window for especial efects that are not included inside blender, like media and more.
-
A lot of material fix, emision suport, hard correction , colorband asigment, mirr color, and more.
-
Full suport for DOF
-
AA Information controling for diferent qualitys.
-
Standar animation is soported.
-
Correction for the animation where only th camara moves for architectonical views. (faster recorecording radiosity and photons)
-
Fix path location for a beather instalation and les problems
I will include a full list of suport next weekend with the new version
WOW lots of new features, my humble test:
Love the clean radiosity, it would be cool to suport modifiers and camera angle from blender, also exporting to POVĀ“s smooth triangles would be awesome!
http://www.povray.org/documentation/view/3.6.1/295/
BTW the material emission vids are awesome! :o
Buen trabajo
Edit: Animation works very well too! never understudd POV-RayĀ“s time stuff wen I use it years ago, so this is my first POV-Ray animation XD
http://www.3developer.com/temp/first_pov_anim.mov
So stable, no more random moving noice
Hi Zanqdo , the angle of camara is suported, I think :-?, if you found that is not, please give me more details so I can fix it , the smoot triangles is need it when you use mesh and I use mesh2 but since the xml do not contain this info it do a general smoot when the smoot button is aply as yafray do .
Un Saludo
Edited . . all modifier from blender are soported, if not please tell me so I can fix it
Hey! I tried your Script and i think it it is really nice, cause it is not so hard to understand an you can do really much with itā¦
But do you think your next version will be able to render TRANSLUCENCY? That would be REALLY nice
Jothmom
it does but it use a dispersion inverse to the yafray, so dispersion must be 1 to have a cleare transparency. . but in the new release (this friday I hope) It will be the same as yafray, and then I will put a full feature list for none pove user and for pov users
Big Update on first post
Un Saludo
Thanks so much for all the work youāve put into this.
I used to be hugely into POV-Ray, but thereās always been a bit of a split in the camps so to speak. POV people usually coming from more of a programming background and using CSG for modeling while triangles is cheating. Now I see more people starting to use things like Wings3D in their POV renderings for organic modelling, but many still import that into Poser for posing and there isnāt a whole lot of animation.
And of course POV has some cool features that are beneficial to Blender users, so it seems like a win-win combo to me.
One question before I start plunging into thisā¦ how is the support for subdiv? I believe megapov has the option of taking a mesh and subdividing it itself, which Iād think would cut down on the time of exporting a dense mesh on the Blender side and reading it into POV. Iām not sure how Yafray handles that processā¦
Cheers,
Shawn
Hi, because I base in the xml I use each triangle but Iām agree that using the subdiv will be faster also I been thinking on using basic shapes like insted of sending the triangles of a sphere I will send a sphere objact of pov. That will be in furure releases for sure , but my fist priority is to pass from python to c++ to integrat the script into blender code .
Un Saludo
Installation manual at first post
Un Saludo
RamĆ³nā¦
I NEED A SCRIPT FOR LINUX!!!
N O W!!
Free me, of Winsux!!
, I donāt think I will fix the script for linux, since Now Iā passing the script to c++ to include it in some other way in blender 8)
Un Saludo
Sounds yummy! Will it be in the list of renderers to choose from just like yafray?
wend I figure out the sdna , yes , but until then for testing I just going to substitud the xml function and put a my functions there.
Un Saludo
srry i meant translucency
or did you mean the right one?
This is not supported in Yafray and so i am not sure wether it will work in your export script but it would be really niceā¦ In Povray it will work i thinkā¦
this is a quote from Blender documentation at wikibooks.org
Translucency is a material property of all semitransparent materials, like frosted glas, paper, plastic, cloth, skin, stained glas and the like. It allows objects to be lit from behind.
But yet: Well done! (I am a total Python noob ans so i am ashamed :))
mmm, I was thinking Transparency :-? , Iām not an expert on pov :(, I had used for more ore less a month, so I do not know how to simulate this or if pov support it. If it those of corse that I include it but it will help me a lot if you gide me a little since I never use this prop. in blender either :-? .
Un Saludo
Edited .- Now I understand What you said :-? , but I have to ask to some pov experts to know more
you can simulate like this in the script using PovMat text inside of blender
you can also use inside media but I do not knows exacly how :-?
I have a problem with a simple uvmapped cube :
Material IMHokusai_jpg
Material MAMaterial
Material MAMaterial_001
Material MAMaterial_001_ftmap0
Material MAMaterial_001_ftsha0
Traceback (most recent call last):
File "PovExport03.py", line 1205, in buttonCallback
File "PovExport03.py", line 697, in ExportPov
ValueError: empty string for float()
I can send you the xml file ā¦