first of all congratulations for this project, is a very good development. I have been working on a modification of the code to allow to cut objects, like walls, doors or windows, to prevent them hidding rooms on obliques perspectives. So, not just changing githe eight of the objects, but actually cutting them at a certain height, including the glass of the window. This is now working on my computer and looks nice. This way is posible to lower certain walls and objects to a half to make a better view.
I use ModelClip class of java3d and basically I have added a new property in the HomePieceOfFurniture class, with all the support to propagate the changes to controllers and view. Now if you modify the new property 'cut height' of any object, it gets cut at that eight.
I had to change several classes in the model and the views. If you are interested I could send the changes in a controlled way, is not that much. And I have some questions, for example how to get the windows and doors attached to a wall, if there is a direct method. I have not seen it.
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: Cut Objects for perspective view
Very nice. Feel free to submit your code as an attachment of a feature request.
There's no direct method to get the wall which windows and doors are attached to. Don't be misled by the isBoundToWall method: it tells if a door or window was dropped on a wall last time it was moved, and is used just to adjust resizing behavior of doors and windows. Holes in walls are computed in the createWallGeometries method of Wall3D class, but you probably saw that already.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Joined: Dec 11, 2014
Post Count: 1
Status:
Offline
Re: Cut Objects for perspective view
Hi, I have a question about the section cut. There is a way to cut out not only walls, but to cut my object 2(windows, doors). I found your post with invisible box, but that only cuts the walls, and that can be done only with the wall height. Sry for my english:)
Maybe this one was done I just can't figured it out.