how to make a laser?

General discussion about Indigo Materials - material requests, material developement, feedback, etc..
User avatar
pixie
Indigo 100
Posts: 2345
Joined: Sat Dec 29, 2007 4:54 am
Location: Away from paradise
3D Software: Cinema 4D
Contact:

Post by pixie » Wed Aug 06, 2008 8:46 pm

I've used the plugin for maxon cinema in the link I gave regarding mathematical functions

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Thu Aug 07, 2008 1:33 am

x²/4f is quite a simple formula, isn't it?
If you don't mind faceting too much, it's easily doable by hand... And else, a script which does it should be done easily, too...

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Post by CTZn » Thu Aug 07, 2008 1:46 am

Well I like alex22 solution better, even if you can't get parallel rays with IES. Are you guys going to as for his IES or definitely forget about it ?
obsolete asset

alex22
Posts: 171
Joined: Thu Apr 12, 2007 12:07 pm
Location: Germany

Post by alex22 » Thu Aug 07, 2008 2:45 am

I just built a parabol by hand and its much easer to get it in focus now! Was actually quite easy thanks to the spin tool.
edit:I put in the IES, its very simple, just look at it in texteditor
Attachments
laser.IES.zip
its very simple, just look at it in texteditor
(373 Bytes) Downloaded 275 times
im1218032772.png
reduced brightness of linear tonemapping by one magnitude
im1218032772.png (92.45 KiB) Viewed 4735 times
im1218032987.png
Wall textured with this 2cm grid picture. 2cm = 0.2 Blenderunits, so the ray is about 0.3 units in diameter
im1218032987.png (130.75 KiB) Viewed 4737 times

User avatar
Borgleader
Posts: 2149
Joined: Mon Jun 16, 2008 10:48 am

Post by Borgleader » Thu Aug 07, 2008 5:06 am

Hmm, this makes way for some very intriguing scenes :)
benn hired a mercenary to kill my sig...

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Post by CTZn » Thu Aug 07, 2008 7:08 am

Thanks alex22 :)

Now that we have an 1° spread light ray, the maths must be easy to find the right parabole for it !?
obsolete asset

v_mulligan
Posts: 126
Joined: Wed Nov 28, 2007 9:16 am

Post by v_mulligan » Thu Aug 07, 2008 7:12 am

alex22 wrote:Nice, how do you do the parable?
There are some in the New Testament, though I'm not a particularly big fan myself :P . A parabola is the curve defined by a quadratic equation, the simplest being y=x^2 and the general form being y=a*x^2 + b*x + c. A paraboloid is the surface formed by rotating a parabola about an axis. This is the shape of satellite dishes and telescope mirrors, since it will cause parallel rays to converge to a focus -- or make rays diverging from a focus parallel.
alex22 wrote:I tried it with an special IES and an squashed halfsphere as mirror, but I can't get it parallel, its always diverging a bit.
Cool! You just discovered spherical aberration :) .

v_mulligan
Posts: 126
Joined: Wed Nov 28, 2007 9:16 am

Post by v_mulligan » Thu Aug 07, 2008 7:15 am

Incidentally, I'm impressed that this works. It's a tribute to Indigo's ability to model the physically accurate behaviour of light.

alex22
Posts: 171
Joined: Thu Apr 12, 2007 12:07 pm
Location: Germany

Post by alex22 » Thu Aug 07, 2008 8:15 am

My second test is made with a paraboloid.

Here a picture showing it:
Attachments
im1218034863.png
The part where the ray is brighter is the part where the source is.
im1218034863.png (105.17 KiB) Viewed 4689 times

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Post by CTZn » Thu Aug 07, 2008 8:31 am

Excellent, how about using a lens now :P
obsolete asset

v_mulligan
Posts: 126
Joined: Wed Nov 28, 2007 9:16 am

Post by v_mulligan » Thu Aug 07, 2008 10:19 am

Umm... I'm not sure you're doing it right. Unless that paraboloid is a very, VERY dense mesh, you're probably just reflecting your light in a flat mirror.

What you really want to do is have rays coming from your source in a broad arc -- say, 45 to 90 degrees. These should then strike your paraboloid and reflect back so that they're parallel. The diameter of the laser beam will be approximately the diameter of the paraboloid, so you want to use a very tiny emitter, a small paraboloid, and a large scene.

alex22
Posts: 171
Joined: Thu Apr 12, 2007 12:07 pm
Location: Germany

Post by alex22 » Thu Aug 07, 2008 10:40 am

actually your right, but I didn't notice earlier just how large my mirror is. Will going to adjust it.

v_mulligan
Posts: 126
Joined: Wed Nov 28, 2007 9:16 am

Post by v_mulligan » Thu Aug 07, 2008 2:29 pm

Here's what I meant. On the left, I've got a tiny hemispherical emitter at the focus of a parabolic mirror, with a small beamstop in front of the emitter to prevent it from flooding the scene. On the right is an ordinary cube. You can see the green beam reflected from the mirror is the same size as the mirror and it doesn't spread out at all. Pretty good laser, eh? All this needs is a little fog in the scene so that the beam is visible.

Incidentally, the laser is green, here. The red rods are not part of the laser setup -- they're just to add a little more illumination so that you can see what's going on, here.

The diagram at the bottom shows why you DON'T want to use an emitter with only a 1 degree spread. You want a nice wide spread to use the full curved surface of the mirror, and to minimize the amount of light blocked by the emitter itself.
Attachments
ParabolicMirrorDiagram.gif
ParabolicMirrorDiagram.gif (10.56 KiB) Viewed 4663 times
im1218073478.png
im1218073478.png (397.2 KiB) Viewed 4659 times
Last edited by v_mulligan on Thu Aug 07, 2008 5:22 pm, edited 1 time in total.

v_mulligan
Posts: 126
Joined: Wed Nov 28, 2007 9:16 am

Post by v_mulligan » Thu Aug 07, 2008 5:14 pm

Here's a version with a little bit of fog so that the beam is visible. Of course, the size of the emitter setup, intensity of the beam, and fog thickness would all have to be adjusted to get the desired effect -- but the proof of principle is here.

Again, the red rods have nothing to do with the laser. They're just for extra illumination.
Attachments
im1218077795.png
im1218077795.png (644.77 KiB) Viewed 4654 times

User avatar
OnoSendai
Developer
Posts: 6243
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Thu Aug 07, 2008 5:15 pm

Very cool experimental setup v_mulligan.

Post Reply
75 posts

Who is online

Users browsing this forum: No registered users and 41 guests