Jump to content
Christiaan

Not seeing reflection/shadow in glass

Recommended Posts

EDIT: if you're looking for the solution it's here.

 

 

Any idea what am I doing wrong here? I'm expecting to see reflections and/or shadows of the handrail in the glass. 

 

window.thumb.jpg.aaf0339a9b0ff1f488416acf4cc67d5c.jpg

 

207076784_ScreenShot2018-11-15at16_06_51.thumb.png.c7ab0a41524e6e7b19081318e52daf5e.png

 

1485688154_ScreenShot2018-11-15at16_06_44.thumb.png.e66ef99d023473b23f71b339107d5f97.png

 

789132925_ScreenShot2018-11-15at18_49_52.thumb.png.a2bfe4c26702ca9758514192c9680e40.png

Edited by Christiaan

Share this post


Link to post

I was playing around with that sort of thing without any luck. Here's near white middle and near black edges.

 

window2.thumb.jpg.09b7b142be68b258a86d1f34fbd40180.jpg

Share this post


Link to post

Base colour is black (just added screenshot to original post).

 

This is Mirror and base colour set to white. So I'm getting some reflections/shadow now, thank you, but not looking like glass 😜

 

window-mirror.thumb.jpg.6b9af3ff3e728f7bc048e5b95d614d46.jpg

 

Edited by Christiaan

Share this post


Link to post

The "Edge Color" (When you look along a Material Face) in Glass Shader should be White = 100 %.

Black will deactivate the Reflection.

 

Default in VW for Center Color is Black.

Which again means 0% Reflection when you look perpendicular to a Face.

Which is the situation for an orthogonal Elevation View !

But That is wrong.

For Glass it should be the typical Reflection amount of most Dielctric Materials.

Which is about 5-8 %. So you should apply a dark Grey color with 5-8% white

for your Center Color.

That is what you would also use for a Mirror or Plastic Shader in Reflection Channel.

 

As you have a orthogonal View, which doesn't exist in reality either (= infinite Focal Length)

it may be pretty ok to crank up the Center Color even more towards White,

like a brighter dark gray with 20-40 % White = 20-40 % Reflection.

So that it looks more "right" or pleasing.

  • Like 4

Share this post


Link to post

For orthagonal views i use a fake glass material. The glass shader only works in a perspective view as zoomer mentioned. Use a dark grey color, make it a little glossy with the mirror shader, make sure there are some objects to mirror behind the view (trees other buildings etc.) Reflections from hdri backgrounds don't work too because of the orthagonal view. When you want the window to reflect clouds, you have to fake them with a cloudy noise-shader as color. Now make the material a little transparent so you see some of the interior. This makes it look a little more like glass. The advantage of this method is that you get real shadows on the glass, which is what you want in facades, but is not what it looks in reality.

345390908_FassadeGlas.jpg.4ab62abfdadfcacc8edb8da828addf41.thumb.jpg.1bd53e3acc3a986efbd2e5e30eebb14b.jpg

Now only use this material in orthagonal views by overwriting the material in the class settings of your glass in the viewport.

  • Like 1

Share this post


Link to post

Thanks for everyone's input on this. Slowly getting there.

 

On 11/19/2018 at 11:35 AM, herbieherb said:

For orthagonal views i use a fake glass material. Use a dark grey color, make it a little glossy with the mirror shader ... Now make the material a little transparent so you see some of the interior.

 

How is this different from a typical glass texture? Do you mean you use the Plain or Color transparency shader instead of the Glass one?

Edited by Christiaan

Share this post


Link to post

I've attached a test file if anybody fancies a go. I'm making progress but haven't managed to produce shadows of any substance. I'm trying to achieve the following:

  • darkish windows
  • good reflections
  • shadows

It's that last one that's really difficult. I could manually add them in the Annotations Layer but would love manage this in the render if possible.

 

Here's a couple of examples. One with lightish windows and one with darker windows, but neither with any shadows.

 

1019794005_Screenshot2018-12-09at15_54_02.thumb.png.1a6f90a22f050d5ec368beff86c25b17.png

 

290410225_Screenshot2018-12-09at15_54_07.thumb.png.dbe6f5009fe59f153c2fda5be7fb572c.png

 

 

example.vwx.zip

Share this post


Link to post
On 12/7/2018 at 9:53 PM, Christiaan said:

How is this different from a typical glass texture?

 

Here is a description of the material above:

 

As color i use a noise turbulence shader to imitate a cloudy reflection.

grafik.thumb.png.a3b60c54b31d1275797824dcbbeacb47.png

 

For the reflection of trees and stuff behind the cutting plane i use a common mirror shader:

grafik.thumb.png.7ead22f78003997d7cf953f6ab74e8c9.png

 

And finally there is a transparency-shader with about 75% transparency.

grafik.thumb.png.9bedfe4a0981b32118de0050b9a782da.png

 

Finally adjust the size of the clouds by the texture-size and activate the shadows for the material.

grafik.thumb.png.b692f5d918c807e8fdc7c6e435a1bdfe.png

 

In the settings of the section activate the shadows of objects behind the cutting-plane. Else you don't see any reflections of trees and stuff behind the cutting-plane.

grafik.thumb.png.edc87e40618833101e938406ebc48f2d.png

 

The glass shader doesn't work at all in an orthagonal view because it's math is based on the angle that you look at it.

Edited by herbieherb
  • Like 3

Share this post


Link to post

Thanks herbieherb. Looking promising—I'm getting shadows now—but my transparency shader stubbornly refuses to work! 😖

 

1554797016_Screenshot2018-12-10at14_23_53.thumb.png.08c8d68b93c3a2165c55b31c089e05ee.png

Share this post


Link to post

I tried to make an example for you but it seems that the option Cast Shadows of Objects Removed by Section doesn't work atm. So you can't see any reflections. But the sample has a glass material with transparency, cloudy look and shadows. And as soon as the bug is fixed it shoul'd also show reflections.

 

The file attached is a VW2017 file because this is the last version when the reflections did work. When you convert it to 2018 or 2019 the reflections disappear 😕

 

This is how it shoul'd look like:

glas.thumb.jpg.1635afb764c1ed8a1c117a33c273efee.jpg

 

glass.vwx

Edited by herbieherb
picture didn't load

Share this post


Link to post

Finally cracked it, thanks Herbieherb. I had to crank up the transparency. Here are the settings that worked for me in the end, along with latest rendered image. All pre-requisites met: darkish windows + good reflections + shadows

 

1595166728_Screenshot2018-12-11at10_43_45.thumb.png.8b73ebdf5828e923d05398972cf36a1d.png

 

317614279_Screenshot2018-12-11at10_45_11.thumb.png.cb56c088f0193cf71587f8634a9cdf8c.png

711444427_Screenshot2018-12-11at10_44_43.thumb.png.aacbabff0b46f1165f13e7a03384aa4d.png

1813750986_Screenshot2018-12-11at10_44_50.thumb.png.fc1a2a5df9b15385271931f914e7938a.png

1752376500_Screenshot2018-12-11at10_45_00.thumb.png.82ec22e3fbf208962af51dae19baf7b7.png

 

Edited by Christiaan
  • Like 2

Share this post


Link to post
21 hours ago, herbieherb said:

The file attached is a VW2017 file because this is the last version when the reflections did work. 😕

 

The German support indicated that it is a bug and reported it. Cast Shadows of Objects Removed by Section did'nt work for more than two years and no one noticed. 🙃

btw: very nice result @Christiaan

Edited by herbieherb
  • Like 1

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...