Wings 3D Development Forum
YafaRay plugin; update roadmap and change list - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Design & Development (https://www.wings3d.com/forum/forumdisplay.php?fid=6)
+--- Thread: YafaRay plugin; update roadmap and change list (/showthread.php?tid=331)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16


YafaRay plugin; update roadmap and change list - povmaniac - 06-04-2013

In collaboration with the user Oort, I want to update the exporter of YafaRay to adapt it to the last changes in the 'core'.
I am going to propose a list of changes in which you can collaborate, doing suggestions on which he would like to change in the exporter.

**************************************************************************
For testing:
- donwload the last YafaRay 'win32' binaries and extract to your hard disk ( c:\YafaRay):
- https://dl.dropboxusercontent.com/u/16848591/wings3d/yafaray_015_23_10.7z
- donwload the last exporter build from:
- https://dl.dropboxusercontent.com/u/16848591/wings3d/wpc_yafaray_23_10.zip
**************************************************************************

- Separate options for background / lights:

- How background work..:
http://www.yafaray.org/documentation/userguide/backgrounds



- Light modes in YafaRay..:
http://www.yafaray.org/documentation/userguide/objects#Lights

More news.. very soon.


RE: YafaRay plugin; update roadmap and change list - oort - 06-04-2013

povmaniac,
Glad to see you are starting to look at plans for changes... Smile

Not sure if you are aware that all (except for Darktide Sunsky) the background options are currently available under Ambient and Infinite lights. Maybe you are thinking it is best to have them moved to a central location under the render options???

I think that now if an Ambient light or Infinite light are present the background color under render options is automatically ignored. If no lights are present the object is automatically lit by a camera light of some kind. I don't know how that works...

The following lists the supported features currently available... YafaRay plug-in features

Hopefully some YafaRay and Wings3D users will give input on this and other ideas.

Thanks,
oort


RE: YafaRay plugin; update roadmap and change list - povmaniac - 06-04-2013

I am update the first post... Smile


RE: YafaRay plugin; update roadmap and change list - oort - 06-04-2013

povmaniac,
I see that there is a problem with background lighting now.

After doing a few tests I see that "Ambient light" background settings are not lighting the object when using Single Color, and Gradient.

"Infinite light" background settings are lighting the object but the wrong color is being used. The diffuse color of the light is being used instead of the background colors defined in the infinite light.

I still am not convinced that the background settings should be moved from "Ambient lights" and "Infinite lights" to the Render settings. By leaving these settings with the lights, I can create files with various lighting setups and File > Merge them in. I can hide the light setups I do not want to use and show the ones I want to use.

Is there a good reason for moving the background settings to Render options???

Thanks,
oort


RE: YafaRay plugin; update roadmap and change list - povmaniac - 06-04-2013

Quote:Is there a good reason for moving the background settings to Render options???
Yes. It is the correct way in which YafaRay calculates the lighting.
Perhaps you do not know Python, but it should look a little in the files of the exporter for Blender.
The exporter, must be the bridge between the modeller and the engine of render, giving him the information adapted to obtain correct results.


RE: YafaRay plugin; update roadmap and change list - oort - 06-05-2013

Sorry, but I am still confused... I would think that as long as the exported .xml file is correctly formatted that it would not matter where these settings appear in the interface???

Maybe you are using the API as opposed to using Yafaray-xml.exe to render??? Maybe there are restrictions due to the API???

Thanks,
oort


RE: YafaRay plugin; update roadmap and change list - povmaniac - 06-05-2013

See you...
https://github.com/YafaRay/Core/blob/master/src/interface/xmlinterface.cc
and...
https://github.com/YafaRay/Core/blob/master/include/interface/xmlinterface.h


RE: YafaRay plugin; update roadmap and change list - micheus - 06-05-2013

(06-05-2013, 12:32 AM)oort Wrote: I would think that as long as the exported .xml file is correctly formatted that it would not matter where these settings appear in the interface???
that lays in the same that was said here:
(06-04-2013, 11:39 PM)povmaniac Wrote: The exporter, must be the bridge between the modeller and the engine of render, giving him the information adapted to obtain correct results.
It's not related to Python/Blender - we are talking about Erlang/Wings3D.

oort, I believe you are right about that. But, I agree with povmaniac about to put the global settings in the export dialog.

Thinking about the users interchanging between applications, making them able to use the same method/way to set things is a good idea, as well they will be using the same concept used by the final application [render].

The Pov-Ray plugin never computes/exports any ambient lights present in the scene - the global setting for ambient light always come from the global field background in the export dialog. For some time I thought it should be changed in order to reproduce what I see in the view-port, but in truth it seem to be required only for OpenGL viewing.


RE: YafaRay plugin; update roadmap and change list - oort - 06-05-2013

Micheus,
Since the light setup is saved in the render settings I can still merge in light setups, so having the background settings there is ok.

Not sure if it will confuse newbies when they create an "Ambient light" and it has no influence on the scene. This confused me when I was playing with Pov-Ray when you worked on it.... Sad

Kerkythea does compute/export ambient lights present in the scene. So we might ask what the standard should be... Smile

The way YafaRay is now is probably not the best method with background settings under both Ambient and Infinite lights. Maybe background settings should only be under Ambient light. Moving them to render settings would probably be easier to code... I think it would be good to let the user know under the Help for YafaRay that Ambient lights are not used.

Thanks,
oort


RE: YafaRay plugin; update roadmap and change list - povmaniac - 06-07-2013

I have separated the project in several files, to be able to be work better at concrete 'areas'.
I even am looking for the best way of doing this, due to my little knowledge of Erlang.

Btw .. oort. I said that it would help with the exporter, but I did not say that it would do all the work..
I want to see as you do a fork of the repository and, he starts sending ' pull request ' Smile Smile
Greetings...