Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Teapot Failure #3

Closed
elliottslaughter opened this issue Sep 16, 2009 · 1 comment
Closed

Teapot Failure #3

elliottslaughter opened this issue Sep 16, 2009 · 1 comment

Comments

@elliottslaughter
Copy link

Hi,

I just did a fresh install of Penumbra (using the included JOGL libs) on Mac OS X, and when I try the Marble Teapot example I get the following error. The other examples work fine.

user=> Exception in thread "AWT-EventQueue-0" java.lang.Exception: Unable to determine type of (pf)

at penumbra.translate.core$infer_types__455.invoke(core.clj:245)
at penumbra.translate.core$transform_expr__506.invoke(core.clj:275)
at penumbra.glsl.core$translate_glsl__1295.invoke(core.clj:180)
at penumbra.glsl.core$translate_shader__1302.invoke(core.clj:188)
at penumbra.glsl.core$translate_shader__1302.invoke(core.clj:197)
at penumbra.opengl$create_program__2670.invoke(opengl.clj:293)
at penumbra.opengl$create_program__2670.invoke(opengl.clj:291)
at examples.marble_teapot$init__3036.invoke(marble_teapot.clj:57)
at penumbra.window$start__2950$fn__2953.invoke(window.clj:94)
at penumbra.window.proxy$java.lang.Object$GLEventListener$9d230aec.init(Unknown Source)
at com.sun.opengl.impl.GLDrawableHelper.init(GLDrawableHelper.java:88)
at javax.media.opengl.awt.GLCanvas$InitAction.run(GLCanvas.java:603)
at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:149)
at javax.media.opengl.awt.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:553)
at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:290)
at javax.media.opengl.awt.GLCanvas.paint(GLCanvas.java:368)
at sun.awt.RepaintArea.paintComponent(RepaintArea.java:276)
at sun.awt.RepaintArea.paint(RepaintArea.java:241)
at apple.awt.ComponentModel.handleEvent(ComponentModel.java:263)
at java.awt.Component.dispatchEventImpl(Component.java:4790)
at java.awt.Component.dispatchEvent(Component.java:4544)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
@ztellman
Copy link
Owner

The type inference stuff broke a few things in the vanilla GLSL handling. Fixed now.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants