Re: [Factor-talk] Time for some Tutorials

2012-08-21 Thread Market 0ne-Source.com
Hi,

I'd like to contribute documenting Factor. I come from a procedural
programming style, that should be a plus !

One efficient way to go at it would be to update documentation with
information pointed to by questions or misundertandings from people learning
Factor or a specific library.


One of my stumbling blocks is the lack of examples. I may not learn the
langage in the most logical order, however it does fit my natural curiosity.
Examples and additional notes could be submitted as first timers stumble
upon it.

Would it be possible to setup some way  to  contribute / complement
documentation ?

Just to give an example :

I wanted to get a feel on raytrace : gpu.demos.raytrace

This is the info I'd like to add

1) dependency OpenAL32.dll
2) proper way to load C library

I copied DLL to factor directory

OpenAL32.dll . cdecl add-library
OpenAL32.dll load-library

--- Data stack:
DLL .

compiler error :

ERROR: raytrace.f.glsl:44: 'sphere_intersect' : no matching overloaded
function found
ERROR: 1 compilation errors.  No code generated.

It would be love help patch up those tiny details, put end to end, slow down
learning.

Thanks,

Arb
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Time for some Tutorials

2012-08-21 Thread Market 0ne-Source.com
Thanks,

I did just that, that's when the compiler error popped up. Can the issue be
over the version of the DLL ?

Best,

Arb

I wanted to get a feel on raytrace : gpu.demos.raytrace

This is the info I'd like to add

1) dependency OpenAL32.dll
2) proper way to load C library

I copied DLL to factor directory

OpenAL32.dll . cdecl add-library
OpenAL32.dll load-library


  I think you just want to add the DLL to factor's directory and then
restart?


  You shouldn't have to run the add-library words because the
``extra/openal/openal.factor`` does it for you.


  Best,
  John.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Time for some Tutorials

2012-08-21 Thread Joe Groff
On Tue, Aug 21, 2012 at 9:27 PM, Market 0ne-Source.com
mar...@0ne-source.com wrote:
 Thanks,

 I did just that, that's when the compiler error popped up. Can the issue be
 over the version of the DLL ?

The error you posted is an OpenGL error and has nothing to do with
OpenAL. Are you using the latest OpenGL drivers for your platform?
That error appears to be a bug in your driver.

-Joe

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk