glass behaviour

Started by archonforest, June 04, 2015, 04:16:55 AM

Previous topic - Next topic

archonforest

Why the sun and the rays are not coming through the glass shader?
I can see the planet under alright but what with the sun and the light?

I am using the same glass effect that I used with a logo and that was perfect. Also true that the logo was thin...hmmm
Dell T5500 with Dual Hexa Xeon CPU 3Ghz, 32Gb ram, GTX 1080
Amiga 1200 8Mb ram, 8Gb ssd

archonforest

Okay I handled the transparency. The sphere is fully see through but when I go out to the space
the sun rays still not coming through. Like what if I want a picture in the space with only a glass sphere
with the sun behind? Looks like it is not possible?
Dell T5500 with Dual Hexa Xeon CPU 3Ghz, 32Gb ram, GTX 1080
Amiga 1200 8Mb ram, 8Gb ssd

Kadri

#2

Haven't tried this but i just read this here:

"Bobbystahr: yeah, I know that leaving "double-sided object" unchecked is more usually the way with the glass shader.
But when I tried leaving it unchecked with a sphere, I got an effect more like a crystal ball than a bubble -- i.e., everything behind it inverted.
The bubble was what I was after: checking "double-sided" gave me that."
http://www.planetside.co.uk/forums/index.php/topic,20076.15/topicseen.html

Edit: Just saw that you are there too :)

archonforest

Thx Kadri. :)

I got a file from another member and I find what was wrong with mine.
Dell T5500 with Dual Hexa Xeon CPU 3Ghz, 32Gb ram, GTX 1080
Amiga 1200 8Mb ram, 8Gb ssd

Kadri


For others who might find this thread later what was the solution?


j meyer

Seems to be another shortcoming of the glass shader or better the way
transparency is handled inTG.
You'll have to fake it somehow I'm afraid.

archonforest

Quote from: Kadri on June 04, 2015, 12:20:38 PM

For others who might find this thread later what was the solution?

Well it is not fully okay. First problem was that the Double sided was unchecked. When I checked that the sphere went transparent.
The problem I still have is this. I have a sun and a planet. In between there is a glass sphere. When the camera is behind the sphere
looking towards the planet it looks correct. Meaning see through, glassy...etc. When I turn the camera around the glass sphere to see
the sun then suddenly it is not very glassy anymore. I expect to see sun through in full and the glass sphere also but what i have is a pretty black.
Weird...
Dell T5500 with Dual Hexa Xeon CPU 3Ghz, 32Gb ram, GTX 1080
Amiga 1200 8Mb ram, 8Gb ssd

fleetwood

#8
A highly luminous sphere object of planet size can be put in the same line as the sun. The sphere does get refracted.
If there is an atmosphere, Sunglow will get refracted if it is turned on but the sun itself is not.

I used a large sphere instead of a planet because you can check invisible on a sphere, but leave it visible to other rays. It still shows up refracted but is not visible in the sky.

In this example the glass sphere is not double sided, so it is refracting in the way of a solid crystal ball, not a soap bubble.

Dune

So if I get this right you could use the invisible sphere to perhaps get effects like a ring around the sun if you displace the sphere by sinus or so. Or flatten the sphere. Interesting result, fleetwood.

bobbystahr

Quote from: Dune on June 05, 2015, 02:00:05 AM
So if I get this right you could use the invisible sphere to perhaps get effects like a ring around the sun if you displace the sphere by sinus or so. Or flatten the sphere. Interesting result, fleetwood.

Now that's not a bad idea at all...
something borrowed,
something Blue.
Ring out the Old.
Bring in the New
Bobby Stahr, Paracosmologist

WAS

#11
You need a extremely high atmosphere. So go ahead and add another to your second image, and crank everything down until you have a soft haze. This is how I had to accomplish light in my asteroid scene.

http://www.planetside.co.uk/forums/index.php/topic,19278.msg188708.html#msg188708