Entities visibility relationships
-
Hello everyone,
I hope I could find some help from you !
Let's say I have a surface component and a box component. That box component is right below that surface. Please look at the attached file.
That surface has a transparent frontface material, and an opaque backface material. So you can see through it only from above.
I would like the box component to interact in the same way : to be transparent or hidden when I'm looking from above, and to be shown when I'm looking beneath the surface.
Could that be made using dynamic components or ruby scripting ?
Many thanks in advance for help, hope i've been clear enough.
Best regards
-
Dynamic components cannot achieve this. Scripting might, crudely, if one could write a script linking the visibility of the box to the relationship between the camera, plane, and box, but you'd need it constantly running if you wanted it to update in real time, which sounds pretty inefficient to me.
What precisely are you trying to achieve? Could the section tool help you in any way?
-
Thanks for your response. I am trying to achieve that, in a house model, ceilings and its elements (like lamps, moldings etc) would be hidden in 3d mode (3d view from above) but shown in a first person view. This would be for a 3d visualization service on the web.
-
toggling a 'Section Cut' can do that in SU, and the 'toggling' could be scripted, but I assume your exporting the model for your service, so adding a 'clipping plane' to it's content will depend on the API your using for that side...
john
-
The clipping plane is actually not recognized on the visualization service ... So it looks much complicated. Thanks a lot anyway !
Advertisement