1. Post #601
    T3hGamerDK's Avatar
    January 2011
    2,551 Posts
    That version of it uses geometry shaders to generate the quads, I'm going to switch over to a much faster instancing method when I get that down
    So today I learned that AMD GPUs are terrible at geometry shaders, I assume thats why its heating up
    Nothing to do with AMD GPUs being terribly at anything at all. Don't blame the card if you don't limit the frame rate on simple processes.
    Reply With Quote Edit / Delete Linux Denmark Show Events

  2. Post #602
    King of the Oil Refinery
    Tobba's Avatar
    December 2008
    6,204 Posts
    What GPU do you use, I get 30 FPS when it has emitted all particles on my shitty 8800
    Reply With Quote Edit / Delete Windows 7 Sweden Show Events Agree Agree x 1 (list)

  3. Post #603
    ECrownofFire's Avatar
    January 2011
    1,970 Posts
    Doesn't run, missing MSVCR100D.dll
    Reply With Quote Edit / Delete Windows XP United States Show Events

  4. Post #604
    King of the Oil Refinery
    Tobba's Avatar
    December 2008
    6,204 Posts
    https://dl.dropbox.com/u/4838268/betterparticles.zip

    Forgot to build it with a static runtime
    Reply With Quote Edit / Delete Windows 7 Sweden Show Events

  5. Post #605
    Crescent fresh
    Perl's Avatar
    January 2011
    966 Posts
    https://dl.dropbox.com/u/4838268/betterparticles.zip

    Forgot to build it with a static runtime
    6950 1GB.

    Edited:

    Second one gets max 60fps min 25fps.
    Reply With Quote Edit / Delete Windows 8 Estonia Show Events

  6. Post #606
    q3k
    Gold Member
    q3k's Avatar
    October 2009
    921 Posts
    https://dl.dropbox.com/u/4838268/betterparticles.zip

    Forgot to build it with a static runtime
    Code:
    q3k@zoth-ommog ~/Downloads $ wine DeferredRenderer.exe 
    err:module:import_dll Library MSVCR100D.dll (which is needed by L"Z:\\home\\q3k\\Downloads\\DeferredRenderer.exe") not found
    err:module:LdrInitializeThunk Main exe initialization for L"Z:\\home\\q3k\\Downloads\\DeferredRenderer.exe" failed, status c0000135
    Reply With Quote Edit / Delete Linux Poland Show Events Funny Funny x 5 (list)

  7. Post #607
    ECrownofFire's Avatar
    January 2011
    1,970 Posts
    https://dl.dropbox.com/u/4838268/betterparticles.zip

    Forgot to build it with a static runtime
    You forgot it again
    Reply With Quote Edit / Delete Windows XP United States Show Events

  8. Post #608
    King of the Oil Refinery
    Tobba's Avatar
    December 2008
    6,204 Posts
    Reply With Quote Edit / Delete Windows 7 Sweden Show Events

  9. Post #609
    ECrownofFire's Avatar
    January 2011
    1,970 Posts
    Nope.

    Edited:

    Recompile the entire fucking project because ONE bool isn't initialized to true.

    Ah well, I think I got my texture atlas creation working.
    Reply With Quote Edit / Delete Windows XP United States Show Events

  10. Post #610
    Map in a box's Avatar
    July 2009
    7,054 Posts
    Just makes my AV angry.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Agree Agree x 1 (list)

  11. Post #611
    King of the Oil Refinery
    Tobba's Avatar
    December 2008
    6,204 Posts
    what the fuck
    Reply With Quote Edit / Delete Windows 7 Sweden Show Events

  12. Post #612
    Slaaf van EternalFlamez.Ik wilde heel graag de laatste Indie Bundle, en ik kreeg deze kuttitel er gratis bij.
    Staneh's Avatar
    March 2010
    4,044 Posts


    I'm making a shitty RPG!

    What should I add?
    Reply With Quote Edit / Delete Windows 7 Netherlands Show Events

  13. Post #613
    Map in a box's Avatar
    July 2009
    7,054 Posts
    False positive(first time I even had a false positive)

    Edited:

    but what are you doing that would cause that
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  14. Post #614
    King of the Oil Refinery
    Tobba's Avatar
    December 2008
    6,204 Posts
    I have absolutely no idea

    I shoved it into virustotal and Avast picks up Win32:Downloader-FXC, no idea why though
    Whenever I do a debug build McAfee triggers on it instead

    Edited:

    Also I fixed it (for real), I had a linker option wrong so I was accidently linking against a debug built library
    https://dl.dropbox.com/u/4838268/fix...fixitfixit.zip

    Edited:

    Atleast I learned something today, linking a release-built program with staticly linked runtimes against a debug built library with dynamicly linked runtimes causes false-positives
    I dont get it
    Reply With Quote Edit / Delete Windows 7 Sweden Show Events

  15. Post #615
    Crescent fresh
    Perl's Avatar
    January 2011
    966 Posts
    I have absolutely no idea

    I shoved it into virustotal and Avast picks up Win32:Downloader-FXC, no idea why though
    Whenever I do a debug build McAfee triggers on it instead

    Edited:

    Also I fixed it (for real), I had a linker option wrong so I was accidently linking against a debug built library
    https://dl.dropbox.com/u/4838268/fix...fixitfixit.zip
    900 fps

    Edited:

    650 when done with particles
    Reply With Quote Edit / Delete Windows 8 Estonia Show Events

  16. Post #616
    Nigey Nige's Avatar
    June 2010
    1,337 Posts


    I'm making a shitty RPG!

    What should I add?
    Bats.

    In other news, I stopped drinking coffee, then tried to add doors and triggers to my game. Apparently I can't code without coffee.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Funny Funny x 2 (list)

  17. Post #617
    AlienCat's Avatar
    October 2011
    508 Posts


    I'm making a shitty RPG!

    What should I add?
    More tiles?
    Reply With Quote Edit / Delete Windows 7 Sweden Show Events

  18. Post #618
    q3k
    Gold Member
    q3k's Avatar
    October 2009
    921 Posts
    Also I fixed it (for real), I had a linker option wrong so I was accidently linking against a debug built library
    Code:
    q3k@zoth-ommog ~/Downloads $ WINEDEBUG=+fps wine DeferredRenderer.exe 
    fixme:heap:HeapSetInformation (nil) 1 (nil) 0
    trace:fps:X11DRV_SwapBuffers @ approx 2039.97fps, total 2039.97fps
    trace:fps:X11DRV_SwapBuffers @ approx 1893.40fps, total 3933.38fps
    trace:fps:X11DRV_SwapBuffers @ approx 1641.57fps, total 2787.48fps
    err:seh:setup_exception stack overflow 2128 bytes in thread 000d eip 00007f20d28b251d esp 0000000000140db0 stack 0x140000-0x141000-0x240000
    trace:fps:X11DRV_SwapBuffers @ approx 1353.76fps, total 2309.57fps
    ^Cfixme:console:CONSOLE_DefaultHandler Terminating process 8 on event 0
    q3k@zoth-ommog ~/Downloads $ sudo lspci | grep VGA
    01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Cayman PRO [Radeon HD 6950]
    edit: yes, it does actually work.
    Reply With Quote Edit / Delete Linux Poland Show Events

  19. Post #619
    Slaaf van EternalFlamez.Ik wilde heel graag de laatste Indie Bundle, en ik kreeg deze kuttitel er gratis bij.
    Staneh's Avatar
    March 2010
    4,044 Posts
    More tiles?
    I'm not an artist, silly guy!
    Reply With Quote Edit / Delete Windows 7 Netherlands Show Events Agree Agree x 2 (list)

  20. Post #620
    ECrownofFire's Avatar
    January 2011
    1,970 Posts
    I have absolutely no idea

    I shoved it into virustotal and Avast picks up Win32:Downloader-FXC, no idea why though
    Whenever I do a debug build McAfee triggers on it instead

    Edited:

    Also I fixed it (for real), I had a linker option wrong so I was accidently linking against a debug built library
    https://dl.dropbox.com/u/4838268/fix...fixitfixit.zip

    Edited:

    Atleast I learned something today, linking a release-built program with staticly linked runtimes against a debug built library with dynamicly linked runtimes causes false-positives
    I dont get it
    Crashes instantly for me after the window opens.
    Reply With Quote Edit / Delete Windows XP United States Show Events

  21. Post #621
    AlienCat's Avatar
    October 2011
    508 Posts
    I'm not an artist, silly guy!
    1. Open Paint
    2. Pick a random color
    3. Use fill
    4. Save
    5. Profit
    6. Explosions
    7. Cake

    Add monsters as well. And weapons. And attacks. Maybe random generated skills or customizable ones?


    I have to throw in some emergency content here. Lets see if I can get something to work.
    Reply With Quote Edit / Delete Windows 7 Sweden Show Events

  22. Post #622
    Team Hamster
    Mordi's Avatar
    January 2012
    312 Posts
    Babby's first hermite interpolation.
    Reply With Quote Edit / Delete Windows 7 Norway Show Events Winner Winner x 2Artistic Artistic x 1 (list)

  23. Post #623
    Map in a box's Avatar
    July 2009
    7,054 Posts
    https://bitbucket.org/Somepotato/lua...erver/overview
    I have a compiled version as a download. There is a bug I need to fix but for now this should work if you want to toy around with it.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  24. Post #624
    Gold Member

    October 2008
    3,838 Posts
    Writing a soft body physics thingy with Verlet integration, which makes everything surprisingly easy. Also notice the fancy cursor. (it's jittery because the app actually runs at like 3 FPS because Processing is a sluggish fucker)

    I can almost make a Gish clone now.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Winner Winner x 15Programming King Programming King x 2Artistic Artistic x 1 (list)

  25. Post #625
    Map in a box's Avatar
    July 2009
    7,054 Posts
    A 3 fps gish clone
    Reply With Quote Edit / Delete Windows 7 United States Show Events Funny Funny x 13 (list)

  26. Post #626
    Gold Member

    October 2008
    3,838 Posts
    A 3 fps gish clone
    If you comment the saveFrame() line it goes to 30 FPS by the way.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Useful Useful x 3Programming King Programming King x 1 (list)

  27. Post #627
    Gold Member
    Spero78's Avatar
    August 2010
    253 Posts
    https://dl.dropbox.com/u/4838268/particleshit.zip

    Anyone feel like testing this for me? (I already had FPP test it but fuck it)
    Expected output:


    Its framerate dependant at the moment so it might go rediclously fast if vsync is off
    Ran fine although really fast, put one of my 560ti up to 80% usage, didn't touch the second card.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  28. Post #628
    open.gl
    Overv's Avatar
    February 2007
    7,431 Posts
    According to some other stuff, geometry instancing is for when you pretty much need 2000 instances of something

    This is probably one of the only good ways I can see of using it
    I guess the logic is in that it has to run 1M draw calls, but its still mostly about bad implementation in the driver most likely

    Also can anyone tell me how hard this violates their GPU
    https://dl.dropbox.com/u/4838268/particles.zip
    As Jawalt said, I think the overhead of instancing is way too high for batches with a low amount of polys.
    Reply With Quote Edit / Delete Windows 7 Netherlands Show Events

  29. Post #629
    Gold Member
    antid2's Avatar
    August 2008
    640 Posts
    Reply With Quote Edit / Delete Windows 7 United States Show Events Useful Useful x 1 (list)

  30. Post #630
    Programming King and Most Patient Member 2013
    r0b0tsquid's Avatar
    December 2008
    1,157 Posts
    Kind of crossposting from the Electrical Engineering thread, but not quite - I've built a little LED matrix display, so it's now hooked up to my raspberry pi and displaying a scrolling clock.
    Fun fact: the font is actually the Windows command prompt 5x3 font... I cropped a screenshot of the ascii table straight from the console, saved it as a TGA, and wrote a C++ utility to load the image and output the font as a python script so the RPi can display it. All in the name of timekeeping

    Oh, and here's the matrix (before I soldered on the control pins):

    So yeah, this has been fun. Not sure what I should do with it next.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Winner Winner x 6 (list)

  31. Post #631
    First time doing networking;

    Reply With Quote Edit / Delete Windows 7 Netherlands Show Events Friendly Friendly x 2Funny Funny x 1Winner Winner x 1 (list)

  32. Post #632
    SupahVee's Avatar
    December 2007
    1,113 Posts
    I made a C# code generator, that brings something like C++ templates to the .NET world.
    It automatically generates and adds to your project classes/methods where a token literally gets replaced with a list of type names.

    Reply With Quote Edit / Delete Windows 8 Italy Show Events Programming King Programming King x 6Funny Funny x 1 (list)

  33. Post #633
    voodooattack's Avatar
    October 2009
    1,933 Posts
    I made a C# code generator, that brings something like C++ templates to the .NET world.
    It automatically generates and adds to your project classes/methods where a token literally gets replaced with a list of type names.

    Polish/expand it a bit and whip it up as a VS extension. Profit off spoiled C# developers.
    Reply With Quote Edit / Delete Windows 7 Egypt Show Events Agree Agree x 7 (list)

  34. Post #634
    DatZach's Avatar
    May 2011
    138 Posts

    Working on my OS again, my Module Manager is pretty much complete for now.
    I guess next I should start working on a VFS and filesystem drivers. :D
    Reply With Quote Edit / Delete Windows 7 United States Show Events Programming King Programming King x 1 (list)

  35. Post #635
    SupahVee's Avatar
    December 2007
    1,113 Posts


    Won't sleep tonight :D
    Reply With Quote Edit / Delete Windows 8 Italy Show Events Winner Winner x 5 (list)

  36. Post #636
    Gold Member
    Rohans's Avatar
    September 2010
    163 Posts
    Have any better examples? You could use generics for this and it would be better.
    Reply With Quote Edit / Delete Windows 7 Canada Show Events Disagree Disagree x 1Agree Agree x 1 (list)

  37. Post #637
    Gold Member
    efeX's Avatar
    April 2009
    2,332 Posts
    Polish/expand it a bit and whip it up as a VS extension. Profit off spoiled C# developers.
    uh
    Reply With Quote Edit / Delete Windows 7 United States Show Events Agree Agree x 9Funny Funny x 3 (list)

  38. Post #638
    SupahVee's Avatar
    December 2007
    1,113 Posts
    Have any better examples? You could use generics for this and it would be better.
    Most examples I have in my mind right now are related to game development and math, but I'm sure that this kind of automatic generation could be useful somewhere else. This is practically generics without any limitation.

    I'm implementing multiple tokens right now - this could be useful to handle conversions:
    Code:
    public static class Utils
    {
    	static $3$1 Sum($3$1 a, $3$2 b) 
    	{
    		return new $3$1( ($1) b.X, ($1) b.Y );
    	}
    }
    
    $3: vector_
    $1: int
    $2: float
    
    public static class Utils
    {
    	static vector_int Sum(vector_int a, vector_float b) 
    	{
    		return new vector_int( (int) b.X, (int) b.Y );
    	}
    }
    Reply With Quote Edit / Delete Windows 8 Italy Show Events Programming King Programming King x 1 (list)

  39. Post #639
    Gold Member
    Jawalt's Avatar
    August 2007
    3,478 Posts

    More progress on the UDK game I'm working on. Hope I'm not getting spammy.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Winner Winner x 8Dumb Dumb x 1 (list)

  40. Post #640
    helifreak's Avatar
    May 2011
    517 Posts
    I have absolutely no idea

    I shoved it into virustotal and Avast picks up Win32:Downloader-FXC, no idea why though
    Whenever I do a debug build McAfee triggers on it instead

    Edited:

    Also I fixed it (for real), I had a linker option wrong so I was accidently linking against a debug built library
    https://dl.dropbox.com/u/4838268/fix...fixitfixit.zip

    Edited:

    Atleast I learned something today, linking a release-built program with staticly linked runtimes against a debug built library with dynamicly linked runtimes causes false-positives
    I dont get it
    The background flashes between green and black really fast and there is a multicoloured rectangle in the middle of the window.
    Reply With Quote Edit / Delete Windows 7 Australia Show Events Funny Funny x 3Programming King Programming King x 1 (list)