3Delight - Error compiling *.sdl in Houdini.

   6393   3   0
User Avatar
Member
18 posts
Joined:
Offline
Trying to set up Houdini to create 3Delight shaders, I am getting this errors on the console:



3DL WARNING: Cannot find shader ‘Ctemp/rsl_surface1’, will try ‘defaultsurface’
searchpath: found file ‘C:\3Delight\shaders/defaultsurface.sdl’



Manually compiling the shaders on the command line generate this errors:


houdLambert.sl:21: Cannot open file: voptype.h.
houdLambert.sl:22: Cannot open file: voplib.h.
houdLambert.sl:50: ERROR: parse error




I specified the path to the libraries on the *.sl file to:



#include “CArchivos de programa/Side Effects Software/Houdini 8.0.410/houdini/vex/include/voptype.h”
#include “CArchivos de programa/Side Effects Software/Houdini 8.0.410/houdini/vex/include/voplib.h”



And the compiler cries for:



#include “CArchivos de programa/Side Effects Software/Houdini 8.0.410/houdini/vex/include/math.h”
#include “CArchivos de programa/Side Effects Software/Houdini 8.0.410/houdini/vex/include/shading.h”



And I get this error:



CArchivos de programa/Side Effects Software/Houdini 8.0.410/houdini/vex/include/math.h:34: A function call is not allowed in a constant expression.
CArchivos de programa/Side Effects Software/Houdini 8.0.410/houdini/vex/include/voplib.h:41: Cannot open file: math.h.
CArchivos de programa/Side Effects Software/Houdini 8.0.410/houdini/vex/include/voplib.h:42: Cannot open file: shading.h.
CArchivos de programa/Side Effects Software/Houdini 8.0.410/houdini/vex/include/voplib.h:85: ERROR: parse error

vop_bindST(float news, ss; int isSConnected;
^
Compilation aborted due to errors: 1 errors, 0 warnings.



I am running under windows, starting houdini from command line tools with all the vars set (followed http://www.odforce.net/wiki/index.php?title=3DelightSetup&diff=next&oldid=6570 [odforce.net] )

Many thanks.
User Avatar
Member
4262 posts
Joined: July 2005
Offline
I could be wrong but it looks like you are trying to compile a VEX Surface VOP instead of a RSL Surface VOP.
if(coffees<2,round(float),float)
User Avatar
Member
18 posts
Joined:
Offline
Well, it is an RSL Surface Shader with a simple output and lighting model … should be fine, right ?

Thanks for the post.
User Avatar
Member
4262 posts
Joined: July 2005
Offline
Yea that should be right then.
if(coffees<2,round(float),float)
  • Quick Links