I changed the definition of the Camera z to -4. Works for me? http://i.imgur.com/XS4Fy5z.png
Changed line 12 to -4 On Sun, Aug 18, 2013 at 5:07 AM, JJesseQ <epaonnistumi...@hotmail.com> wrote: > Yeah, it's a static container for now on purpose for now, just trying to > make it show a cube. Positioning the camera somewhere else does nothing - I > tried various values. I also tried changing the cube itself, but it just > keeps drawing the screen pink > > > 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 <epaonni...@hotmail.com> 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 pyglet-users+unsubscr...@googlegroups.com. > To post to this group, send email to pyglet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/pyglet-users. > For more options, visit https://groups.google.com/groups/opt_out. -- 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 pyglet-users+unsubscr...@googlegroups.com. To post to this group, send email to pyglet-users@googlegroups.com. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/groups/opt_out.