Author Topic: [Just for fun] Some LED renderings  (Read 6476 times)

0 Members and 1 Guest are viewing this topic.

Offline kalelTopic starter

  • Frequent Contributor
  • **
  • Posts: 880
  • Country: 00
[Just for fun] Some LED renderings
« on: June 27, 2017, 11:49:37 pm »
Just a few off topic (well, still electronics related) LED renderings.
I designed the LED model loosely, not following any strict criteria (exact size, shape, material color and such), just for fun - and to see how the light patterns would look. Other than that, there's no goal.

Even in the low resolution, each image took about 1 hour to render. More time would yield somewhat better image quality and perhaps more realistic results (as more light paths are calculated) - although realism would require exact shapes and material tables from the actual silicone and resin.

This is a kind of standard pointed clear LED:


This is a kind of clear LED with almost flat end:


The same as above, but with a diffused lens:


Finally, a slightly higher resolution image using a different rendering technique, with random-ish colors assigned (the dots/light spots are normal - they can either be removed in post processing or as time approaches infinity, they might resolve):
 
The following users thanked this post: Zbig

Offline matseng

  • Frequent Contributor
  • **
  • Posts: 563
  • Country: se
    • My Github
Re: [Just for fun] Some LED renderings
« Reply #1 on: June 28, 2017, 04:20:07 am »
Nice!  Almost looks better than real LEDs (which are notoriously hard to photograph properly).... ;-)
 
The following users thanked this post: uwezi, kalel

Offline Cubdriver

  • Supporter
  • ****
  • Posts: 4201
  • Country: us
  • Nixie addict
    • Photos of electronic gear
Re: [Just for fun] Some LED renderings
« Reply #2 on: June 28, 2017, 07:00:12 am »
Very nicely done!  That last one looks like it could be made into a poster.

-Pat
If it jams, force it.  If it breaks, you needed a new one anyway...
 
The following users thanked this post: kalel

Offline garboui

  • Regular Contributor
  • *
  • Posts: 69
Re: [Just for fun] Some LED renderings
« Reply #3 on: June 28, 2017, 09:58:35 pm »
Very cool! May I ask the software this was done in?
 
The following users thanked this post: kalel

Offline kalelTopic starter

  • Frequent Contributor
  • **
  • Posts: 880
  • Country: 00
Re: [Just for fun] Some LED renderings
« Reply #4 on: June 28, 2017, 10:38:10 pm »
Thanks everyone.

May I ask the software this was done in?

Yes of course, the "model" (not exactly a precise one) was made in Blender, and rendering using a plugin called Luxrender, which offers physically realistic calculations. Everything is open source.
« Last Edit: June 28, 2017, 10:40:01 pm by kalel »
 

Offline kalelTopic starter

  • Frequent Contributor
  • **
  • Posts: 880
  • Country: 00
Re: [Just for fun] Some LED renderings
« Reply #5 on: July 01, 2017, 01:39:47 am »
After a while of rendering and some post processing to remove noise, I'm sharing this 1920 x 1080 wallpaper image. It's not perfect, but it would take too much time for ever diminishing improvements.

Released under public domain CC0 for any legal use.

 
The following users thanked this post: benst, Zbig, alexanderbrevig, endevor100

Offline CatalinaWOW

  • Super Contributor
  • ***
  • Posts: 5231
  • Country: us
Re: [Just for fun] Some LED renderings
« Reply #6 on: July 01, 2017, 01:57:18 am »
Lovely images.  Thanks for sharing. 

Nothing good comes without a downside though.  You do realize that these are going to show up someday as a demonstration of powering LEDs over the air, or perhaps by harvesting micro-vibrations.
 
The following users thanked this post: Omega Glory, kalel

Offline kalelTopic starter

  • Frequent Contributor
  • **
  • Posts: 880
  • Country: 00
Re: [Just for fun] Some LED renderings
« Reply #7 on: July 01, 2017, 02:17:32 am »
Lovely images.  Thanks for sharing. 

Nothing good comes without a downside though.  You do realize that these are going to show up someday as a demonstration of powering LEDs over the air, or perhaps by harvesting micro-vibrations.

I thought about attaching an apparent cable, but in most of the images the LED pins are not 100% visible over their entire length. That means, it's possible that they are connected to some power supply in the background. Even these virtual LEDs didn't light up without power (computer power to draw them).
 

Offline Zbig

  • Frequent Contributor
  • **
  • Posts: 927
  • Country: pl
Re: [Just for fun] Some LED renderings
« Reply #8 on: July 03, 2017, 10:35:27 am »
After a while of rendering and some post processing to remove noise, I'm sharing this 1920 x 1080 wallpaper image. It's not perfect, but it would take too much time for ever diminishing improvements.

Released under public domain CC0 for any legal use.

Onto my smartphone's home screen it goes!
 
The following users thanked this post: kalel

Offline kalelTopic starter

  • Frequent Contributor
  • **
  • Posts: 880
  • Country: 00
Re: [Just for fun] Some LED renderings
« Reply #9 on: July 03, 2017, 11:17:15 am »
After a while of rendering and some post processing to remove noise, I'm sharing this 1920 x 1080 wallpaper image. It's not perfect, but it would take too much time for ever diminishing improvements.

Released under public domain CC0 for any legal use.

Onto my smartphone's home screen it goes!

Happy to hear that! :) P.S. if someone has any similar ideas for another LED wallpaper (different setup, perspective, perhaps shape), let me know.
I'm not using any model libraries (although an open source component library could be used I assume), so if hand making them, it's easier to have as little different components as possible.

Also, animations might sound cool, but would only be feasible with an expensive server computer (something with really high CPU power). Otherwise, well, up to a few days per frame * 24 = up to a few months per second.
« Last Edit: July 03, 2017, 10:36:50 pm by kalel »
 

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: [Just for fun] Some LED renderings
« Reply #10 on: July 05, 2017, 03:20:37 am »
Ive fooled around with that a bit.

Luxrender is quite good with AMD hardware and OpenCL which is a plus. And its fast.
"What the large print giveth, the small print taketh away."
 

Offline kalelTopic starter

  • Frequent Contributor
  • **
  • Posts: 880
  • Country: 00
Re: [Just for fun] Some LED renderings
« Reply #11 on: July 05, 2017, 03:44:09 am »
Ive fooled around with that a bit.

Luxrender is quite good with AMD hardware and OpenCL which is a plus. And its fast.

Yup, with AMD GPUs you don't have much of a choice (yet) in the industry. There is cycles support, but compile times are huge.
However, for some things like in those images, CPU must be used (until some really bright people implement GPU support for the calculations). For simpler scenes, GPU rendering on a cheap GPU can be as fast as CPU rendering on a really expensive CPU. 
 

Offline idpromnut

  • Supporter
  • ****
  • Posts: 613
  • Country: ca
Re: [Just for fun] Some LED renderings
« Reply #12 on: July 05, 2017, 05:04:55 pm »
+1 for phone wallpaper.  Thanks!
 
The following users thanked this post: kalel

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: [Just for fun] Some LED renderings
« Reply #13 on: July 05, 2017, 06:14:10 pm »
what is the best (free or cheap) platform for rendering optical items (LEDs, other lights/lamps/lenses, reflection by mirrors etc.) realistically?

Are there any options besides Blender? I have some lighting design ideas I want to visualize and I don't want to buy (cant afford) any kind of dedicated optics program.
"What the large print giveth, the small print taketh away."
 
The following users thanked this post: kalel

Offline kalelTopic starter

  • Frequent Contributor
  • **
  • Posts: 880
  • Country: 00
Re: [Just for fun] Some LED renderings
« Reply #14 on: July 06, 2017, 12:49:32 am »
what is the best (free or cheap) platform for rendering optical items (LEDs, other lights/lamps/lenses, reflection by mirrors etc.) realistically?

Are there any options besides Blender? I have some lighting design ideas I want to visualize and I don't want to buy (cant afford) any kind of dedicated optics program.

With Luxrender and bidir used (especially using the old API), you can get a nice and realistic effect provided materials are setup correctly. Both will calculate light going through the lens you design, and with the old API you can get dispersion (e.g. rainbow) if necessary (although this slows down rendering quite a bit). But if you're looking for a true dedicated simulator, you might want to search for some free / open source light simulation tools.

Otherwise, you might be able to get by with Blender, although in every case (regardless of the software used) I expect there will be some effort to get the desired result.
« Last Edit: July 06, 2017, 12:52:56 am by kalel »
 

Offline Buriedcode

  • Super Contributor
  • ***
  • Posts: 1611
  • Country: gb
Re: [Just for fun] Some LED renderings
« Reply #15 on: July 06, 2017, 01:11:43 pm »
Although its free and (so I've heard) looked down upon... I started using POVray a few years back after using it for Eagle3D.   Mostly to design LED lumineers.  I dabbled with it for experimenting with backlights/lightpipes but didn't get that far as its not really 'optical software', plus I was used to nice GUI's rather than just creating a scene with raw code.  Somewhat addictive though! 

I'm not sure if there's a modern equivalent or if POVray is sitll going strong.
 

Offline kalelTopic starter

  • Frequent Contributor
  • **
  • Posts: 880
  • Country: 00
Re: [Just for fun] Some LED renderings
« Reply #16 on: July 07, 2017, 01:12:05 am »
Although its free and (so I've heard) looked down upon... I started using POVray a few years back after using it for Eagle3D.   Mostly to design LED lumineers.  I dabbled with it for experimenting with backlights/lightpipes but didn't get that far as its not really 'optical software', plus I was used to nice GUI's rather than just creating a scene with raw code.  Somewhat addictive though! 

I'm not sure if there's a modern equivalent or if POVray is sitll going strong.

POVray is nice, although personally I would consider Lux more powerful when it comes to rendering such things. On the other hand, I'm not sure Lux is really integrated into things like Eagle3D, so one way would be to go through something like Blender. Other ways would be more complicated.
 

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: [Just for fun] Some LED renderings
« Reply #17 on: July 08, 2017, 05:22:05 am »
It would be cool if somebody would integrate photogrammetry especially using trans-illuminated PCBs into a PCB design program. You could possibly reverse engineer PCBs as well as build a 3D model based on their visual appearance automatically.
"What the large print giveth, the small print taketh away."
 

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: [Just for fun] Some LED renderings
« Reply #18 on: July 08, 2017, 05:24:29 am »
Does blender do mechanics or anything of that kind? It does, doesn't it?
"What the large print giveth, the small print taketh away."
 

Offline kalelTopic starter

  • Frequent Contributor
  • **
  • Posts: 880
  • Country: 00
Re: [Just for fun] Some LED renderings
« Reply #19 on: July 08, 2017, 05:28:49 am »
Does blender do mechanics or anything of that kind? It does, doesn't it?

I'm not 100% sure what you mean by mechanics, but Blender is not a CAD tool unfortunately. There are tons of extensions, so there might be some which make it more friendly for that usage, but any CAD tool is likely going to be easier.

You could design the stuff in some CAD tool and then rendering it with Blender if the tool doesn't come with great rendering features itself.
 

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: [Just for fun] Some LED renderings
« Reply #20 on: July 09, 2017, 12:08:33 am »
There is also a program called solvespace which is free, and looks useful for exploring basic geometry

http://solvespace.com/


FEA = finite element analysis?
"What the large print giveth, the small print taketh away."
 

Offline kalelTopic starter

  • Frequent Contributor
  • **
  • Posts: 880
  • Country: 00
Re: [Just for fun] Some LED renderings
« Reply #21 on: July 09, 2017, 10:49:56 am »
Here are some rectangular LEDs (no realistic model, the same as before just with changed Resin shape).
As before, the image is released under Public domain, but this time the resolution is much smaller.
 

Offline kalelTopic starter

  • Frequent Contributor
  • **
  • Posts: 880
  • Country: 00
Re: [Just for fun] Some LED renderings
« Reply #22 on: July 10, 2017, 08:27:06 am »
Here's a "connected" version in a 'breadboard', with some strange unmarked resistors, no one knows what's inside but they seem to work. The LED is using a diffused shell.

It's a bit low res as the previous one. This one took about 40 minutes. As all previous ones I've posted in this thread, the image is public domain.
 

Offline Cubdriver

  • Supporter
  • ****
  • Posts: 4201
  • Country: us
  • Nixie addict
    • Photos of electronic gear
Re: [Just for fun] Some LED renderings
« Reply #23 on: July 10, 2017, 08:59:03 am »
Gotta love acronyms/abbreviations, and how context sensitive they can be - FDM to me is Fused Deposition Modeling (a form of 3D printing).

-Pat
If it jams, force it.  If it breaks, you needed a new one anyway...
 

Offline uwezi

  • Supporter
  • ****
  • Posts: 272
  • Country: se
    • GreenPhotons
Re: [Just for fun] Some LED renderings
« Reply #24 on: July 10, 2017, 09:28:32 am »
There is also a program called solvespace which is free, and looks useful for exploring basic geometry

http://solvespace.com/


The Github file of v2.3 was immediately quarantined by Panda AV on my computer!

P.S.: in my case it was the Windows-binary
« Last Edit: July 11, 2017, 10:03:33 am by uwezi »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf