OptiCore 2024 - Part2: Exploring Lens Designs

  Рет қаралды 722

HowToPrint

HowToPrint

Күн бұрын

Пікірлер: 23
@milkogeorgiev1939
@milkogeorgiev1939 Ай бұрын
Awesome addon and tutorial!
@acidsilly
@acidsilly Ай бұрын
Incredible work
@JackToth
@JackToth Ай бұрын
Have you found a way around the limitations of floating point error for movement of lens stacks and rendering of very long focal length systems? Seems keeping them static at (0,0,0) is the best/only way to dodge those issues
@howtoprint6002
@howtoprint6002 Ай бұрын
Can't report on findings yet. More tests are planned for Video number 3. A first one I tried already was surprisingly stable, compared to what I remember from my tests with LuxCore a long while ago. However, I'm curious how this may vary for different lens designs. Ultimately, I don't thinkone can do much more, unless you rewrite Blender and any Renderengine to work entierly in 64bit float. Ray portals sound like a good solution for many applications.
@JackToth
@JackToth Ай бұрын
@ thats what I was thiniking with the bit depth, my workaround was to 'RayPortal' the rays back to a static cam at the origin. But Camera Motion blur becomes dead. Hoping to get you in contact with someones alternative method thats releasing soon. Its very well built. I'll hit u up on instagram
@howtoprint6002
@howtoprint6002 Ай бұрын
Ah I see, valid point about motion blur. Would be interesting to get in contact about alternative methods. I also have some Idea how something like this can be done efficiently, but again that requires implementation in the render engine. Instagram won't be a good channel for me, though. You can find contact information on the github page.
@dinocroon6287
@dinocroon6287 Ай бұрын
Thank you for Opticore! I have a question! If we use opticore to make virtual cameras in blender, does the size of the lenses affect the result? Also when using the camera as the reception plan of the reflected image, when we scale the camera to a certain size, it seems that its settings go crazy and difficut to set.. do you have any idea on how to do? Thank you again
@howtoprint6002
@howtoprint6002 Ай бұрын
Thank you for the feedback! I plan to publish the next tutorials in about a week, which will cover the principle setup in Cycles and LuxCoreRender. I hope those will cover your second question. Regarding the size of lenses, they have to be to scale with the scene you are setting up. If the lenses including detector/camera setup are scaled by some factor, you effectively scaled the focal length, but not the field of view and f-number. The result would be that the depth of focus is wrong. Note that currently OptiCore assumes units of millimeters, while Blender natively uses meters, so you might need to scale by a factor of 1000 - depending on how you modeled your scene.
@dinocroon6287
@dinocroon6287 Ай бұрын
@@howtoprint6002 Can't wait!!!
@ravenpotter5131
@ravenpotter5131 2 ай бұрын
Do you have plans to implement Pentaprisms, or other optical prisms?
@Konecny_M
@Konecny_M 2 ай бұрын
I actually tried beamsplitter with variable ratios but did not manage to get good results yet.
@howtoprint6002
@howtoprint6002 2 ай бұрын
I did have Pentaprisms in mind before. According to my local repo I last worked on it 3 years ago 😅 It was not on my priority list, but if there is some interest, I will bump that.
@ravenpotter5131
@ravenpotter5131 2 ай бұрын
@howtoprint6002 I was trying to make a ww2 optical rangefinder, it requires pentaprisms so they'd be helpful! But I'm probably a minority, I 3d model random things for fun.
@howtoprint6002
@howtoprint6002 2 ай бұрын
There is another option for you: You can find prisms at those off-the-shelf manufacturers I mentioned in the video. Similar to the zmx-files for optics, they offer CAD-files for most parts. Typical formats like STEP can't be opened directly by Blender, but there are freeware options like FreeCAD to convert them to STL.
@Konecny_M
@Konecny_M 2 ай бұрын
​@@ravenpotter5131 I did try pentaprism, worked on first try. If you want the PLY file just drop me a message.
@Konecny_M
@Konecny_M 2 ай бұрын
Is there any way for importing cemented doublets?
@howtoprint6002
@howtoprint6002 2 ай бұрын
The zmx-import handles cemented lenses just fine. Some lens groups in the examples I show are cemented. You can find example files at Thorlabs or Edmund optics.
@Konecny_M
@Konecny_M 2 ай бұрын
@@howtoprint6002 I was testing with Thorlabs lenses actually - the lens gets imported as single body despite showing correctly in zemax, hence my question.
@Konecny_M
@Konecny_M 2 ай бұрын
​@@howtoprint6002 Using Thorlabs AC254-030-A to replicate my problem in new project, getting the same result. Single lens body gets imported, no materials assigned. Yet opening it in zemax shows the expected structure. Is this intentional approximation or bug?
@howtoprint6002
@howtoprint6002 Ай бұрын
@@Konecny_M I just downloaded and tested that Thorlabs file. It works exactly as expected for me, including sequential raytrace. OptiCore creates a single body for cemented lenses, the middle surface is inside, you should see it in wireframe view. I do not currently have any access to Zemax to cross check how it is displayed there. It is consistent with WinLens, also for the raytrace when matching the stop size. If you still feel something is wrong, it would be helpful to have some pictures, you could open an isue on Github for example. About the materials, it only loads the refractive index for the internal "Add ray fan" feature. Materials for Cycles etc. are not created automatically.
@howtoprint6002
@howtoprint6002 Ай бұрын
By the way, it's nice to get feedback on this project from a user with a background in optics! Keep it coming ;)
OptiCore 2024 - Part1: Introduction
21:14
HowToPrint
Рет қаралды 1,2 М.
Making a Monolithic Telescope Part 1: Optical Design and Aspherics.
23:59
Почему Катар богатый? #shorts
0:45
Послезавтра
Рет қаралды 2 МЛН
번쩍번쩍 거리는 입
0:32
승비니 Seungbini
Рет қаралды 182 МЛН
OptiCore + LuxCore Lens System Tutorial
25:33
HowToPrint
Рет қаралды 8 М.
The FASTEST Cycles Renders you can get in Blender!
17:03
Kaizen
Рет қаралды 319 М.
Who would pay $120 for a Raspberry Pi?
9:31
Jeff Geerling
Рет қаралды 281 М.
BachGPT is back: Can AI Compose Like the Greatest Musician of All Time?
14:06
Nobody & The Computer
Рет қаралды 29 М.
OptiCore 2024 - Cycles Tutorial
19:35
HowToPrint
Рет қаралды 155
LÖVR -- The Easiest 3D Game Engine?
11:39
Gamefromscratch
Рет қаралды 37 М.
6 Blender Hard-Surface Modeling Tricks I Wish I Knew Earlier
9:32