Jump to content
  • 0
andreas Ø

TRANSPARENCY AND SHADOWS

Question

Hi Folks

I have had this question in another topic, but realized that it belonged here. So now I will re-ask:-)

 

I am looking for a way to show daylight/sunlight in top view in a house, but as if the roof above was on.
I have tried creating a transparent texture that casts a shadow, but it only works in Open GL with transparency set to 31% or more. It will not work when rendered properly.
I attach an example of how it shouldn't look...

daylight example.JPG

Share this post


Link to post

18 answers to this question

Recommended Posts

  • 0

I think you would need C4D to have more granularity in objects render visibilities.

Like using their Render Tag to make objects visible for GI and Shadows but

invisible for the Render Camera.

Share this post


Link to post
  • 0

You are best to make a section viewport. The easiest route to that is to use the clip cube. Highlight the side you want to use as a cutting edge, right-clip on the edge (top in your case) and in the contextual menu select "create section viewport". 

 

 

  • Like 1

Share this post


Link to post
  • 0

There's only one way to accomplish this in Vectorworks that I know of. Unfortunately I don't think it's possible to do it by adding a "transparent" texture to the ceiling since (sans jumping into C4D as zoomer suggests). Vectorworks doesn't allow something to be invisible while simultaneously casting a shadow.

 

This method will cast shadows from the ceiling as you desire, but the limitation is that it'll only be a Top/Plan view (can't figure out how to get it in a 3D view), and it only works as a Sheet Layer Viewport.

 

First, add a solid ceiling to your model, so that the shadows are correct.

 

59205f054513c_ScreenShot2017-05-20at8_19_07AM.png.ed8d4a47e3630044602182c6ace219c0.png

 

Then turn on the Clip Cube. Select the Clip Cube object and bring the top of the box down so that it cuts through your model. Right click the Clip Cube cutting plane and choose "Create Section Viewport".

 

Screen-Shot-2017-05-20-at-8_23.20-AM.jpg.a6ed251e97d15d167f905a58544e5217.jpg

 

In the dialogue box, choose a Sheet Layer and set your Render Style to OpenGL (presumably OpenGL Render Settings already have shadows turned on). Click on "Advanced Section Properties" and make sure that "Cast Shadows of Objects Removed by Section" is turned on in the Display tab.

 

59205fed75846_ScreenShot2017-05-20at8_25_22AM.png.c852c95355bf892350ede5b4e4c8b9dd.png

 

Then when you render your Viewport you'll get this:

592060adb1c07_ScreenShot2017-05-20at8_28_21AM.png.956a5a4b4eefeea002eb0c05f78e9d89.png

 

Instead of this:

 

592060ae809af_ScreenShot2017-05-20at8_28_28AM.png.e4ecaaefa2819aa91e4169e0ecb22903.png

 

Edit: @markddand I are thinking alike this morning :)

Edited by Andy Broomell
  • Like 3

Share this post


Link to post
  • 0

@Andy Broomwell. You can put section viewports on design layers as well.....

Share this post


Link to post
  • 0
24 minutes ago, markdd said:

You can put section viewports on design layers as well.....

 

DLSVPs seem to not have the option to cast shadows from objects removed by the section, unfortunately.

 

59206c91ae819_ScreenShot2017-05-20at9_19_02AM.png.ac5fe726f76b95c74865b5c1422a72ab.png

Share this post


Link to post
  • 0

That's most annoying!

 

4 hours ago, Andy Broomell said:

Unfortunately I don't think there's a way to do it with textures

I have made it work happily with textures on a Sheet Layer though.

Mine with textures.pdf

Edited by markdd

Share this post


Link to post
  • 0
4 minutes ago, markdd said:

That's most annoying!

 

I have made it work happily with textures on a Sheet Layer though.

Mine with textures.pdf

 

Apologies, I meant no way to do it using a "transparent" texture for the ceiling. Textures can definitely be used otherwise! :)

 

I've clarified my previous post. Thanks!

Share this post


Link to post
  • 0

Thanks. The clipcube trick is almost all I needed. The next step for me is to make a daylight simulation movie.

The only workaround that I have found is to make a transparent material at 31 % and render it in Open GL. The result is a little too hazy, and it wont work with a proper renderstyle. Any tips on that?

Share this post


Link to post
  • 0

Investigate the Heliodon tool and export a movie from that. I have built a sort of hood over my model to mask off the sun. Just temporarily hide all the other geometry on a separate layer. Would that be a good work around for you?

Drawing and animation below.....

Heliodon.vwx

Los Angeles March 16.mov

Edited by markdd

Share this post


Link to post
  • 0

Would it be possible to make a script that makes a solid object invisible for a camera?
I do not have the resources to buy C4D, and though it is possible to do the same thing in Blender, I would like to keep it within Vectorworks.

Share this post


Link to post
  • 0

Blender is a a very good alternative.

 

I doubt that you will have much access to C4D Render Engine of VW by scripting (?)

And I don't think these kind of features are accessible or even included in the engine.

@Pat Stanfordmay know better.

Share this post


Link to post
  • 0

If this is just a periodic need, edit your workspace to include the Custom Visibility menu command. It is probably hiding in the Legacy Items category. This menu command will let you turn individual items invisible.

 

Or just create two simple single line scripts.

 

Hide(Sel=TRUE);

 

and 

 

Show(All);

 

Select an item and run the first script and it will be invisible.

 

Run the second script an anything you had turned invisible will again be visible.

 

Let me know if you need more help.

 

 

Share this post


Link to post
  • 0

Hi Pat

 

Thanks for the tip.

 

What I want is something as in the linked daylight animation. In this I have made the object transparent with 31%. It works for me, but not good enough for showing to someone else.

https://drive.google.com/open?id=0B1ViGDVxXKJDUU16VURreDFETkk

 

I have tried using the script, but the object does not cast a shadow.

As to using the Custom Visibility command, I cant figure out what you mean.

 

I have thought about using Blender, but I like to keep things within one platform for as much work as possible. And I really like the animated time/date stamp option in VW.

 

Is there anyway I can do this in VW?

 

Cheers Andreas

 

Share this post


Link to post
  • 0

Why not just use 2 viewports, one hidden line or wireframe without the roof and the other render just the shadows and place it below the other?

Much like in the end of this thread.

 

Edited by Alan Woodwell

Share this post


Link to post
  • 0
On 5/30/2017 at 3:09 PM, Alan Woodwell said:

Why not just use 2 viewports, one hidden line or wireframe without the roof and the other render just the shadows and place it below the other?

 

 

The real trick is getting it to work with an animation, which viewports wont allow. I tried a number of different combinations of shader settings with various textures to try and get one that allowed you to see through it but ALSO block light, and I do not think (with textures) that it's currently possible. Going to put in a wishlist request for a few different "fake" shader types to accomplish things like this, as well as one that may make it easier to grab shadows and place them in a composite scene more easily as discussed in this thread:

 

 

Share this post


Link to post
  • 0
On 20/05/2017 at 10:08 PM, markdd said:

Investigate the Heliodon tool and export a movie from that. I have built a sort of hood over my model to mask off the sun. Just temporarily hide all the other geometry on a separate layer. Would that be a good work around for you?

Drawing and animation below.....

Heliodon.vwx

Los Angeles March 16.mov

I have edited my earlier post to add an animation. Unless I have missed the point, this works really well as a workaround and was really easy to achieve.

 

Share this post


Link to post
  • 0
31 minutes ago, markdd said:

Unless I have missed the point, this works really well as a workaround and was really easy to achieve.


Nope I think the missing was mine!

Share this post


Link to post
  • 0

I think it's a wad error. 

In my opinion the clip cube should clip the geometry but not remove its effect.

So in this simple model the light falling on the floor should be the same with/without the clip cube - but it's not.

Screen Shot 2017-06-01 at 8.47.31 AM.png

Screen Shot 2017-06-01 at 8.47.12 AM.png

  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

 

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.

×