View topic - Outside material library support

Outside material library support

Users-contributed CVS development builds. Post here your questions about compiling the source code.

Outside material library support

Post Sun Aug 23, 2009 9:53 am

me an Manoj
are working on a web site ,
the web will be a repository for yafaray materials
in some point , we realized that it will be impossible to made some materials without texture
for example "wood"

so we will need your help (yafaray developers) to help us advancement our site
and make yafaray materials more easy to use

1) we will need a button in the material plugin "Import from xml"
2) and more complex , what about texture
so the xml structure will be something like this

<yafaray_material>
<material>
//The same way as a material represented today
// Including texture mapping
// or a link to the xml , just for supporting some end cases
</material>

<blend_texture>
// a link to a blend file , and for the material name
// a blend file will be used cause that way we can use blender build-in textures in blender
// and packed textures
<location>[http]/[ftp]/[file]</location>
<material_name></material_name>
</blend_texture>
</yafaray_material>

if you see some better way we be glad to ear your opinion

do you see a way that you can help us with that ?

thank in advanced Shay/Manoj
Shay Tessler
 
Posts: 173
Joined: Sun Jun 28, 2009 11:34 pm

Re: Outside material library support

Post Sun Aug 23, 2009 11:51 am

just notice that yafaray XML also map the blender build in texture data
so we don't need the blend file
just the yafaray material XML

can the "Import from xml" generate the texture inside blender ?
Shay Tessler
 
Posts: 173
Joined: Sun Jun 28, 2009 11:34 pm


Return to Testing Builds



Who is online

Users browsing this forum: No registered users and 1 guest