Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411512 Posts in 69376 Topics- by 58430 Members - Latest Member: Jesse Webb

April 27, 2024, 01:21:47 AM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsDeveloperTechnical (Moderator: ThemsAllTook)The happy programmer room
Pages: 1 ... 157 158 [159] 160 161 ... 279
Print
Author Topic: The happy programmer room  (Read 678606 times)
ThemsAllTook
Administrator
Level 10
******



View Profile WWW
« Reply #3160 on: January 15, 2013, 09:23:18 AM »

I should stop optimizing a game that renders in 0.7 ms, but IT FEELS GOOD MAN Epileptic

Heh, I know the feeling. I implemented a mode in one of my games where it would simulate an entire 5-minute playthrough from recorded input events as fast as possible. After watching it complete in 0.5 seconds, what do I do? I run a profiler on it, find the largest bottleneck, and get it down to 0.47 seconds. Grin
Logged

Klaim
Level 10
*****



View Profile WWW
« Reply #3161 on: January 15, 2013, 09:26:19 AM »

I should stop optimizing a game that renders in 0.7 ms, but IT FEELS GOOD MAN Epileptic

Heh, I know the feeling. I implemented a mode in one of my games where it would simulate an entire 5-minute playthrough from recorded input events as fast as possible. After watching it complete in 0.5 seconds, what do I do? I run a profiler on it, find the largest bottleneck, and get it down to 0.47 seconds. Grin

Haha did something similar years ago  Cheesy , but didn't finish the game  Facepalm
Logged

Quarry
Level 10
*****


View Profile
« Reply #3162 on: January 15, 2013, 10:43:15 AM »

An OpenGL terminal I'm working on renders with 75~



I tried using display lists and as you can see it didn't help much. The invisible characters aren't even rendered!

I'm not really happy or grumpy...
Logged
ThemsAllTook
Administrator
Level 10
******



View Profile WWW
« Reply #3163 on: January 15, 2013, 10:54:36 AM »

I'm not really happy or grumpy...

We actually have a thread for that, but for some reason it hasn't been very active lately. Dunno why! http://forums.tigsource.com/index.php?topic=17308.0
Logged

Polly
Level 6
*



View Profile
« Reply #3164 on: January 15, 2013, 10:56:06 AM »

An OpenGL terminal I'm working on renders with 75~

What's the refresh rate of your monitor? If it's 75Hz try disabling V-Sync in your GPU settings.
Logged
Quarry
Level 10
*****


View Profile
« Reply #3165 on: January 15, 2013, 11:08:28 AM »

It's 60Hz, but I tried removing the text and it still goes around 75~

CURIOUS

EDIT: Tested to add more text, with 3 times more text the FPS dropped to 30
Logged
Polly
Level 6
*



View Profile
« Reply #3166 on: January 15, 2013, 12:03:18 PM »

Weird .. even with the most sloppy immediate mode code, i still get way more then 1000fps.

Logged
Quarry
Level 10
*****


View Profile
« Reply #3167 on: January 15, 2013, 12:04:59 PM »

The PC I'm on is a netbook, what are your specs?
Logged
Martyr
Level 0
**



View Profile
« Reply #3168 on: January 15, 2013, 12:12:53 PM »



My first OBJ loader!!!

EDIT:


A PLANET AND ITS MOON SO CUTE
« Last Edit: January 16, 2013, 07:34:31 AM by Martyr » Logged

nospoon
Level 1
*


View Profile
« Reply #3169 on: January 17, 2013, 12:26:52 AM »

Weird .. even with the most sloppy immediate mode code, i still get way more then 1000fps.


Well, computers are fast Tongue (and gpus are magic)
Logged
Geti
Level 10
*****



View Profile WWW
« Reply #3170 on: January 17, 2013, 02:22:01 AM »

note to nospoon: this is related to quarry getting ~70fps for a similar thing >implying something was up with quarry's code.

I'm happy cause I cleared the list of stuff I was meant to do today. Yussssss
Logged

Azure Lazuline
Level 2
**



View Profile WWW
« Reply #3171 on: January 17, 2013, 02:53:32 AM »

I finished adding a new level feature to the game, and got it working fine, and the level generator uses it correctly and stuff. But today I needed to add it to the level editor. I put in the code to select it from the menu, to allow you to place it, to save it to the file, and to load it from the file. The menu code threw an error, before I could try any of the other changed things. After fixing it, it just threw another error related to the menu again.

Then I fixed that, and everything worked absolutely perfectly! Quite remarkable when I had changed code in 3 other locations without testing any of it...
Logged

epcc
Level 1
*


View Profile
« Reply #3172 on: January 17, 2013, 05:13:08 AM »

I wrote a lua script that generated a linux shell script that automated generating all 12 platform/release combinations instead of doing it by hand. 
Logged

Eigen
Level 10
*****


Brobdingnagian ding dong


View Profile WWW
« Reply #3173 on: January 17, 2013, 05:20:13 AM »

Our app will be uploaded to the App Store in the next few days and the client suddenly wanted a big change in functionality. I did it without resorting to a hack.

Where's my payrise Giggle
Logged

Rahrahrah
Level 1
*



View Profile
« Reply #3174 on: January 19, 2013, 06:01:29 PM »

So I'm just playing around and learning flash.  I have some formal education with C++ and Java but that was years and years ago.

Anyways, I drew a 'ship' moved it around, had it check for 'thrusters' and change its image and on and on.  Its all pretty and colorful..

.. I think my little tiny black cat is happier chasing it around, than I am for being able to make it do so.

And I am totally okay with that.. hehehheheh.
Logged

Trying more and more to relate less and less to Sisyphus.
AlexStv
Level 0
**


Based on real events!


View Profile WWW
« Reply #3175 on: January 20, 2013, 04:04:42 PM »

[IMG]http://i.imgur.com/O54ng.png

My first OBJ loader!!!

EDIT:
[IMG]http://i.imgur.com/XrZBV.png

A PLANET AND ITS MOON SO CUTE

That is gorgeous! Is it for a game or is it just for testing?
Logged

_Tommo_
Level 8
***


frn frn frn


View Profile WWW
« Reply #3176 on: January 20, 2013, 06:58:54 PM »

I've just made THE AWESOME, in one hour and in Java Cool

I was wondering why Cobalt crashes on OpenGL on some machines and I couldn't work out which extension of those thousands was the culprit.. I didn't even know exactly which ones we used! (glew is awesome but...)

then I made this jar which given a folder, tells you all the caps you use and because of which call!

ie, when run on my engine:
Code:
Used caps found: 
GL_VERSION_1_2  because of:
GL_RESCALE_NORMAL
GL_CLAMP_TO_EDGE

GL_EXT_texture_object  because of:
glDeleteTextures
glBindTexture
glGenTextures

GL_EXT_framebuffer_sRGB  because of:
GL_FRAMEBUFFER_SRGB

GL_VERSION_1_5  because of:
glGenBuffers
GL_DYNAMIC_DRAW
GL_ELEMENT_ARRAY_BUFFER
GL_ARRAY_BUFFER
glBufferData
GL_STATIC_DRAW
glBindBuffer

GL_VERSION_1_4  because of:
glBlendEquation
GL_GENERATE_MIPMAP

GL_KHR_debug  because of:
GL_STACK_OVERFLOW
GL_STACK_UNDERFLOW

GL_EXT_paletted_texture  because of:
GL_TEXTURE_2D

GL_VERSION_1_3  because of:
GL_TEXTURE1
glActiveTexture
glClientActiveTexture
GL_TEXTURE0

GL_ARB_vertex_array_object  because of:
glBindVertexArray
glGenVertexArrays

GL_ARB_texture_rg  because of:
GL_RG

GL_VERSION_2_1  because of:
GL_SRGB8_ALPHA8
GL_SRGB8

GL_EXT_vertex_array  because of:
glTexCoordPointer
glNormalPointer
GL_TEXTURE_COORD_ARRAY
glColorPointer
GL_NORMAL_ARRAY
GL_VERTEX_ARRAY
glVertexPointer
GL_COLOR_ARRAY
glDrawArrays

I now demand at least one Internet in compensation for my efforts Cool
« Last Edit: January 20, 2013, 07:52:58 PM by _Tommo_ » Logged

nospoon
Level 1
*


View Profile
« Reply #3177 on: January 21, 2013, 07:29:55 AM »

I wrote a small TCP/IP low latency networking library in java :D

Still, I'll probably scrape it and write a new, better one.
Logged
Martyr
Level 0
**



View Profile
« Reply #3178 on: January 22, 2013, 10:19:43 AM »

[IMG]http://i.imgur.com/O54ng.png

My first OBJ loader!!!

EDIT:
[IMG]http://i.imgur.com/XrZBV.png

A PLANET AND ITS MOON SO CUTE

That is gorgeous! Is it for a game or is it just for testing?

Was going to be a game but then decided that it wasn't worth the time I'd be spending on it
Logged

R.D.
Level 2
**


Making a game about balls. Yepp.


View Profile WWW
« Reply #3179 on: January 28, 2013, 01:37:26 PM »

Darn! I just love Chrome <3 It makes Web Development so much fun. We integrated the Gamepad API in our game it it's just fun running around shooting balls around.
Logged

Pages: 1 ... 157 158 [159] 160 161 ... 279
Print
Jump to:  

Theme orange-lt created by panic