Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Torus fails to display in sphere world 2,3 and 4 #24

Open
GoogleCodeExporter opened this issue Jul 15, 2015 · 0 comments
Open

Torus fails to display in sphere world 2,3 and 4 #24

GoogleCodeExporter opened this issue Jul 15, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. run any of those 3 demos on my laptop

What is the expected output? What do you see instead?
I expect to see a torus in the middle. I see no torus in the middle.

What version of the product are you using? On what operating system?
SVN revision 192. Ubuntu 11.04 "Natty" prerelease. My graphics card is an ATI 
Radeon 4225.

Please provide any additional information below.
If I swap the order that the sphere and torus are assigned, the torus displays. 
The original code is (There seems to be a mix of spaces and tabs used for 
indentation):
    // This makes a torus
    gltMakeTorus(torusBatch, 0.4f, 0.15f, 30, 30);

    // This make a sphere
    gltMakeSphere(sphereBatch, 0.1f, 26, 13);

The code that works for me is:
    // This make a sphere
    gltMakeSphere(sphereBatch, 0.1f, 26, 13);

    // This makes a torus
    gltMakeTorus(torusBatch, 0.4f, 0.15f, 30, 30);

I don't know if this is a problem with oglsuperbible, or a problem with my 
graphics card drivers. If the consensus is driver problems, I will report it 
elsewhere.

Original issue reported on code.google.com by CCouz...@gmail.com on 12 Apr 2011 at 3:45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant