Search found 434 matches

by CodeHD
Sun Apr 05, 2020 8:49 pm
Forum: General Discussion
Topic: Little Addon for optical lenses etc.
Replies: 56
Views: 40545

Re: Little Addon for optical lenses etc.

uuh sweet, I must have overlooked that :D
by CodeHD
Sun Apr 05, 2020 8:42 pm
Forum: General Discussion
Topic: Little Addon for optical lenses etc.
Replies: 56
Views: 40545

Re: Little Addon for optical lenses etc.

Smooth shaded meshes will use the Blender vertex normal, which is an array of three shorts in Blender, so I guess it's at half precision (2 bytes instead of 4). I think you could circumvent that by using custom split normals (they are floats). Thats a good point, I guess the normals will be the imp...
by CodeHD
Sun Apr 05, 2020 8:27 pm
Forum: General Discussion
Topic: Little Addon for optical lenses etc.
Replies: 56
Views: 40545

Re: Little Addon for optical lenses etc.

I have been thinking a bit more. It makes sense that this happens. (Real) lens surfaces need to be shaped and polished very accurately for good optical performance. Kind of why made this addon in the first place ;) So it makes a difference whether a vertex coordinate is 1.001 or 1.002. If you offset...
by CodeHD
Sun Apr 05, 2020 5:11 pm
Forum: User Support
Topic: Light nodes
Replies: 3
Views: 2018

Re: Light nodes

Hi em3d, and welcome to LuxCore :) Please be aware that Lux is a different render engine with different functionalities, so you will not find the same nodes that cycles offers. Some exists, some don't. In some cases, a specific function can be repliated in other ways. Maybe you can show an example o...
by CodeHD
Sun Apr 05, 2020 4:22 pm
Forum: General Discussion
Topic: Little Addon for optical lenses etc.
Replies: 56
Views: 40545

Re: Little Addon for optical lenses etc.

what can help actually is upscaling the entire scene. With your own camera modelled, you're not dependent on obeying correct units to have DoF working.
However, this only works as long as your models of building don't run into upper limits.
by CodeHD
Sun Apr 05, 2020 4:19 pm
Forum: General Discussion
Topic: Little Addon for optical lenses etc.
Replies: 56
Views: 40545

Re: Little Addon for optical lenses etc.

I can reproduce the problem with a simple test scene, only 1 lens, detector, and a laser light source that produces as focus spot. In this simple scene, the focus spot grows gradually with increasing x-direction, and becomes vertically/horizontally striped in y/z-direction. It is a bit worse with Bi...
by CodeHD
Sun Apr 05, 2020 11:58 am
Forum: General Discussion
Topic: Little Addon for optical lenses etc.
Replies: 56
Views: 40545

Re: Little Addon for optical lenses etc.

I see the problem in your test scene. Although there seems to be something else wrong, I have several issues with meshes being displayed. One of the target disks looks like z-figiting surfaces, but there are no doubles, and the aperture looks different in object and edit mode. And just now when I wa...
by CodeHD
Sun Apr 05, 2020 11:20 am
Forum: User Support
Topic: Problem with Z-Depth output
Replies: 11
Views: 4692

Re: Problem with Z-Depth output

It is a Blender API method: https://docs.blender.org/api/current/bpy.types.RenderEngine.html?highlight=add_pass#bpy.types.RenderEngine.add_pass But it's not important to your problem. You probably want to look at the LuxCore code where the depth AOV output is computed. Or maybe this? https://github...
by CodeHD
Sun Apr 05, 2020 11:13 am
Forum: General Discussion
Topic: Little Addon for optical lenses etc.
Replies: 56
Views: 40545

Re: Little Addon for optical lenses etc.

After attempt to recreate lens from image from the internet and inventing working! but not focusing on infinity lens system, I've discovered this:sca.png Ther's button in edit tab which look like pair of red/blue eyes. Just enter desired efl and get your new lens! Ah, nice feature, thanks for point...
by CodeHD
Sat Apr 04, 2020 9:53 pm
Forum: User Support
Topic: Problem with Z-Depth output
Replies: 11
Views: 4692

Re: Problem with Z-Depth output

Hi, I've been investigating the depth AOV a bit after yesterdays discussion in the radio-modelling thread. After far too much unneccessary checking, I've noticed the following (blend-file attached for a test setup - camera at centre of a hollow sphere carved into a cube): With LuxCore standalone, I ...