• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Design & Development v
« Previous 1 2 3 4 5 … 11 Next »
POV-Ray [plugin] (updated: 2016/Aug/08)

 
  • 0 Vote(s) - 0 Average
POV-Ray [plugin] (updated: 2016/Aug/08)

Pages (14): « Previous 1 … 6 7 8 9 10 … 14 Next »
Jump to page 
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,677
Threads: 183
Joined: Jun 2012
#71
08-10-2016, 02:14 PM
(08-09-2016, 08:36 PM)oort Wrote: I am surprised that after all these years Pov-Ray does not support Alpha Backgrounds... Sad
We can have transparent background in POV-Ray. Something to be added.
But it will not work like in yafaray as you suggested, so we probably will need to manage the user options and process it when exporting the .pov file.
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
oort
Offline

3D Obsessed

Posts: 1,184
Threads: 69
Joined: Nov 2012
#72
08-10-2016, 04:35 PM (This post was last modified: 08-10-2016, 04:36 PM by oort.)
If you have to add something during the export for Pov-Ray, that is how it works for YafaRay. On export -a is added to the command line... Smile

Maybe you meant something different...?

oort
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,677
Threads: 183
Joined: Jun 2012
#73
08-10-2016, 04:45 PM (This post was last modified: 08-10-2016, 04:45 PM by micheus.)
(08-10-2016, 04:35 PM)oort Wrote: If you have to add something during the export for Pov-Ray, that is how it works for YafaRay. On export -a is added to the command line... Smile
Yes. It can be done by using +UA in the command line, but I will prefer to add an option to the Options dialog since it will require a change to the background property in the exported file.
Currently (for a gray color) that information is written to the exported file like this:
background { rgb <0.160784, 0.160784, 0.160784> }
and in order to the command line works we will need to adjust it to:
background { rgbt <0.160784, 0.160784, 0.160784, 1.0> }
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
oort
Offline

3D Obsessed

Posts: 1,184
Threads: 69
Joined: Nov 2012
#74
08-10-2016, 05:07 PM
Interesting. Sounds good. I look forward to testing it... Smile

Thanks,
oort
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,677
Threads: 183
Joined: Jun 2012
#75
08-10-2016, 09:51 PM (This post was last modified: 09-28-2020, 02:11 PM by micheus.)
Just a study...
A comparison between the HDR+SkySphere and the workaround that enabled us to hide the background HDR+Sphere.
Using stpeters_probe.hdr
[Image: 1-teste-bkg.jpg]
here with the transparent background:
[Image: 1-teste-nbkg.jpg]

Using Arches_E_PineTree_3k.hdr:
[Image: 2-teste-bkg.jpg]

here with the transparent background:
[Image: 2-teste-nbkg.jpg]

- It's interesting that removing the background we lose the caustics. Sad
- For the workaround we can control the environment light using the Emission parameter (besides the hdr gamma).

What do you think? Is it acceptable these results? or we must separate this "workaround" in something like fake hdri?
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
oort
Offline

3D Obsessed

Posts: 1,184
Threads: 69
Joined: Nov 2012
#76
08-11-2016, 01:46 AM
Only have a moment to post a quick comment. They look good to me at a quick glance. Strange that the caustics get lost. Does Pov-Ray allow you to use a photon only spot light like YafaRay does? That may help with caustics.

I do not think that this would need to be separated out. It would be good to get a comment from someone who has used Pov-Ray much more often than I have... Smile Sad

Thanks,
oort
tkbd
Offline

Senior Member

Posts: 451
Threads: 115
Joined: Nov 2012
#77
08-11-2016, 02:19 AM (This post was last modified: 08-11-2016, 11:16 AM by tkbd.)
Micheus,In my environment, even if set the background-color to rgbt, I could't get transparent background.
So I added pigment options both "filter all 1.0" and "transmit all 1.0",Then background transparent is works.

(I edited a pov file as following )
Quote:background { rgbt <0.000000, 0.000000, 0.000000,1.0> }


sky_sphere{
pigment{
image_map{ hdr "/Users/***/Desktop/PovRay3.7-Env-Test/hdri/Arches_E_PineTree_3k.hdr"
gamma 1.2
map_type 1 // Spherical
interpolate 2 // Bilinear
filter all 1.0
transmit all 1.0

}
}
rotate<0,40.0,0>
}

I don't have a deep understanding about the options...
Could you try filter and transmit option to the caustics problem?



To Wings3D PovRay Plugin developer. (Edited: 2016/8/11)
Do you have any plan enable set the rendering quality?


In the GUI version of PovRay has a pull-down menu for rendering quality.
This feature is easy for user to understand .

See PovRay Manual:
http://www.povray.org/documentation/view/3.6.1/223/
Quote:2.1.2.8.1 Quality Settings

The Quality=n option or +Qn switch allows you to specify the image rendering quality.
0 or 1 Just show quick colors. Use full ambient lighting only. Quick colors are used only at 5 or below.
2 or 3 Show specified diffuse and ambient light.
4 Render shadows, but no extended lights.
5 Render shadows, including extended lights.
6 or 7 Compute texture patterns, compute photons
8 Compute reflected, refracted, and transmitted rays.
9 or 10 or 11 Compute media and radiosity
oort
Offline

3D Obsessed

Posts: 1,184
Threads: 69
Joined: Nov 2012
#78
08-11-2016, 05:59 AM
tkbd,
Please move your question for David to the YafaRay plugin development thread. He will probably not see the question in this thread, since he is focused on YafaRay.

Thanks,
oort
tkbd
Offline

Senior Member

Posts: 451
Threads: 115
Joined: Nov 2012
#79
08-11-2016, 11:13 AM
oort,Thank you for advice.
I mistake Yafaray for PovRay.
So,I think that there is not nessesary to move it.
I have to fix the article.
Probably he would be busy with Yafaray.
David,I'm sorry for the mistake.

------------------
tkbd
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,677
Threads: 183
Joined: Jun 2012
#80
08-11-2016, 11:35 AM
tkbd, about the transparent background, check my post #61 - the link under the "found" word. For that parent background we need to use a "workaround" remember. You ae still using the sky_sphere and we must use the sphere only.

I can't test your suggestion about transmission now, I'm going to check later.

About the options for quality, it's something we can try and if it help in some way we can add them to the Render option dialog. Different of Kerkythea I don't think most the people would like to use POV's UI.

oort, tanks for take your time to help us test and give opinion about these changes. Any help is wellcome. Smile

I'm a bit in a hurry this morning. I'm back late afternoon.
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (14): « Previous 1 … 6 7 8 9 10 … 14 Next »
Jump to page 


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode