Exactly that, you can get nicely detailed walls without the polycount and resource intensity.
Exactly that, you can get nicely detailed walls without the polycount and resource intensity.
Anyone here worked on SFML(I know some of you have)
I am trying to load a .png using Image
First i tried using
thenCode:char strExePath [MAX_PATH]; GetModuleFileName (NULL, strExePath, MAX_PATH); str::string CurrentDirectory; CurrentDirectory.assign(strExePath);
loadfromfile(CurrentDirectory + "\\Content\\WM.png");
Could not open file for some reason(Looked at the given path it looks fine)
But when i just copied the path it worked just fine
i even tried using this
didn't work eitherCode:char buffer[MAX_PATH];//always use MAX_PATH for filepaths GetModuleFileName(NULL,buffer,sizeof(buffer)); std::string CurrentDirectory; CurrentDirectory.assign(buffer); int i = CurrentDirectory.find_last_of('\\'); for(int in = i;in < MAX_PATH;in++) { buffer[in] = NULL; } CurrentDirectory.assign(buffer);
Anyone of you that can help me with this ?
Why not just use a relative path for the image?
I figured it out :) was just a simple mistake
Could someone run this and tell me what it says in the title?
Requires OpenGL 2.0 and .NET 4
Around 16. Crashes when you exit.
Around 12. Crashes when you exit.
Hmmm... I wonder what I fucked up.
SwapBuffers call is 95% of that time...
Edited:
I thought it was my graphics card.
Maybe it's an ATI issue. What graphics cards do you have?
Around 16.
Crashes with a System.AccessViolationException saying it failed to write/read protected memory,
AT OpenTK.Graphics.OpenGL.GL.DeletFrameBuffers(Int32 n, Int32& framebuffers)
AT FireFlyGL.FrameBuffer.Finalize()
Edited:
Also said it was using open gl 2.0, but supported version was 0 (on laptop with integrated)
Surprisingly works on Linux, I have an nvidia graphics card.
![]()
Well, not really surprisingly. Mono supports OpenTK.
What is amazing is that it runs about a billion times faster.
Is it possible that everyone getting around 16 is using an ATI card?
Using ATi Radeon HD 4670 on Windows 7 32bit, getting around 16 and crashes on exit.
I tested on a nVidia Geforce 525M on Windows 7 64 bit. It was around 16.
Windows 7 x64 with Radeon HD4870, it works, title (frame time i suppose?) about 16.6
and of course crashes on exit
It might be worth noting that crash on exit doesn't really concern me because I know what's causing it so you can stop reporting that :D
Any ides why SwapBuffers might be that slow?
I got a 16 on my Mac Mini (has an Nvidia 9400M). Also does not crash on exit (because mac apps don't work like that. Usually.)
And here's a full glxinfo dump.
Content:
All in 69 bytes.
Ran from a bootsector, I presume?
Well, it is now the boot loader of my pen drive.
So I've decided to give non-mod programming another try, I'm working on a remake of my friend's game for iOS using Allegro, I might port it to android if they port Allegro to it
![]()
Woah, they have Allegro for iOS? Holy shit I know what I am doing today!
Also, I love those graphics.
Are we ever going to have a new thread, Kinda missing highlights.
Didn't overv offer to close this one if someone would put together some highlights?
So do it mofo
so how's waywo doing these days?
Did you buy the $99 developer subscription?
They good?Code:http://www.facepunch.com/threads/1099026?p=30814115&viewfull=1#post30814115 http://www.facepunch.com/threads/1099026?p=30810504&viewfull=1#post30810504 http://www.facepunch.com/threads/1099026?p=30777961&viewfull=1#post30777961 http://www.facepunch.com/threads/1099026?p=30776778&viewfull=1#post30776778 http://www.facepunch.com/threads/1099026?p=30739566&viewfull=1#post30739566 http://www.facepunch.com/threads/1099026?p=30726382&viewfull=1#post30726382 http://www.facepunch.com/threads/1099026?p=30681447&viewfull=1#post30681447 http://www.facepunch.com/threads/1099026?p=30643415&viewfull=1#post30643415 http://www.facepunch.com/threads/1099026?p=30638597&viewfull=1#post30638597 http://www.facepunch.com/threads/1099026?p=30605736&viewfull=1#post30605736 http://www.facepunch.com/threads/1099026?p=31119627&viewfull=1#post31119627 http://www.facepunch.com/threads/1099026?p=31098107&viewfull=1#post31098107 http://www.facepunch.com/threads/1099026?p=31037329&viewfull=1#post31037329 http://www.facepunch.com/threads/1099026?p=31034826&viewfull=1#post31034826 http://www.facepunch.com/threads/1099026?p=30934420&viewfull=1#post30934420 http://www.facepunch.com/threads/1099026?p=30883350&viewfull=1#post30883350 http://www.facepunch.com/threads/1099026?p=30868482&viewfull=1#post30868482 http://www.facepunch.com/threads/1099026?p=30852636&viewfull=1#post30852636 http://www.facepunch.com/threads/1099026?p=31120467&viewfull=1#post31120467 http://www.facepunch.com/threads/1099026?p=31587916&viewfull=1#post31587916 http://www.facepunch.com/threads/1099026?p=31542778&viewfull=1#post31542778 http://www.facepunch.com/threads/1099026?p=31529627&viewfull=1#post31529627 http://www.facepunch.com/threads/1099026?p=31513605&viewfull=1#post31513605 http://www.facepunch.com/threads/1099026?p=31410314&viewfull=1#post31410314 http://www.facepunch.com/threads/1099026?p=31373770&viewfull=1#post31373770 http://www.facepunch.com/threads/1099026?p=31933783&viewfull=1#post31933783 / http://i.imgur.com/9beqo.gif http://www.facepunch.com/threads/1099026?p=31921028&viewfull=1#post31921028 http://www.facepunch.com/threads/1099026?p=31847787&viewfull=1#post31847787 http://www.facepunch.com/threads/1099026?p=31824103&viewfull=1#post31824103 http://www.facepunch.com/threads/1099026?p=31769438&viewfull=1#post31769438 http://www.facepunch.com/threads/1099026?p=31728152&viewfull=1#post31728152 http://www.facepunch.com/threads/1099026?p=32164110&viewfull=1#post32164110 http://www.facepunch.com/threads/1099026?p=32134705&viewfull=1#post32134705 http://www.facepunch.com/threads/1099026?p=32129837&viewfull=1#post32129837 http://www.facepunch.com/threads/1099026?p=32026298&viewfull=1#post32026298 http://www.facepunch.com/threads/1099026?p=31968573&viewfull=1#post31968573 #mari0 http://i.imgur.com/XD9GM.gif http://i.imgur.com/0xu2X.gif http://i.imgur.com/Nt3aO.gif http://i.imgur.com/l1htP.gif http://i.imgur.com/fvMYx.gif http://i.imgur.com/Jnoc0.gif http://i.imgur.com/HY43G.gif http://i.imgur.com/qJjVI.gif
Good god this is horrible.
SwapBuffers is taking 16 fucking milliseconds to execute... How do I even approach this?
It's part of OpenTK.
The funny thing is, my older projects work fine so there must be something I did, but what could make one function call execute so slowly?
Is vsync on? sounds like its being limited to 60fps