[QUOTE=Mr.T;36005244]I'm still trying to figure out how to connect one of these
[img]http://dlnmh9ip6v2uc.cloudfront.net/images/products/00255-01-L.jpg[/img]
Into my Arduino.
Ugh.[/QUOTE]
If it uses the HD44780 driver, [url]http://arduino.cc/en/Tutorial/LiquidCrystal[/url].
Or if you want to actually program, read [url]http://lcd-linux.sourceforge.net/pdfdocs/hd44780.pdf[/url] and make your own way to drive it.
It's a good idea to post electronics related stuff in the Electronics and Embedded Programming thread though.
-snip- late...
[QUOTE=Mr.T;36005446]Why is every post I make in WAYWO rated dumb?[/QUOTE]
Because you keep doing stupid things. Those LCDs come with a datasheet telling you what each of the pins are. You generally have a straight 8-bit wide parallel data channel and three interrupt channels that you use to tell the LCD what the data currently in the data channel is. Set the data channel before setting the interrupts. Wait the delay period shown in the datasheet before sending anything else.
[QUOTE=Overv;36005373]Getting an FPS of 59-61 here on Windows 7 x64. I have a GTX 570.[/QUOTE]
Do you have forced vsync on? and with 60 fps do you have any bugs with collisions(like falling through blocks)
google for HD447800 arduino tutorial
and then you'll get a comprehensive tutorial about how to connect it
[img]http://i.imgur.com/0LlTR.png[/img]
The Captcha stuff is now fully scalable. Now to hopefully fix the colors.
[editline]18th May 2012[/editline]
[QUOTE=quincy18;36005087]Here is something to help you a bit in your quest for non eye burning colours, found this a while ago :
[url]http://martin.ankerl.com/2009/12/09/how-to-create-random-colors-programmatically/[/url][/QUOTE]
I've got a problem. It's returning all-black characters with some missing. No characters are missing if I force the all to be black.
Which range of values do 'rand' produce in Ruby? That's where I'm assuming my problem is. I can't find anything on the range without seed. In the article he isn't using a seed.
[QUOTE=Within;36005674][img]http://i.imgur.com/0LlTR.png[/img]
The Captcha stuff is now fully scalable. Now to hopefully fix the colors.
[editline]18th May 2012[/editline]
I've got a problem. It's returning all-black characters with some missing. No characters are missing if I force the all to be black.
Which range of values do 'rand' produce in Ruby? That's where I'm assuming my problem is. I can't find anything on the range without seed. In the article he isn't using a seed.[/QUOTE]
I'm no expert but that could easily be decoded by a bot, unlike those:
[img]http://allfacebook.com/files/2010/09/facebook_captcha.png[/img]
[QUOTE=HiredK;36005913]I'm no expert but that could easily be decoded by a bot, unlike those:
[img]http://allfacebook.com/files/2010/09/facebook_captcha.png[/img][/QUOTE]
Wow mister, I'm not even 25% done yet!
[editline]18th May 2012[/editline]
There will be a few layers of security that one can toggle. That's the plan, anyway.
you should do something with cats and dogs and you have to count the cats but they're all cats
Or draw, in free-hand, Taylor polynomials for log(1+x).
Spot the mistake.
[cpp]
// Read in texture from GPU memory to system memory
void texture::read(std::vector<GLfloat> *out)
{
// Make vector 40 times larger just to be safe (SEGMENTATION FAULT somewhere)
out->resize(4*w*h*sizeof(GLfloat)*40);
// Crashes here
glReadPixels(0, 0, 128, 128, GL_RGBA, GL_FLOAT, (GLvoid*)&out[0]);
}
[/cpp]
...done OpenGL calls like this a million times...except this time, [sp]out is a pointer[/sp].
Don't you love spending an hour debugging something stupid, going to sleep, waking up, then fixing it in 1 minute?
Anyone ever heard of [URL="http://www.http://openmobileww.com/"]http://openmobileww.com/[/URL] ? I am going to intern there over the summer. It seems like a good opportunity even if I'm just testing stuff. Plus I will get $8-10 an hour!
[QUOTE=boomer678;36005114][img]http://puu.sh/vpuP[/img]
I'm making a platformer game in C++/SFML but for some people who I send it to it doesn't run well or they get bad fps.
If anyone wants to try it out and tell me your fps, OS, and if you get any bugs I would appreciate it
Download: [url]http://puu.sh/vptk[/url]
Thanks[/QUOTE]
333FPS, Win7x64 (HD 5770 1GB)
Also, if you walk off of a platform it's possible to jump while in midair (this does not occur if you jump off of the platform)
[QUOTE=HiredK;36005913]I'm no expert but that could easily be decoded by a bot, unlike those:
[img]http://allfacebook.com/files/2010/09/facebook_captcha.png[/img][/QUOTE]
[t]http://i.imgur.com/EMhoi.png[/t]
Some obfuscation is being done now. Critique?
[editline]18th May 2012[/editline]
[t]http://i.imgur.com/txpIy.png[/t]
A thinner line is, perhaps, a good idea. You can barely see the string in the first picture.
I've got tons of exams to revise for so I thought I'd start trying to write a world renderer for GTA SA.
[img]http://puu.sh/vr9C[/img]
Farmhouse loaded from GTA's archive files and rendered using OpenTK. I'll work on texturing tomorrow.
[editline]18th May 2012[/editline]
Source: [url]https://github.com/Metapyziks/SA-World-Viewer[/url]
[QUOTE=boomer678;36005114][img]http://puu.sh/vpuP[/img]
I'm making a platformer game in C++/SFML but for some people who I send it to it doesn't run well or they get bad fps.
If anyone wants to try it out and tell me your fps, OS, and if you get any bugs I would appreciate it
Download: [url]http://puu.sh/vptk[/url]
Thanks[/QUOTE]
FPS:333
OS:Windows 7 32bit
[QUOTE=boomer678;36005114][img]http://puu.sh/vpuP[/img]
I'm making a platformer game in C++/SFML but for some people who I send it to it doesn't run well or they get bad fps.
If anyone wants to try it out and tell me your fps, OS, and if you get any bugs I would appreciate it
Download: [url]http://puu.sh/vptk[/url]
Thanks[/QUOTE]
333 fps/Windows 7 x64
If haven't noticed yourself, using sprint while mid-air will increase your velocity.
Can anyone spot anything wrong with this?
[cpp]
void CModel::Draw(CVector& Pos, CAngle& Ang)
{
glPushMatrix();
glTranslated(Pos.X, Pos.Y, Pos.Z);
glRotated(-Ang.Yaw, 0, 0, 1);
glRotated(-Ang.Pitch, 0, 1, 0);
glRotated(-Ang.Roll, 1, 0, 0);
glColor3d(1.0, 1.0, 1.0);
#define BUFFER_OFFSET(i) ((void*)(i))
glEnableClientState(GL_VERTEX_ARRAY);
glEnableClientState(GL_NORMAL_ARRAY);
//glClientActiveTexture(GL_TEXTURE0);
glEnableClientState(GL_TEXTURE_COORD_ARRAY);
glBindBuffer(GL_ARRAY_BUFFER, m_VBOID); // this was IBOID
glVertexPointer(3, GL_DOUBLE, sizeof(vertex_t), BUFFER_OFFSET(sizeof(double) * 0));
glNormalPointer(GL_DOUBLE, sizeof(vertex_t), BUFFER_OFFSET(sizeof(double) * 3));
glTexCoordPointer(3, GL_DOUBLE, sizeof(vertex_t), BUFFER_OFFSET(sizeof(double) * 6));
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_IBOID);
glDrawElements(GL_LINES, m_FaceCount * 3, GL_UNSIGNED_SHORT, BUFFER_OFFSET(0)); // GL_TRIANGLES
glDisableClientState(GL_VERTEX_ARRAY);
glDisableClientState(GL_NORMAL_ARRAY);
glDisableClientState(GL_TEXTURE_COORD_ARRAY);
glPopMatrix();
}
[/cpp]
Using glBegin & glEnd it yields ~5000 fps, but using the VBO I yield just 200.
[QUOTE='Crabman [HUN];35980609']I'm working on a project it's called:"Favágó"(means Lumberjack) with my "Developer" team. It will be a 2D RPG style game.
I'm writing the code and creating some visuals, I have an artist(drawn a low-res tree) and a game tester. [url]http://favago.xszerver.hu[/url][/QUOTE]
and some screenshot....
the current main menu (the character and the menu design by me):
[img]http://dl.dropbox.com/u/34084343/FavagoProject/Screens/menu.PNG[/img]
the gameplay... with the old- character, trees(by the main artist) and bees(all of them will be better)
[img]http://dl.dropbox.com/u/34084343/FavagoProject/Screens/gameplay.PNG[/img]
[QUOTE=Within;36006570][t]http://i.imgur.com/txpIy.png[/t]
A thinner line is, perhaps, a good idea. You can barely see the string in the first picture.[/QUOTE]
yawn
[img]http://i.imgur.com/KbP3y.png[/img]
[QUOTE=synthiackup;36007430]yawn
[img]http://i.imgur.com/KbP3y.png[/img][/QUOTE]
what does that prove.
That it's easy to break
[QUOTE=ben1066;36007501]That it's easy to break[/QUOTE]
the guy can make the whole thing the same color and then it wont be because what will bots select.
he did nothing but just erase the 1px line
lmao... people started rating dumb after the guy posted his source code. how is anyone suppose to know if he used a program to do that or not.
[QUOTE=Within;36006570][t]http://i.imgur.com/EMhoi.png[/t]
Some obfuscation is being done now. Critique?[/QUOTE]
With it still a completely different color line and being behind the letters, a bot could eliminate it pretty easy. Try making it a color like the letters, maybe?
[QUOTE=ben1066;36007501]That it's easy to break[/QUOTE]
no it doesn't, it just proves that you know how to use an image editing program
now if you were to write a program that could pull the characters from it, that would prove that it's easy to break
I guess so, but even still, a line that small could be easily removed automatically...
[QUOTE=boomer678;36005541]Do you have forced vsync on? and with 60 fps do you have any bugs with collisions(like falling through blocks)[/QUOTE]
You're right, getting 333 FPS now. When I disable your 3 ms Sleep() call, it runs at an FPS of ~1200.
[t]http://puu.sh/vs2u[/t]
If anyone has a spair minute mind checking over this?
[url]http://www.facepunch.com/threads/1167392?p=36008295&viewfull=1#post36008295[/url]
I dont know if its because im using the ortho wrong or what
Sorry, you need to Log In to post a reply to this thread.