473,327 Members | 1,979 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

how to click on opengl objects. Colordata is not working all the times

I'm making an 3d shooter in python opengl, now I can click on my 'crystals' because they are white and using pixeldata. But it won't work well, because you only get 1/6 of the crystals gives you color data. The rest of them just printing the background color. Any tips?

Here's my code:
https://github.com/ItzJeButterknife/3dshooter
May 26 '17 #1
0 1120

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Torben Philippsen | last post by:
Hi, I have a very simple searchform (an asp:textbox and a asp:button) I have enabled autopostback for the textbox to be able to execute the search method when the user hits the enter key. ...
2
by: gce | last post by:
Allthough button2 created with the designer works 100%. The button I created (inside the table) with dim button1 as new button doesn't give me a click event. Please help. Public Class WebForm8 ...
0
by: =?Utf-8?B?bGV4aW5ndG9uYmxhY2s=?= | last post by:
I use the program Click to DVD. After the computer automatically installed some security updates from microsoft the program no longer burns DVDs. At the same time iTunes and QuickTime will not run...
1
by: jharris | last post by:
I am having problems with several buttons on my web page. Im using Flash MX 2004 and Dreamweaver. When I test the movie, at first I have to click the buttons two or three times to go to the web...
14
by: raghunadhs | last post by:
HI All! I am developing a V.B application. in this application, user is able to drag and drop a picture(user control) at run time also. for this purpose, i used form's "dragdrop" event....
7
by: maaravi | last post by:
Hi, I'm trying to simulate clicking on a link, but Firefox seems to disable it. In the sample below, when clicking on the div tag, the onclick event of the link is triggered, but the browser...
1
by: petersonus115 | last post by:
Hi my name is jewel.. i am having a problem with accordion pane.. I am using newest version of ajax control tool kit.. i have two text box and one button in my accordion pane... I want to execute...
0
by: Navid | last post by:
Hello, I have a tree view which has Check Box's beside each node. In the BeforeCheck event Handler I have canceled the event to prevent the user from Checking/ Un-checking the box. I am trying to...
1
by: Monty27 | last post by:
I am completely stuck and am looking for guidance. I am creating my own version of the sets class, making the class called Set. I have created a test function as well. Everything works great until I...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.