That's how it's supposed to be,yes. Yeah, I thought I'm inside the cube at 
one point, and moved the xyz of the camera, but that just gives me a black 
screen. I'm not sure if I'm then perhaps 'looking' in to the wrong 
direction - I tried changing the rotation as well, but I just cant seem to 
find the cube

On Sunday, August 18, 2013 3:01:24 PM UTC+3, Andre D wrote:
>
> Im not sure if python classes work they way you think they work, you 
> basically have a static container there.  Maybe that is what you 
> intended.  Anyway, you are positioning the camera at 0,0,0 then 
> drawing a cube at 0,0,0 between -1 and 1, you are "inside" the cube 
> you are drawing. 
>
> On Sun, Aug 18, 2013 at 4:28 AM, JJesseQ 
> <[email protected]<javascript:>> 
> wrote: 
> > Decided to try out pyglet for fun, and there is a chance that it's just 
> my 
> > opengl or general logic that is failing here. I'm trying to draw a cube 
> - 3d 
> > of course - so I set the camera and tried to draw it. However, this 
> simply 
> > draws my whole screen pink for whatever reason. What's wrong with this? 
> I 
> > had to put the code to pastebin, as attach a file doesn't seem to work 
> for 
> > me. Pyglet 1.2 alpha and Python 3.3 
> > 
> > http://pastebin.com/cp17NVNm 
> > 
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to