[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Want to try Scgraph on os x, any advice?



On OSX, you also have SCImage for hw accelerated stuff in main distro. Its pretty stable, you can even use shaders (CIKernels). You might want to check it out too.

Batuhan

On Jun 21, 2009, at 12:26 AM, Timur Kuyanov wrote:


Hello!

I'd like to try scgraph for making visuals in SC, but there is no help files
or documentation(well, there is something, but not really helpful...)

Is there anybody who went through this path?

I need to know how to:

1.Compile
2.install
3.run example.

as i found out there is already pre compiled scgrph as unix binary, so first step may be passed(even if only help file saying that actually you NEED to
compile it, am i right?)

second was quite hard for me...

i found some info in old forum:

- Install the Qt Mac OS X SDK dmg [1] - 117 meg or so
- open a Terminal
- do [assuming you have scgraph_osx.tgz downloaded to your desktop]:
tar xzf ./Desktop/scgraph_osx.tgz
cd scgraph
export SCGRAPH_SC_PLUGIN_PATH=/path/to/your/SuperCollider/Plugins
export SCGRAPH_PLUGIN_PATH=./lib/scgraph/plugins
./bin/scgraph
If you get any error messages that look suspicious, run
./bin/scgraph -vvv

i made it all, what next? Do i need to put some classes definitions
somewhere, as another participant of that thread said? where i should get
them?

From another users's post:
==
then i downloaded florian's scgraph release below and added the
classes in share to sc's extensions folder.
cd into scgraph and start with ./bin/scgraph

or i did it already? ...

at least if i making command-j on GBlending i'm getting it's definition...

Ok. What i need to do next?

Do i need to run scgraph server manually each time or SC will do it for me? Can i just run the example code, or i need to complete some shaman ritual
first?

I was tryi ng with examples, and once i even got new window, which crashed
SC after 5 seconds, but most of the time i'm getting mistakes, like

ERROR: Message 'sendMsg' not understood.
RECEIVER:
  nil
ARGS:
Instance of String {    (12ACF2B0, gc=74, fmt=07, flg=10, set=01)
 indexed slots [6]
     0 : /
     1 : g
     2 : _
     3 : n
     4 : e
     5 : w
}
  Integer 1
  Integer 0
  Integer 0
CALL STACK:
	DoesNotUnderstandError:reportError   12ACF6D0
		arg this = <instance of DoesNotUnderstandError>
	Nil:handleError   12ACF670
		arg this = nil
		arg error = <instance of DoesNotUnderstandError>
	Thread:handleError   12ACF250
		arg this = <instance of Thread>
		arg error = <instance of DoesNotUnderstandError>
	Object:throw   12ACF1F0
		arg this = <instance of DoesNotUnderstandError>
	Object:doesNotUnderstand   12ACF150
		arg this = nil
		arg selector = 'sendMsg'
		arg args = [*4]
	Interpreter:interpretPrintCmdLine   12ACDE50
		arg this = <instance of Interpreter>
		var res = nil
		var func = <instance of Function>
		var code = "a.sendMsg("/g_new", 1, 0, 0);
"
		var doc = <instance of CocoaDocument>
	Process:interpretPrintCmdLine   12ACF0F0
		arg this = <instance of Main>

or some other...

Please, share your experience, i'm new to SC, exited about it and want to
try everything...))

I have one more general question:

Is there any point of using scgraph? is it enough stable, or it's just
school project which will never be developed further, and will never become
part of Supercollider distribution?

I'm sure that i'm not the only one who want to have fast opengl based
graphics inside of SC, and not to use Processing anymore...))

Thank you!
--
View this message in context: http://n2.nabble.com/Want-to-try-Scgraph-on-os-x%2C-any-advice--tp3126377p3126377.html
Sent from the SuperCollider Users New (Use this!!!!) mailing list archive at Nabble.com.


_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/


_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/