GLU bug!

  • Permalink
  • submit to reddit
  • Email
  • Follow


Hi!

Is there a bug in GLU Version 1.3.500? I do such things
like....

  obj = gluNewQuadric();
  gluQuadricDrawStyle(obj, GLU_FILL);
  gluDisk(obj, 10, 10, 25, 1);
  gluDeleteQuadric(obj);

....but nothing happens. There is nothing to see! When i use
gluQuadricDrawStyle(obj, GLU_LINE) all worked how we expect
it.

I am using Debian-Linux.

Thanks!
Heiko
0
Reply Heiko 7/20/2003 10:34:03 PM

See related articles to this posting


Heiko Jappe <hej@gis.de> writes:
> Is there a bug in GLU Version 1.3.500? I do such things
> like....
> 
>   obj = gluNewQuadric();
>   gluQuadricDrawStyle(obj, GLU_FILL);
>   gluDisk(obj, 10, 10, 25, 1);
>   gluDeleteQuadric(obj);
> 
> ...but nothing happens. There is nothing to see! When i use
> gluQuadricDrawStyle(obj, GLU_LINE) all worked how we expect
> it.

Try switching off backface culling.  If that makes the disk appear, it's
simply facing the wrong way.
-- 
mailto:jjk@acm.org                 phone:+49-7031-464-7698 (TELNET 778-7698)
  http://www.bawue.de/~jjk/          fax:+49-7031-464-7351
                                   As the air to a bird, or the sea to a fish,
                                   so is contempt to the contemptible. [Blake]
0
Reply Jens 7/21/2003 10:40:52 AM
comp.graphics.api.opengl 7097 articles. 24 followers. Post

1 Replies
230 Views

Similar Articles

[PageSpeed] 14


  • Permalink
  • submit to reddit
  • Email
  • Follow


Reply:

Similar Artilces:

A Bug or not a bug?
This appears in another forum. (Actually the third integral below. The discoverer regards it as a bug. The first two integrals are part of my response to him). Integrate[Exp[x], {x, -Infinity, 0}] (*correct*) 1 Integrate[Exp[x], {x, 0, Infinity}] (*correct*) Integrate::idiv: Integral of E^x does not converge on {0, Infinity}. Integrate[Exp[x], {x, 0, Infinity}] Integrate[Exp[x], {x, -Infinity, 0}, Assumptions -> x < 0] (*incorrect*) Integrate::idiv: Integral of E^(-x) does not converge on {0,Infinity}. Integrate[E^x, {x, -Infinity, 0}, Assumptions -> x < 0] S...

bug-no bug
En fait c'etait un "no-bug". Un voyou osait appeler exit() apres un fork() dans le programme pere sans avoir pris soin de nettoyer ses buffers avant. Donc les fils etaient bien emmerdes avec des flux ouverts avec des seeks a des positions foireuses. Bref, des qui programment avec les pieds. Reponse au bug : "You're not allowed to call exit(3) after fork(), unless you flush all files before calling fork()." Voila, je sais pas si ca t'aidera... Sur ce retour au lit, parceque chuis malade, moi! /D dom <dom@ici.la> writes: >En fait c'etait un ...

Bug or not bug
I have 3 files on my website tes1.php : <?php require_once("test2.php"); if ($_GET['redirige'] == 1) { @header( "Location: http://www.mydomain.com/test3.php" ); } else { echo "it's test1.php"; } ?> and test2.php (one file without php code !) <?php ?> and test3.php : <?php print "it's test3.php"; ?> Now if you load : http://www.mydomain.com/test1.php (it's written "it's test1.php") Now if you load : http://www.mydomain.com/test1.php?redirige=1 The result is a blank page but normally you will be ...

Bug or no bug?
This was reported in Mac OS X Hints, and is spreading to other Mac web sites. I have not been able to reproduce it. Please try it, and see whether you can reproduce it. � Create a folder on your Desktop named 'test.' � Create a file in that folder also named 'test.' � Move the file from the folder onto your Desktop. � Click 'Replace.' The bug says that both the file and the folder vanish after clicking Replace. In the third step, the file moves to the desktop, and that's it. Because a File and a folder aren't the same kind of thing, the...

Bug over here, bug over there.
Yep, take PCLinuxOS, a distro I like, and change the KDE sytem menu's around bit, and it will crash after the 3rd menu item change. GOOD JOB BOYS. KEEP UP THE GOOD QUALITY TESTING. You can try it yourself all you lying ass flapping lips, do nothing pieces of shit. WAIT that is most of COLA. tab wrote: > Yep, take PCLinuxOS, a distro I like, and > change the KDE sytem menu's around bit, and it > will crash after the 3rd menu item change. I'll have to try that one. What changes are you making that cause the crash? Adding menu items? Changing the words? Moving them...

My bug or compiler bug?
I could not understand why it, line 44 of the code below, compiles. I strugged with the question why actual parameter R'(10.0, 20.0) matches with access type parameter R_Pointer at line 15. Is it my bug or compiler bug? Thanks. AV with Ada.Text_IO; use Ada.Text_IO; with Ada.Streams.Stream_IO; use Ada.Streams; procedure Stream_IO_Demo_Cutdown is -- This is the cutdown version of example -- Stream_IO_Demo in GNAT-GPL-2006 type R is record A : Float; B : Long_Float; end record; type R_Pointer is access all R; procedu...

Driver bugs or my bugs ??
Hi all, I've been developing a commercial Kiosk application using OpenGL under winXP. This app is doing a lot of texture loading and un-loading and is using a lot of memory for resources. other than that the app is pretty basic - no shaders, not a lot of extensions, nothing too fancy. The app is deployed now in many locations, and after several months of working 24/7 i see that it needs to be a little more stable. the main problem i have is that once every couple of days, with no apparent reason, i get an exception from the opengl driver. i use several different graphic adapters of Nvidia...

Maple 9.5: bugs, bugs, bugs with overload
Hi all, i have posted a bug in the new overload feature of Maple 9.5 a few weeks ago. (btw thanks to Helmut Kahovec for his idea for a workaround) Now i discovered two (or one, i don't know if they have the same origin) further bugs concerning this feature - which make the workaround more or less useless: i start with an overloaded procedure f ... |> f := overload([ proc(a::name, b::algebraic) | option overload; | a-b; | end proc, | proc(a::algebraic, b::name) | option overlo...

Python pdb bug, followed by bug in bugs.python.org
I am I've developed an application in Python 3.3.1 (on an up-to-date 64-bit= Arch Linux system) and am attempting to use pdb to debug it. I am getting = incorrect stack traces. I've made up a little 10-line program that illustra= tes the problem and I attempted to register on the bug-tracker site, unsucc= essfully, to file a bug report. I followed the link in the email and got a = "broken form" error message when I attempted to log in to the bug-tracker. = I then tried replying to the verification email, and got some other form of= brokenness in reply. Suggestions...

eldoc bug or mode bug?
I want eldoc turned on for every mode that supports it. To that end, eldoc customize puts this in my .emacs (custom-set-variables .... '(eldoc-mode t t) Any time I open a ---.el file for example eldoc is on automatically and works. But if I open a file that has no extension (NSK computers don't support extensions) and do M-x foo-mode <ret> The mode is entered and (foo ElDoc) appears on the mode line but eldoc doesn't work. Would this be considered a problem with eldoc or is the eldoc support coded in the major mode lacking something? The problem will occur with emacs-...

bug in ruby or bug in my brain?
#!/usr/bin/ruby diff_file = File.open('diff.txt') diff_file.each { |line| next if line =~ /^Only/ system "dos2unix #{line.split(' and ').at(1).sub(' differ', '')}" } ->work well ------------------- #!/usr/bin/ruby diff_file = File.open('diff.txt') diff_file.each { |line| next if line =~ /^Only/ system("dos2unix", line.split(' and ').at(1).sub(' differ', '')) } ->problems with converting error message Hi, I don't know but both caused an exception on my box by using random diff.tx...

Bug in matlab? Bug in my code?
I'm having a very strange problem. My code, copied out of its context: counter = inf; while (counter > size(list,1)) counter = input('SomeText'); end There is other unrelated code before and after this. The weirdness is that when I run this function, it crashes because counter is a struct, and > can't be used on structs. If I put a dbstop if error in, I see that counter has taken the value that it would if the first line read 'counter = whos'; However, if I stop a line above this, and step through it there is NO error. I have also tried using NULL instead...

Bug in code or bug in cl?
I have a short code snippet here that gives me a curious compiler warning. int DGG_nicefyConstraint( const void */*solver_ptr*/, DGG_data_t *data, DGG_constraint_t *cut) The cl compiler in MSVisualStudio v9 reports cgltwomir.cpp(1067) : warning C4138: '*/' found outside of comment. Line 1067 is the first line of the code snippet. I am not sure if it complains about the first occurence of '*/' in this line or the second. I am not even sure if the code is correct or what it means. Can someone help? TIA Gus Gassmann wrote: > I have a short c...

Brain bug or GNAT bug?
Using GNAT GPL 2006 (PPC/Darwin), I instantiate: generic type modular is mod <>; package try is type DT1 (the_size : modular) is limited private; -- subtype bounded is modular; subtype bounded is modular range 1..9; type DT2 (the_size : bounded) is limited private; -- | -- >>> subtype must be compatible with parent discriminant function is_empty (the_data : DT2) return Boolean; private type a_thing is null record; type a_ptr is access a_thing; type a_...

Bug in my Javascript or bug in Firefox
Yesterday, I decided to try Firefox. I've encountered a behavior that is either a bug in Firefox or a bug in my Javascript code. I'll try to explain the problem, hoping that this newsgroup can (in)validate my Javascript code. First, I'll describe the purpose of the Javascript code. I often have a need to post a URL to something at my own web site, e.g., http://www.standards.com/Sorting/SortPerformanceComparison-Description.html. It is not easy to remember, or type without error, each URL, so I decided to write my first Javascript to be able to use http://www.standards.com/index.h...

Bug Parade Bug 4953793
Can anyone suggest how to solve the problem described in the comments to that bug? Briefly, the present situation is that I cannot install any version of the 1.4.2 J2SE SDK on Windows 2000 SP4 (it appeared to work on SP3) so that the Java plugin and java[w].exe work on a non-administrative account: the applets don't even show on a WWW page, and the JVM launched by java[w].exe remains a hidden program (merely present in the task list). Eclipse 2.1.x is the only program to appear to work, perhaps because it does not use java[w].exe to launch the JVM; Netbeans runide.exe uses javaw...

mplayer bug or python bug?
The following code is my test program for control mplayer. in movies/ there are about 20 movies, the code plays them in circle, but mplayer will crash silently after a circle, the "sliently" means I can handle popen2 without except, but no movie. I have no idea about it... Can you help me? class SimplePlayer( myobject ): def __init__(self): self.debug('simple player init ready') self.is_open = False self.wfd = None self.rfd = None def play(self, file): if self.is_open: self.wfd.write('loadfile %s\n' %(file...

[tao-bugs] Bug in catior ?
using $ACE_ROOT/bin/catior to parse an OpenORB ior: here is the IOR IOR:010000004200000049444c3a6f6d672e6f72672f436f734e6f746966794368616e6e656c41646d696e2f5374727563747572656450726f787950757368436f6e73756d65723a312e30000000010000000000000084000000010102cd09000000666769732e636f6d00cdd50740000000004f4f00fe504f41fe4576656e744368616e6e656c466163746f7279504f41fe0000000000000000f52f08ea030a569b000000000000000000000000000000020100000001000000200000000000000005010001000000020001000100010020000101090000000100010100 decoding an IOR: The Byte Order: Little Endian The Type Id: "IDL:omg.org...

[msw] Bug or Not bug with wxFileSystem?
I noticed that you can't nest FindFirst()/FindNext() calls with two different instances of wxFileSystem because the usey one and the same handler underneath. Below is some hacked-together pseudo-code to describe the situation. I just wanted to know if this is considered a bug, or just an 'unexpected behaviour'? To me it was unexpected, because i was using two different instances of wxFileSystem. Regards, Erik wx2.5.4 BTW //============================================================ wxFileSystem fs1; fs1.ChangePathTo(wxT("d:\\"), true); wxString ...

Bug report: bug in thread
--=-Ct4D/a9il9c6u/TKGn6N Content-Type: text/plain Content-Transfer-Encoding: 7bit Attached is a program which exercises a bug when sending messages between threads. The program works on Linux but fails on Windows. The program has a GUI thread. When "Run" in the menu is pressed, a number of threads are started which run simultaneously. There is a line in the code that sets a message in event: event.SetString(m_file) Notably, if this is changed to event.SetString(m_file + _T("")) the program works and does not crash. The environment I a...

[tao-bugs] tao_idl bug
TAO VERSION: 1.4.1 (CVS version 09.06.2004) ACE VERSION: 5.4.1 HOST MACHINE and OPERATING SYSTEM: LynxOS pfadev04 3.0.1 110298-G PowerPC TARGET MACHINE and OPERATING SYSTEM, if different from HOST: COMPILER NAME AND VERSION (AND PATCHLEVEL): gcc version 2.9-gnupro-98r2 AREA/CLASS/EXAMPLE AFFECTED: DOES THE PROBLEM AFFECT: COMPILATION? Yes If so, what do your $ACE_ROOT/ace/config.h and $ACE_ROOT/include/makeinclude/platform_macros.GNU contain? #include "config-lynxos.h" ...

[ace-bugs] ACE bug
ACE VERSION: 5.4.3 HOST MACHINE and OPERATING SYSTEM: WindowsXP TARGET MACHINE and OPERATING SYSTEM, if different from HOST: WindowsCE 5.0 COMPILER NAME AND VERSION (AND PATCHLEVEL): eMbedded Visual C++ 4.0 plus current service pack THE $ACE_ROOT/ace/config.h FILE: #define ACE_HAS_STANDARD_CPP_LIBRARY 1 #define ACE_DISABLE_WIN32_INCREASE_PRIORITY #include "ace\config-win32.h" THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE: CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features (used by MPC when you gen...

BUG #1195: foreignkey-bug
The following bug has been logged online: Bug reference: 1195 Logged by: Michael Groth Email address: m.groth@10grad.de PostgreSQL version: 7.4 Operating system: debian Description: foreignkey-bug Details: hello, this constraint doesn't work correctly : 'FOREIGN KEY (id_1, id_2) REFERENCES table_1 ON DELETE CASCADE' adding records into table_2 the database sometimes said that there is no corresponding record in table_1, but there is. otherwise this constraint work correctly with the same list of records: 'FOREI...

BUG #1197: index bug
The following bug has been logged online: Bug reference: 1197 Logged by: Eleas Email address: phantom_@mail.ru PostgreSQL version: 7.4 Operating system: Linux phantom 2.6.5-gentoo-r1 #1 Sun Jun 27 18:33:50 MSD 2004 i686 AMD Athlon(tm) Processor AuthenticAMD GNU/Linux Description: index bug Details: Hello I have DB under UTF8. A field of my table have btree index. But this index works incorrectly if this field content localized data. For example, how you can explain this: select object_id, name from main_objects where name='...