On Thu, Nov 24, 2011 at 4:38 AM, Ecir Hana <[email protected]> wrote:

> Hello,
>
> I'm totally new to OpenGL programming an to pyglet a well. But I saw a
> WebGL path tracer [1] a I really would like to know if there is
> something like this also for Python or whether it would be even
> possible to write such path tracer with pyglet.
>

It's certainly possible. That is just a path tracer implemented as a GLSL
shader - there is nothing inherently tying it to WebGL versus any other
OpenGL library (such as pyglet's).

PS: I see that pyglet includes lots of functionality - is it possible
> to have only the 3D part?
>

Yes, you can just use pyglet as a windowing interface for OpenGL.

Although it isn't path tracing, my old 'Life' demo is one example of a
simple pyglet program that just serves as a container for shader-based
effects:

http://swiftcoder.wordpress.com/2008/12/20/conways-game-of-life-in-glslpyglet/

-- 
Tristam MacDonald
System Administrator, Suffolk University Math & CS Department
http://swiftcoder.wordpress.com/

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en.

Reply via email to