How to make CG compiled with j3d-core?
I tried
1
| >ant -DCOMPILE_CG_SHADERS=1 |
but
is not produced.
After "ant debug", I found the building process never goes into
"
<target name="init-cg" if="build.cg">
<property name="cflags.cg" value="-DCOMPILE_CG_SHADERS=1"/>
<property name="cg.home" location="c:/Program Files/NVIDIA Corporation/Cg"/>
</target>
"
of file "build-windows-i586-vc.xml", which seems to tell "build.cg" is not true.
I searched in j3d-core folder, and found "build.cg" only exists in file "build-windows-i586-vc.xml".
Therefore, "build.cg" is not defined at all?


?
I'll remove it and have a go.
Cheers
JIA Pei