why do you absolutely want to keep venus.obj in gem data folder, and not just put it in the patch folder, it way simplier.
It's true that loading gem data files outside their patch context isn't easy at all, it would be easier if data files where in extra/gem/data for example.
Also you can use [openpanel] for opening the file, and then getting the real path.
Simply try attached, your file is in a folder with the model file, I've compressed it with tar -cf command.
PS: try to open a terminal console one day, ;)
Patrice Colet - 06 32 66 03 57
----- "Camilo Cadavid Corredor" cccadavid@hotmail.com a écrit :
I attached the model patch, showing clearly what my objectives are (simply to control the translate value using te adc~). Please just observe the way I am loading the file. Im out of my mind trying to figure it out
Date: Tue, 4 May 2010 08:29:09 +0200 From: colet.patrice@free.fr To: cccadavid@hotmail.com Subject: Re: [PD] Loading model object in OS X 10.6
by the way why don't you just put your obj file within the pd patch
file?
then you wouldn't need to append any directory before the name
Patrice Colet - 06 32 66 03 57
----- "patko" colet.patrice@free.fr a écrit :
your path should look like something like this:
/home/camilocadavid/Library/Pd/Contents/Resources/doc/examples/Gem/data/venus.obj
if you don't put the slash, the openfile command will look for a folder called 'camilocadavid' from all pd registered folders which are pd/extra, pd/bin, all the folders into extra, all pathes declared in startup with -path option, and the folder from where you've manually started the patch, is
that
right also on a mac?
Patrice Colet - 06 32 66 03 57
----- "Camilo Cadavid Corredor" cccadavid@hotmail.com a écrit :
slash root on my mac system? Sorry, i didnt understand that
Date: Tue, 4 May 2010 04:00:12 +0200 From: colet.patrice@free.fr To: cccadavid@hotmail.com CC: pd-list@iem.at Subject: Re: [PD] Loading model object in OS X 10.6
you have no slash root on your mac system?
Patrice Colet - 06 32 66 03 57
----- "Camilo Cadavid Corredor" cccadavid@hotmail.com a
écrit :
Hi, I am experimenting with the model object. I see the example and the help, and they dont show the
entire
strip of
the loading location. When I try to use it in a new patch, it cant even find the
venus.obj
file. I must be entering the adress incorrectly. I did it
like
this:
camilocadavid/Library/Pd/Contents/Resources/doc/examples/Gem/data/venus.obj
All the characters are identical. I even tried cutting it
starting
from Library, even Pd. Still didnt work
Please help.
Connect to the next generation of MSN Messenger Get it now! _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Discover the new Windows Vista Learn more!
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Get news, entertainment and everything you care about at Live.com. Check it out!