VRay SDK, VRenderLight

For some reason VRay doesn’t call function “eval” of VRenderLight, but other ones (compileGeometry, init) are called.
Where am I wrong?

Perhaps V-Ray does not recognize it as a V-Ray light; did you implement the I_VRAYLIGHT interface for your ObjLightDesc object?

Best regards,
Vlado

Yes, I did.
I found, if I call eval from Illuminate it works.

I am trying to optimize VRay Mesh Light.

Base Mesh Light

Modified Light

Nice improvement! :slight_smile:

yeah no kiddin. Looks better AND renders faster? Sign me up! :smile:


What did you have to change to improve the meshlight?

Actually I wrote new light sourse type as modifier for geometry.

New comparison with GI IrMap + BF

211 VrayLights

1 modified geom object light with 211 polygons

incredible. I was always of the opinion that there had to be room for improvement with the vray meshlight/material, but this is pretty awesome.

Wow. Fantastic, research. Thats is a considerable difference.

Great Job!

A few requests:
* Can you post images with GI disabled?
* Can you do a very small animation (just a camera move)?

Thanks alot and keep up the good work.

http://karba.eol3d.com/VraySpeedLight00.avi

oooh ohhh!!
here comes another 295.00 plugin…:slight_smile:

3d is becoming more and more like CrackDEE.. 1st it entice (got to have it)
then you’re hooked.(i’ve got it)
next thing you know all you money is gone for a few days High…

Davis

Of course! You are the first! :slight_smile:

yea.. LOL

Crakvis

What sort of optimization you use?

I’m guesssing some kd-tree/bvh and you search the lights close to the shade point first because they’ll have the greatest impact asuming the brightness of the light sources is the same?

I calculate light flux of source to decide how many sample I should use for this source.

Now I have gotten really clear and fast result.

That’s looking great, nice work!
Is this stable with an animated light source?