Search found 80 matches
- Sun May 27, 2018 12:08 am
- Forum: User Support
- Topic: data type of transformation matrix in PyLuxCore
- Replies: 1
- Views: 1813
Re: data type of transformation matrix in PyLuxCore
Found it in the source code. It's a flattened list, i.e. python list of 16 floats.
- Sat May 26, 2018 11:58 pm
- Forum: User Support
- Topic: data type of transformation matrix in PyLuxCore
- Replies: 1
- Views: 1813
data type of transformation matrix in PyLuxCore
What is the data type of the parameter transform for the function DefineMesh()? I.e., how do I create it?
- Fri May 25, 2018 8:46 am
- Forum: User Support
- Topic: LuxCore API - comparable quality
- Replies: 11
- Views: 7058
Re: LuxCore API - comparable quality
As I wrote, there was this mistake in a intermediate version of the test code. But the problem was and is WaitForDone(), which does not return.
I'm quite sure that there is a bug as the same configuration works fine with a HasDone() loop.
I'm quite sure that there is a bug as the same configuration works fine with a HasDone() loop.
- Thu May 24, 2018 4:19 pm
- Forum: User Support
- Topic: LuxCore API - comparable quality
- Replies: 11
- Views: 7058
Re: LuxCore API - comparable quality
HasDone works with both engines. There was a problem with the break condition in my latest code. Still I guess that the is something wrong with WaitForDone().
- Thu May 24, 2018 4:13 pm
- Forum: User Support
- Topic: LuxCore API - comparable quality
- Replies: 11
- Views: 7058
Re: LuxCore API - comparable quality
I'm going to try TILEPATH. But still the behavior of haltspp is strange. Now with HasDone(): def render(scene): session = build_session(scene) session.Start() while True: sleep(1) session.UpdateStats() stats = session.GetStats() print("[Elapsed time: %3d/5sec][Samples %4d][Avg. samples/sec % 3....
- Thu May 24, 2018 4:01 pm
- Forum: User Support
- Topic: LuxCore API - comparable quality
- Replies: 11
- Views: 7058
Re: LuxCore API - comparable quality
Just found out:
returns immediately,
not at all.
Code: Select all
batch.haltspp = 1
Code: Select all
batch.haltspp = 2
- Thu May 24, 2018 3:54 pm
- Forum: User Support
- Topic: LuxCore API - comparable quality
- Replies: 11
- Views: 7058
Re: LuxCore API - comparable quality
Of course I don't need the loop. This is just for the time restricted approach. But that's not the issue. It should print the stats after returning from WaitForDone(), and then break anyway if more the 5 secs past.
But it hangs (processing) before reaching the print.
But it hangs (processing) before reaching the print.
- Thu May 24, 2018 3:44 pm
- Forum: User Support
- Topic: LuxCore API - comparable quality
- Replies: 11
- Views: 7058
Re: LuxCore API - comparable quality
def render(scene): session = build_session(scene) session.Start() startTime = time() while True: session.WaitForDone() #sleep(1) elapsedTime = time() - startTime session.UpdateStats() stats = session.GetStats() print("[Elapsed time: %3d/5sec][Samples %4d][Avg. samples/sec % 3.2fM on %.1fK tris...
- Thu May 24, 2018 3:41 pm
- Forum: User Support
- Topic: real world sun and diffusion power
- Replies: 0
- Views: 3512
real world sun and diffusion power
How can I regulate sun and sky2 power to match real world radiation at a certain longitude, latitude, altitude at specific time of day and year, at clear weather condition?
I can calculate the radiation in watts per square meter. How do I translate this in LuxCore parameter?
I can calculate the radiation in watts per square meter. How do I translate this in LuxCore parameter?
- Thu May 24, 2018 3:31 pm
- Forum: User Support
- Topic: LuxCore API - comparable quality
- Replies: 11
- Views: 7058
LuxCore API - comparable quality
I need to compare the irradiation between scenes with different sets of lenses. Tracing performance will be impacted by differences of the scenes, and external factors like e.g. system load. So I cannot expect that a fixed tracing duration would deliver comparable results. How can a best achieve tha...