Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
YafaRay plugin; update roadmap and change list
06-04-2013, 05:04 PM (This post was last modified: 10-23-2013 03:46 PM by povmaniac.)
Post: #1
YafaRay plugin; update roadmap and change list
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/1684...5_23_10.7z
- donwload the last exporter build from:
- https://dl.dropboxusercontent.com/u/1684..._23_10.zip
**************************************************************************

- Separate options for background / lights:

- How background work..:
http://www.yafaray.org/documentation/use...ackgrounds



- Light modes in YafaRay..:
http://www.yafaray.org/documentation/use...cts#Lights

More news.. very soon.

The Universe is an infinite equation
Reply
06-05-2013, 12:28 AM
Post: #2
RE: YafaRay plugin; update roadmap and change list
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
Reply
06-05-2013, 07:11 AM
Post: #3
RE: YafaRay plugin; update roadmap and change list
I am update the first post... Smile

The Universe is an infinite equation
Reply
06-05-2013, 09:11 AM
Post: #4
RE: YafaRay plugin; update roadmap and change list
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
Reply
06-05-2013, 09:39 AM
Post: #5
RE: YafaRay plugin; update roadmap and change list
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.

The Universe is an infinite equation
Reply
06-05-2013, 10:32 AM (This post was last modified: 06-05-2013 10:33 AM by oort.)
Post: #6
RE: YafaRay plugin; update roadmap and change list
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
Reply
06-05-2013, 04:26 PM (This post was last modified: 06-05-2013 04:29 PM by povmaniac.)
Post: #7
RE: YafaRay plugin; update roadmap and change list
See you...
https://github.com/YafaRay/Core/blob/mas...terface.cc
and...
https://github.com/YafaRay/Core/blob/mas...nterface.h

The Universe is an infinite equation
Reply
06-05-2013, 10:29 PM
Post: #8
RE: YafaRay plugin; update roadmap and change list
(06-05-2013 10: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-05-2013 09:39 AM)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.
Reply
06-06-2013, 01:48 AM
Post: #9
RE: YafaRay plugin; update roadmap and change list
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
Reply
06-07-2013, 03:36 PM (This post was last modified: 06-07-2013 04:24 PM by povmaniac.)
Post: #10
RE: YafaRay plugin; update roadmap and change list
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...

The Universe is an infinite equation
Reply


Forum Jump:


User(s) browsing this thread: 1 Guest(s)