VEX Include Files and OTLs

   2296   0   0
User Avatar
Member
4271 posts
Joined: 7月 2005
Offline
Should the vcc be able to include header files from OTLs?

Currently doing something like this will cause vcc to fail.
#include “opdefShop/MyOP?math.h”

If vcc supported this would anyone use it? I think it would make shader assets more encapsulated but doing so would probably require a little bit more management to setup.

There would probably be a bit of overhead during compiling since vcc would have to scan OTLs in the HOUDINI_PATH, Current Hip File looking for the asset.

What do you all think?
if(coffees<2,round(float),float)
  • Quick Links