Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
YafaRay plugin; update roadmap and change list
10-24-2013, 04:49 AM
Post: #141
RE: YafaRay plugin; update roadmap and change list
There is something that bother me a lot when I use POV-Ray and now I saw that the same thing happens here: DOF (distance) being set on Render option (POV neither has it - the exported file need be tweaked - something I need to fix Smile)

Anyway, for any case, don't you think the best place for this information should be in the View->Camera Settings?
Don't we need to consider that we can set (save) different views with possible different DOF?
Again, for any case, is very difficult to measure this information with precision. It would be good if we had a way to do that in the viewport - like we have for Spot light->Position highlight - that is complicated because wings doesn't shows the "camera object" in the viewport.
Reply
10-24-2013, 06:02 AM (This post was last modified: 10-24-2013 06:13 AM by povmaniac.)
Post: #142
RE: YafaRay plugin; update roadmap and change list
(10-24-2013 04:49 AM)micheus Wrote:  There is something that bother me a lot when I use POV-Ray and now I saw that the same thing happens here: DOF (distance) being set on Render option (POV neither has it - the exported file need be tweaked - something I need to fix Smile)

Anyway, for any case, don't you think the best place for this information should be in the View->Camera Settings?
Don't we need to consider that we can set (save) different views with possible different DOF?
Again, for any case, is very difficult to measure this information with precision. It would be good if we had a way to do that in the viewport - like we have for Spot light->Position highlight - that is complicated because wings doesn't shows the "camera object" in the viewport.

Interesting question..
I see that no exporter has included options personalized in the menu View / Camera Options.
Then, I do not see as it is possible to do it and my Erlang is not very advanced.
Please, make me know his advances with PovRay and perhaps we might incorporate these options to (¿thebounty? / yafaray) project.
Greetings..
Edit:
Btw.. You can use this info from:
wpa:camera_info([pos_dir_up, fov, azimuth, elevation, tracking, distance_to_aim])

The Universe is an infinite equation
Reply
10-24-2013, 08:27 AM
Post: #143
RE: YafaRay plugin; update roadmap and change list
(10-24-2013 06:02 AM)povmaniac Wrote:  Edit:
Btw.. You can use this info from:
wpa:camera_info([pos_dir_up, fov, azimuth, elevation, tracking, distance_to_aim])
thanks. Smile
Now you pointed it, I noticed that Kerkythea is already using it for that. Blush

We have a very strange way to set the DOF for use with renders, but it certainly works. We need first set the Aim, after we can set the camera location and then we save the view (if we set the Aim at the end we'll move the camera).
Reply
10-24-2013, 09:45 AM
Post: #144
RE: YafaRay plugin; update roadmap and change list
FWIW I just orient the camera how I want - then edit the Camera hither-plane distance to find the distance to the focal point of the scene. (Then set it back to 0.1 of course before rendering)

IWBNI there was a settable camera object in Wings3D but at the same time - its a modelling package not an animation system Smile
Reply
10-24-2013, 03:28 PM (This post was last modified: 10-25-2013 04:30 PM by oort.)
Post: #145
RE: YafaRay plugin; update roadmap and change list
povmaniac,
Thanks for fixing the banner info for number of photons. It is great to have someone fixing bugs in the software formerly known as YafaRay... Smile . Tested and working perfectly.

When I was playing with DOF I got best results using "triangle" for the type.



Micheus probably has it all figured out by now... Under the YafaRay render settings maybe have a check box to enable using Wings3D camera settings for DOF Distance, etc.???

Having a physical camera that has to be moved, like in Blender, always made me crazy... Sad As Neon22 pointed out, it is important for animation software but not for modeling software.

Edit: Updated DOF example.
oort
Reply
10-25-2013, 03:43 AM (This post was last modified: 10-25-2013 04:53 AM by micheus.)
Post: #146
RE: YafaRay plugin; update roadmap and change list
(10-24-2013 03:28 PM)oort Wrote:  Under the YafaRay render settings maybe have a check box to enable using Wings3D camera settings for DOF Distance, etc.???
We would have the option to tell if we want to use the camera distance (Aim) or enter a value for it.
I noticed that POV-Ray and Kerkythea are already using the "Aim" value automatically.

Quote:Having a physical camera that has to be moved, like in Blender, always made me crazy... Sad As Neon22 pointed out, it is important for animation software but not for modeling software.
I've been thinking about it as something optional - just for that moments we want see its location in the scene.

povmaniac... you are really a code maniac. Biggrin
was coding yafaray almost alone, coding this plugin, making plans for a new variance of yafaray and I just discovered that you are also coding a SketchUp exporter for LuxRender! Shocked
Reply
10-25-2013, 03:20 PM (This post was last modified: 10-25-2013 05:13 PM by oort.)
Post: #147
RE: YafaRay plugin; update roadmap and change list
Micheus,
Having show camera optional would be good. Maybe under View > Show > Show Camera...

I always felt like the camera was located at the plane of my computer screen. Probably not true.... Smile

Edit: I have updated the files posted on my website for Povmaniac's YafaRay 0.1.5 SSS and his YafaRay plug-in.

oort
Reply
10-25-2013, 05:14 PM
Post: #148
RE: YafaRay plugin; update roadmap and change list
povmaniac,
You probably know this but AA Additional Samples (AA_inc_samples) is not yet being exported by your YafaRay plug-in. YafaRay sets this value to the same as Samples (AA_minsamples) when not specified.

Thanks,
oort
Reply
10-25-2013, 06:19 PM
Post: #149
RE: YafaRay plugin; update roadmap and change list
(10-25-2013 05:14 PM)oort Wrote:  povmaniac,
You probably know this but AA Additional Samples (AA_inc_samples) is not yet being exported by your YafaRay plug-in. YafaRay sets this value to the same as Samples (AA_minsamples) when not specified.

Thanks,
oort

Not known it..
Now it is already solved. Thanks for the feedback.
Code:
println(F,
        "\t<AA_passes ival=\"~w\"/>",[proplists:get_value(aa_passes, Attr)]),
    println(F,
        "\t<AA_threshold fval=\"~.10f\"/>",[proplists:get_value(aa_threshold, Attr)]),
    println(F,
        "\t<AA_inc_samples ival=\"~w\"/>",[proplists:get_value(aa_adsamples, Attr)]),
    println(F,
        "\t<AA_minsamples ival=\"~w\"/>",[proplists:get_value(aa_minsamples, Attr)]),
    println(F,
        "\t<AA_pixelwidth fval=\"~.10f\"/>",[proplists:get_value(aa_pixelwidth, Attr)]),
    println(F,
        "\t<filter_type sval=\"~s\"/>",[proplists:get_value(aa_filter_type, Attr)]),

micheus Wrote:povmaniac... you are really a code maniac.

Sure... Smile

The Universe is an infinite equation
Reply
10-25-2013, 06:27 PM
Post: #150
RE: YafaRay plugin; update roadmap and change list
Fixed the crash when we use the Save button on the Render dialog. pull#1

Just in case you need know, the list of data you get in the result for your dialog handle function need to be in the same order they appears in the list of data that describe the dialog. I think you will understand when you check the changes.
Reply


Forum Jump:


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