On Mar 2, 11:00 pm, DR0ID <[EMAIL PROTECTED]> wrote:
> Hi
>
> It looks like I have the same problem.
> After some fiddling with the mouse I got this on screen (scrolling
> allot), see attached screenshot.

Thanks, that's helpful!

> I have set
>
> glDisable(GL_CULL_FACE)

Can you reproduce the same thing with this enabled? From what I can
see culling is not the issue.

[..]
>  >>> gl_info.get_version()
> '1.5.2'

ok, I'm running 2.0 which could certainly account for some difference
in behavior.

> It looks like the map is in/on a (rotating) cube at the bottom left of
> the screen (at 0/0/0?). First I thought it could be a clipping problem,
> but I do not think so.

I see two problems here:

1. the view is different running on your machine, it is impossible for
me to orient the camera in such a way to reproduce your perspective
above, I can zoom in and out, but the landscape is always centered
(though I can zoom "through" it or make it disappear beyond the
viewing volume). I uploaded a new version of the script to try to
correct this, I think I was making some bad assumptions about the
default viewing matrix (since it worked for me I didn't question it)

2. The tops of the mountains are clipped off. I use clipping planes to
render above and below water in separate passes, apparently this isn't
doing the right thing on your machine. I'm less sure what to do about
this. The wireframe mode doesn't use clipping, so if the new script
fixes the view, it should look ok assuming the clipping planes are the
problem. That would at least be a clue. Another test for that would be
to change terrain.draw_composed() to terrain.draw() in the main loop
at the bottom. draw() doesn't do any fancy stuff.

> [..] I hope this helps you find the problem.

Thanks for taking the time to test!

-Casey


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to pyglet-users@googlegroups.com
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