Live data from Hacker News

My Room in 3D

my-room-in-3d.vercel.app

91–100 of 134 posts

Re: My Room in 3D

#91
post #4

Although libraries like threejs (or softwares like blender) give you so many tools and knobs to play around, I cannot for the life of me make a scene look so great. The lighting, the composition, the textures, the even level of detail… I would recommend everyone try it out for themselves to see what I’m talking about. No matter how much you try, there is always something too dark or light. Always something that looks…

Recently Unreal Engine 5 released a beta version with a new lighting feature called "lumen." It makes lighting an order of magnitude easier if you can export your scene or create in Unreal.

For example: https://youtu.be/oT2DDu9vRJk

Re: My Room in 3D

#92
post #49

It's certainly a good time to become a 3D graphics developer, or at least be proficient at it. WebGL simply works. The internet is fast enough to ship a lot of assets. Even phones can render tons of graphical elements. Mix in WASM and it's pretty much golden. The world-wide-web is the true VR.

I tried WebGL about a year ago, and it wasn't ready yet. It spun up CPU quite a bit, and was a different experience in terms of performance across browsers. Has this changed in the last year?

Re: My Room in 3D

#93
post #40
post #12

Earlier quoted context omitted.

It actually works on both mobile and desktop. Mind definitely blown

It didn't work at all for me in latest Firefox, even with uBlock disabled. But it worked on a Chomium-based browser.

Worked great for me on Firefox 92 with Enhanced Tracking Protection and uBlock Origin.

Re: My Room in 3D

#95
post #76

Earlier quoted context omitted.

No, the white color of the sunlight is an illusion. It actually is yellowish, but our vision adjusts for that. We basically have a kind of adaptive white balance. The spectral intensity is mostly that of blackbody radiation, which peaks in the yellow part of the spectrum for our sun.

The sun is actually white. The yellow tint is due to Rayleigh Scattering in the atmosphere. When the sun is high in the sky there's less scattering and it appears whiter, when it's low there's more scattering and appears yellow/orange. Here's a better explanation: https://physics.stackexchange.com/questions/47694/why-is-the...

This is just wrong. The surgace of the sun is around 5700K and rhe emitted light follows the back body spectrum for that temperature. And that has a massive yellow peak. See https://en.m.wikipedia.org/wiki/File:EffectiveTemperature_30... for the data. This is measured outside the Earth's atmosphere. Rayleigh scattering does come into play, but it is way less important.

As I said, human vision has a kind of adaptive white balance that cancels out peaks like this to some extent. It also does that for artificial light sources with uneven spectra (neon light, blueish white LED lights...). [Side note: this is also the reason why cameras have adjustable white balance. A picture taken by a neutral sensor under some artificial lights is perfectly correct, but looks color tinted and wrong to the human eye afterwards, because the eye under the same conditions has a shifted white point.]

Why is this important? If you set up a light source in a renderer, you often get a pretty naive equal energy white as a default, which is simply not what you need for sunlight, even at noon under a clear sky.

Re: My Room in 3D

#97
post #95

Earlier quoted context omitted.

The sun is actually white. The yellow tint is due to Rayleigh Scattering in the atmosphere. When the sun is high in the sky there's less scattering and it appears whiter, when it's low there's more scattering and appears yellow/orange. Here's a better explanation: https://physics.stackexchange.com/questions/47694/why-is-the...

This is just wrong. The surgace of the sun is around 5700K and rhe emitted light follows the back body spectrum for that temperature. And that has a massive yellow peak. See https://en.m.wikipedia.org/wiki/File:EffectiveTemperature_30... for the data. This is measured outside the Earth's atmosphere. Rayleigh scattering does come into play, but it is way less important. As I said, human vision has a kind of adaptive w…

You see how the brain does white balancing quite clearly when working with LED lights optimised for salad, for example. The light has very little green in it and looks nearly pink. After a few minutes it looks less pink and nearly normal (depending on the lamps). Then go outside in daylight and everything suddenly look green, which takes a minute to go back to normal. The brain adds the green it perceives to be missing, and removes it again when it isn’t needed.

Re: My Room in 3D

#99
post #83
post #76

Earlier quoted context omitted.

No, the white color of the sunlight is an illusion. It actually is yellowish, but our vision adjusts for that. We basically have a kind of adaptive white balance. The spectral intensity is mostly that of blackbody radiation, which peaks in the yellow part of the spectrum for our sun.

I dont think this is true. direct sunlight can be many shades of white. It differs in the morning and the evening and it is mostly yellow. The yellowness of the sunshine is a direct result of raleigh scattering and other atmospheric effects.the blue part of the spectrum that comes from the sun is scattered by the sky, making the sky blue. Taking away the blue makes the nonscattered sunlight yellowish. On photos of th…

Of course there are different shades of white, what I am saying is that the color of the sun during the day is what people most would classify as "white" and not as "yellow" if it the color was printed on a sheet of paper.

If the sun color was actually yellow, people wouldn't be able to tell the difference between a white object and yellow object under the sun light (they would both appear yellow). And clearly they are.

On the other hand a white object doesn't get any "whiter" under another kind of light than it appears under direct sun light, this again is because the sun light is white, and not yellow.

Of course there is some subjectivity here, but it is a misconception to call the sun light yellow. For example, this "bright sun" RGB [1] color, is clearly not the color of direct sun light. Hopefully, you will agree with this.

[1] https://www.colorcombos.com/colors/FCD440

Re: My Room in 3D

#100
post #83
post #76

Earlier quoted context omitted.

No, the white color of the sunlight is an illusion. It actually is yellowish, but our vision adjusts for that. We basically have a kind of adaptive white balance. The spectral intensity is mostly that of blackbody radiation, which peaks in the yellow part of the spectrum for our sun.

I dont think this is true. direct sunlight can be many shades of white. It differs in the morning and the evening and it is mostly yellow. The yellowness of the sunshine is a direct result of raleigh scattering and other atmospheric effects.the blue part of the spectrum that comes from the sun is scattered by the sky, making the sky blue. Taking away the blue makes the nonscattered sunlight yellowish. On photos of th…

The fundamental yellowness of sunlight is not Rayleigh scattering, but the sun's natural black body spectrum. See my reply to the sibling comment.
Post reply on HN