Search found 4664 matches

by Dade
Sat Dec 04, 2021 7:22 pm
Forum: Development
Topic: crashes - A heap has been corrupted error
Replies: 15
Views: 362

Re: crashes - A heap has been corrupted error

TAO wrote:
Sat Dec 04, 2021 4:51 pm
is there any way to add w in UV for luxcore as maybe 3dsmax users what to use it?
You could couple 2xUVs (i.e. multiple UV sets) to store up to 4 values for each vertex but it sounds ultra complicated.
by Dade
Fri Dec 03, 2021 9:44 am
Forum: User Support
Topic: Caustics on Car Paint doesn't work
Replies: 5
Views: 168

Re: Caustics on Car Paint doesn't work

https://drive.google.com/file/d/1SkV9daIfAgo24Su0T04V2VoY_lddzh8O/view?usp=sharing Doing it the good old way with Google Drive ! I added a simple plane with some noise to get the caustics. Other than that I changed nothing in terms of settings. I'm not sure if you are really aware of what you are t...
by Dade
Thu Dec 02, 2021 3:32 pm
Forum: User Support
Topic: Caustics on Car Paint doesn't work
Replies: 5
Views: 168

Re: Caustics on Car Paint doesn't work

So I've added both Light-Tracing and Caustics cache to be sure, and after multiple attempts it still doesn't work. I won't be able to attach the file as it is too big but I'll bring an image of the render and the caustics pass. Car paint is a glossy material and glossy material caustics are rendere...
by Dade
Wed Dec 01, 2021 11:45 am
Forum: Development
Topic: crashes - A heap has been corrupted error
Replies: 15
Views: 362

Re: crashes - A heap has been corrupted error

You may need to compile luxcore.dll with debug symbols in order to have readable stack trace of the crash (and know where inside LuxCore it happens).
by Dade
Tue Nov 30, 2021 10:07 pm
Forum: Development
Topic: crashes - A heap has been corrupted error
Replies: 15
Views: 362

Re: crashes - A heap has been corrupted error

TAO wrote:
Tue Nov 30, 2021 9:36 pm
I will dig a little bit more maybe I made a mistake in other arguments.
Try to post a debugger stack backtrace of the crash (i.e. where in the Scene destructor is the crash).
by Dade
Tue Nov 30, 2021 9:10 pm
Forum: Development
Topic: crashes - A heap has been corrupted error
Replies: 15
Views: 362

Re: crashes - A heap has been corrupted error

TAO wrote:
Tue Nov 30, 2021 8:25 pm
I'm not sure, Here is the renderfinal.

Code: Select all

void MaxToLux::renderFinal(luxcore::Scene &scene, TimeValue t, Bitmap *tobm, FrameRendParams &frp, HWND hwnd, RendProgressCallback *prog, ViewParams *vp)
It should work, the argument is declared by reference.
by Dade
Tue Nov 30, 2021 7:12 pm
Forum: Development
Topic: crashes - A heap has been corrupted error
Replies: 15
Views: 362

Re: crashes - A heap has been corrupted error

TAO wrote:
Tue Nov 30, 2021 5:49 pm

Code: Select all

		renderFinal(*scene, t, tobm,frp, hwnd, prog, vp);
You may be passing scene by value (not by pointer), how is renderFinal() declared ?
by Dade
Tue Nov 30, 2021 4:48 pm
Forum: Development
Topic: crashes - A heap has been corrupted error
Replies: 15
Views: 362

Re: crashes - A heap has been corrupted error

TAO wrote:
Tue Nov 30, 2021 3:07 pm
Dade wrote:
Tue Nov 30, 2021 1:51 pm
How do you create the scene object ?
That's how I create [...] scenes
"That's" ? Where ?
by Dade
Tue Nov 30, 2021 1:51 pm
Forum: Development
Topic: crashes - A heap has been corrupted error
Replies: 15
Views: 362

Re: crashes - A heap has been corrupted error

How do you create the scene object ?
by Dade
Tue Nov 30, 2021 8:53 am
Forum: Development
Topic: crashes - A heap has been corrupted error
Replies: 15
Views: 362

Re: crashes - A heap has been corrupted error

You are deleting objects in the wrong order. You are deleting objects while they are still referenced by other objects ("config" is referenced by "session", etc.). They crash can or can not happen, it depends if the broken pointers are referencing memory that has been reused (for your process) or no...