Laser Light

Announcements, requests and support regarding the Blender Indigo export script
User avatar
OnoSendai
Developer
Posts: 6243
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Sun Nov 25, 2007 7:21 am

Here's a nearly monochromatic peak spectrum light:

Code: Select all

  <meshlight>
    <rotation>
      <matrix>
        1 0 0 0 1 0 0 0 1
      </matrix>
    </rotation> 
    <pos>0.0 0 0</pos>
    <scale>1.0</scale>
    <mesh_name>lightmesh</mesh_name>

    <!-- define the emission spectrum-->
    <spectrum>
		<peak>
			<base_value>0</base_value>
			<peak_value>100000</peak_value>
			<peak_min>495</peak_min>
			<peak_width>10</peak_width>
		</peak>
    </spectrum>
  </meshlight>
Light emitted is between 495 and 505 nm

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

Post by Kram1032 » Sun Nov 25, 2007 7:22 am

Ono, there already where problems with an unblended mirror, right at the beginning.
Image
the light seems to exactly reflect back the way it came, here, with a pure specular mirror. No blend....

Oh, and besides the thickness, I didn't mention to check the normals...
they should also point in the correct direction...

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

Post by OnoSendai » Sun Nov 25, 2007 7:31 am

Might be a bug, but specular + participating media should work fine, see for example caustic_participating_media_test.igs

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Post by dougal2 » Sun Nov 25, 2007 7:43 am

now that we have IES lights, the lightbox/slit method is a bit redundant.

save this into an .ies file:

Code: Select all

IESNA:
TILT=NONE
1 1000.00 1 3 1 1 2 -0.090 0.000 0.000
1.0 1.0 75.00

0.00 0.600  
90.00 
0.00
 1.0E+0012  0.00  
 0.0 
edit: simplfied IES data. you can try to change the 0.600 value to set the divergence angle, but I found that anything less than 0.600 didn't render on my simple test scene.

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

Post by Kram1032 » Sun Nov 25, 2007 9:53 am

yeah, that's a nice IES :)
I guess, the problem is, that lower angles are very unlikely to get found...

now, that I see your simple example (I already opened IESes but I didn't think about it, yet)
do you think, Indigo will get negative values correctly? xD
(even if it wasn't like light, that kills other light, it would make the angle even smaller due to the blend :))

User avatar
WytRaven
Indigo 100
Posts: 905
Joined: Mon Aug 27, 2007 8:24 pm
Location: Dubbo, Australia
Contact:

Post by WytRaven » Sun Nov 25, 2007 1:49 pm

Watching this thread with great interest as I plan to use lasers on my finished robot. :D

By the way Ono is it possible to do non-uniform 'density' participating media in indigo? So what I mean is the ability to add some sort of 'turbulance' or something to the scattering?
:idea: "A foolish consistency is the hobgoblin of little minds..." - Emerson 1841

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

Post by Kram1032 » Sun Nov 25, 2007 11:06 pm

you mean, clouds, dust, smoke, etc?
Ono once showed some work with particles (which would be needed), but he never talked again about that, since quite some time...
Not even bringing back the old thread helped...

Post Reply
22 posts

Who is online

Users browsing this forum: No registered users and 22 guests