I wonder if it’s possible with OSL to code a complex shader that can build interiors of buildings at render time ?
This is a technique that’s been used for years now in video games and movies to quickly generate interiors for scenes with lots of buildings.
The idea is simple : the shader is assigned to glass surfaces (windows) it then extrudes these polygons and assigns textures to the new faces depending if they are ceiling or walls.
I first discovered this technique through a Lightwave plugin, VRoom, that sadly was never ported to any other 3d package.
i had an idea like this years ago.. if you remember those awful RPC people.. a plane that would load a different view of a person depending on the viewing angle.
i wanted something similar for windows. . a plane you put behind the window, and a library of pre-rendered (or photographed) interiors, captured from multiple angles (think qtvr) mapped onto the planes, so the perspective would be correct wherever you looked at the building from, but the rendertimes would be minimal.
probably still an idea with legs, but back then with hardly any processing power or ram, it would have been a godsend.
Yes, I know that plugin. I would have bought it if it was not made by R&D Group I bought Splineland a few years ago from them and was very dissatisfied. The plugin doesn’t seem to be given any attention apart from making it compatible with new versions of max. Also their licensing system is awful.
This looks nice, I didn’t even know that was possible… If the chaosgroup guys could do a proper implementation of that in one of the next servicepacks that’d be cool ALthough this might not be very high on the priority list.
I presume the ranking in the priority list is also determined to some extent by the amount of voices asking for a particular feature. So if we push hard enough…
For the moment we build our own planes from 7 different angles based on interiors that we modeled and rendered.
Now we multi sub them according to the angle of view from the camera.
A bit of manual work but works great.
If Vray does something similar out of the box, I’d love it.