Search found 80 matches

by mick
Mon Jun 25, 2018 4:37 pm
Forum: User Support
Topic: glass parameters
Replies: 6
Views: 4672

Re: glass parameters

Thanks for the reply. the sum of a "perfect" glass is 2 I understand that there is a loss (neither transmitted nor reflected but absorbed at the surface). But transmitted plus reflected cannot be higher than 100%. The max for kt and kr is 1. Lets assume a loss of zero, for 20% reflected an...
by mick
Mon Jun 25, 2018 1:11 pm
Forum: User Support
Topic: glass parameters
Replies: 6
Views: 4672

glass parameters

Please let me verify my understanding/assumptions on the material and volume parameters: kt and kr define how much of the light is reflected and how much in transmitted through the irradiated surface. So I expect the two to sum up to 1. (100%) per color channel. But isn't this ratio depending on the...
by mick
Wed Jun 06, 2018 3:07 pm
Forum: User Support
Topic: Normals and refraction
Replies: 5
Views: 3591

Re: Normals and refraction

Thanks. I think I've a reasonable understanding now.

So even for simple homogenous geometries like spheres there is now way around fine meshes to get precise results for refraction (not for the object itself), right?
by mick
Wed Jun 06, 2018 2:28 pm
Forum: User Support
Topic: Normals and refraction
Replies: 5
Views: 3591

Re: Normals and refraction

So what is the effect of normals on refraction then. They just define which IOR to use for which side of the face? Or is there more like e.g. interpolating angle?
by mick
Wed Jun 06, 2018 1:04 pm
Forum: User Support
Topic: Normals and refraction
Replies: 5
Views: 3591

Normals and refraction

I achieved promising results with lenses made of quite fine meshes, and normals interpolated from face normals. Now I want to optimize precision and performance. I need validate my understanding of normals. My understanding is that (with BIDIRCPU) luxcore takes the normals to bend/curve faces to cal...
by mick
Sat Jun 02, 2018 9:16 pm
Forum: User Support
Topic: measure irradiance with BIDIRCPU
Replies: 0
Views: 3386

measure irradiance with BIDIRCPU

BIDIRCPU is the only engine capable to render realistic refraction, right? In contrast to e.g. PATHCPU with BIDIRCPU an IRRADIANCE output is just zeros. Is there a way to correct this? Or can I at least get and RGB_IMAGEPIPELINE output into a buffer? If I try so with GetOutputUInt() then I get: Runt...
by mick
Sat Jun 02, 2018 9:33 am
Forum: User Support
Topic: Refraction with pyluxcore
Replies: 20
Views: 12587

Re: Refraction with pyluxcore

I think that was the solution! It changed the picture completely. Great :o :P

I'm going to check the details.

Thanks a lot.
by mick
Sat Jun 02, 2018 9:04 am
Forum: User Support
Topic: Refraction with pyluxcore
Replies: 20
Views: 12587

Re: Refraction with pyluxcore

The forum does not allow to upload ply files.
render.cfg
(1.21 KiB) Downloaded 248 times
scene.scn
(10.43 KiB) Downloaded 250 times
I included the cfg, scn and ply files in the github repository, which B.Y.O.B. requested.

Question: Why isn't there any effect of refraction visible on the projection plane?
by mick
Fri Jun 01, 2018 5:45 pm
Forum: User Support
Topic: Refraction with pyluxcore
Replies: 20
Views: 12587

Re: Refraction with pyluxcore

Here the link to the github project with the test code:
https://github.com/ujikol/pyluxcore_test
by mick
Fri Jun 01, 2018 7:45 am
Forum: User Support
Topic: Refraction with pyluxcore
Replies: 20
Views: 12587

Re: Refraction with pyluxcore

Yes, I set IORs. scene.volumes.vol_air.type = homogeneous scene.volumes.vol_air.multiscattering = 0 scene.volumes.vol_air.scattering = 0.001 0.001 0.001 scene.volumes.vol_air.absorption = 0. 0. 0. scene.volumes.vol_air.asymmetry = 0.0 0.0 0.0 scene.world.volume.default = vol_air props.Set(pyluxcore....