On windows if you specify path using forward slashes(posix style), for example:
Surface "D:/library/temp/shader_1h8J70"
You will receive an error:
Failed to find shader "D:/library/temp/shader_1h8J70"
It seems you have to use the one that windows like. I would like to change this using source. Could anybody point me out the correct place to look for.
Cheers
Prashant
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-05-26
Hello,
I haven't tried this myself with Pixie but 3Delight uses a cygwin like syntax for windows paths such as…
Hi,
On windows if you specify path using forward slashes(posix style), for example:
Surface "D:/library/temp/shader_1h8J70"
You will receive an error:
Failed to find shader "D:/library/temp/shader_1h8J70"
It seems you have to use the one that windows like. I would like to change this using source. Could anybody point me out the correct place to look for.
Cheers
Prashant
Hello,
I haven't tried this myself with Pixie but 3Delight uses a cygwin like syntax for windows paths such as…
"D:\library\temp\shader_1h8J70"
"//D/library/temp/shader_1h8J70"
Maybe this will work for Pixie too?
Eric Back (WHiTeRaBBiT)
Yes, with 3delight there is no problem but pixie doesn't support it.
Prashant
Prashant,
the correct place is the function
sdrGet()
in sdr.y / sdr.c, see:
http://pixie.svn.sourceforge.net/viewvc/pixie/trunk/src/sdr/sdr.y?revision=1182&view=markup
kind regards,
Randolf