tomer Posted December 20, 2017 Share Posted December 20, 2017 Hello, I want to create a wall with windows - the wall is 2d and the window is a simple 3d model and I want the light to go through the window naturally. The way I'm doing it now is based on floor plan tutorial - creating a wall Mesh with a "hole" for the window and then position the window mesh at the same place. But... this code is getting pretty dirty, I need to support more than 1 window per wall, and I also want to update the window's position and wall size. So I was thinking maybe there is a better way of doing it? Is it possible to create the simplest wall (just a plane object) and define the window in a way that everything (can only be the wall) behind him doesn't get rendered? To better explain what I mean here is a stupid illustration I made: A - what I'm doing now (draw all the rectangles I need to do when there's a window on the wall) B - What I want to do (only a simple wall but just a part of it sometimes not rendered) * walls are can only be straight * rooms I support only square rooms at the moment Thoughts, anyone? Thanks! Tomer Quote Link to comment Share on other sites More sharing options...
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.