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.
More info here :
http://interiormapping.oogst3d.net/
http://www.euriskostudios.com/es/plugin_pages/vRoom.php
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.
More info here :
http://interiormapping.oogst3d.net/
http://www.euriskostudios.com/es/plugin_pages/vRoom.php
Comment