• What are you working on? V10
    2,002 replies, posted
[QUOTE=jA_cOp;21934712]If you have another error code convention in place, simply don't have functions with bool return values for error codes. Use the other convention. However, if you are using C++, this is a good place to use exceptions (although further down the chain, error codes could be more appropriate, resulting in a mix).[/QUOTE] Well, functions that can return multiple errors (such as createWindow()) have bitmasks, but functions that can return IT WORKED or IT DIDN'T WORK are simply bools. All bools in the engine are true = error, false = no error. I suppose I could always switch this to 0 and 0x1.
[QUOTE=nullsquared;21929319]Can you guys do something very important for me? I need you to test my program, especially dual-core and quad-core users on Windows Vista and Windows 7, but other testers are also appreciated (including if anyone wants to see if it starts under Mono): [url]http://anyhub.net/file/test_opengl.zip[/url] or [url]http://omploader.org/vNGJpNA/test_opengl.zip[/url] (.NET framework is required) It should run without error and look *exactly* like this (except for the rotation, of course): [img]http://img18.imageshack.us/img18/6969/opengltestimage.png[/img] When the triangle rotates, its back-face will be wireframe. This is expected; if the triangle's back-face is filled instead of wireframe, please tell me. If it looks different, please take a screenshot and show me. If you get some sort of error, please take a screenshot and show me. If you get an error that tells you to show me error.log, please do so. Thank you very much![/QUOTE] Works fine for me, Windows XP Home 1.6 GHz Atom 1 GB RAM Intel GMA 950
[QUOTE=ryandaniels;21935248]There should be a command to apply friction in a certain axis, but if you need to do it yourself, you just take the velocity and make it closer to zero, however you want to go about it.[/QUOTE] Ok, that'll work. Thanks.
[QUOTE=nullsquared;21924516]Wait are you saying I can't build a Linux binary, that uses Mono? I don't see why not, especially with ahead-of-time compilation.[/QUOTE] Look at the source I provided. First of all AoT isn't really effective unless you do it on the domain you're going to run the binary on, and you still need the assembly for metadata. You're not going to be able to provide fully compiled machine code for Linux. You'd get into trouble with 32/64 bit, kernel incompatibilities, etc otherwise anyway. [quote] This option is used to precompile the CIL code in the specified assembly to native code. The generated code is stored in a file with the extension .so. This file will be automatically picked up by the runtime when the assembly is executed. Ahead-of-Time compilation is most useful if you use it in combination with the -O=all,-shared flag which enables all of the optimizations in the code generator to be performed. Some of those optimizations are not practical for Just-in-Time compilation since they might be very time consuming. Unlike the .NET Framework, Ahead-of-Time compilation will not generate domain independent code: it generates the same code that the Just-in-Time compiler would produce. Since most applications use a single domain, this is fine. If you want to optimize the generated code for use in multi-domain applications, consider using the -O=shared flag. This pre-compiles the methods, but the original assembly is still required to execute as this one contains the metadata and exception information which is not availble on the generated file. When precompiling code, you might want to compile with all optimizations (-O=all). Pre-compiled code is position independent code. Pre compilation is just a mechanism to reduce startup time, and avoid just-in-time compilation costs. The original assembly must still be present, as the metadata is contained there. [/quote]
[img_thumb]http://dl.dropbox.com/u/2014606/desktop.png[/img_thumb] A little work i have been doing with random generation, now all i need to do is fix the noise, any ideas. (also the picture is 1980, 1080)
Fix it? Try removing whatever's causing it. [editline]12:19PM[/editline] I mean, you're the one generating it [editline]12:24PM[/editline] Alternatively, blur the entire image or parts of it. Calculate the average colour for each 3*3 or n*n pixels, and if an individual pixel's colour within that region differs too much from the average, make it so that it doesn't.
[QUOTE=benjgvps;21935329]Works fine for me, Windows XP Home 1.6 GHz Atom 1 GB RAM Intel GMA 950[/QUOTE] An integrated intel card works fine? Yes! :haw: I was battling with those for the past week because of text rendering issues and what-not, so I'm glad to hear it works well.
null: Both work fine. Windows 7 32 bit. Acer Aspire 5315 2Gb Ram Intel GMA 950 (integrated) (358Mb shared) Inter Celeron @ 2.00Ghz
I'm working on a game engine for Java that includes networking so I can have a base for any of the games I make. I think I'm going to make two versions, one where you're looking from the side, the other from the top. I've created the renderer and the basic engine to process it. Now I'm just working out how I'm going to use the network connection to communicate between both the server and the actual client. It's actually a breeze to do it in Java and I find it fun. :haw:
@null: Works fine on Q6600 and 8800 GTX Win 7 64-Bit
The second one you posted works fine for me. Windows 7 64 Bit Intel Core "Bloomfeild" i7 Quad Core @ 2.67 GHz, 8MB of L2 Cache 8GB DDR3 Ram ATI Radeon HD 4670 [editline]06:57AM[/editline] Also, I had to change my pants. For the 2nd time today. THANK YOU NULLSQUARED.
i'm doing thrilling stuff, making an easy way for clients to organise and store documents linked to particular contacts in an exchange DB and creating pre-completed templates based on the selected contact
I recently good a i5700, so I'm experimenting with the Android SDK. It's so confusing with all the activities and XML files and views and shit. [QUOTE=andersonmat;21939588]I'm working on a game engine for Java that includes networking so I can have a base for any of the games I make. I think I'm going to make two versions, one where you're looking from the side, the other from the top. I've created the renderer and the basic engine to process it. Now I'm just working out how I'm going to use the network connection to communicate between both the server and the actual client. It's actually a breeze to do it in Java and I find it fun. :haw:[/QUOTE] What are you using to draw? Some 3rd party library or just plain Swing? I made something similar, but it was too slow for anything mildly advanced because drawing with Graphics/Graphics2D isn't hardware accelerated. Slick looks pretty good.
[QUOTE=Robber;21941682]I recently good a i5700, so I'm experimenting with the Android SDK. It's so confusing with all the activities and XML files and views and shit.[/QUOTE] My HTC Desire is in the mail. And I thought the Android arch looked really nice. Reading the nice documentation on the android site in preparation.
Null: Mine works fine. Pentium Dual Core 1gb ram Windows 7 32bit Intel GMA 950
[QUOTE=Robber;21941682]What are you using to draw? Some 3rd party library or just plain Swing? I made something similar, but it was too slow for anything mildly advanced because drawing with Graphics/Graphics2D isn't hardware accelerated. Slick looks pretty good.[/QUOTE] I started working with Graphics2D to draw to a BufferedImage and then to a JFrame. It's not terrible, I can get upwards of 100 FPS running it. :v: I'm now working with JOGL to integrate Java and OpenGL. It's not the best thing in the world, but it's alright for what I need. I may end up checking out a library like Slick. We'll see what happens. :P
I'm just about finishing a collaboration project with my sister, a painting that stares back at the viewer. She did the digital painting, I programmed it to track motion via webcam.
[QUOTE=i300;21940684] Also, I had to change my pants. For the 2nd time today. THANK YOU NULLSQUARED.[/QUOTE] Wait because of what? Surely not the little triangle testing demo :v:
OMG COLORFUL TRIANGLE changing pants
If you were writing an engine would you have it do this: - Update - Render or the other way: - Render - Update
[QUOTE=CPPNOOB;21934026]While I'm still early in the project, is it a good idea for me to have returning false as an error instead of returning true? run() runs the engine, but returns true if the engine is dead. Is this the right way to do it?[/QUOTE] Personally, in that situation, I would use exceptions.
[QUOTE=andersonmat;21945204]If you were writing an engine would you have it do this: - Update - Render or the other way: - Render - Update[/QUOTE] Preferably update then render.
[IMG]http://i43.tinypic.com/2jvbmh.jpg[/IMG] [B]THEY ARE ALIGNED !![/B] ( early test ) [IMG]http://i41.tinypic.com/ouup84.jpg[/IMG] [B]SPIDEEEEERRSSS!!![/B] ( finished fixing buggy stuff ) Sweet FPS right?
[QUOTE=Xerios3;21946131]Sweet FPS right?[/QUOTE] Considering what's on screen.. I'd say so
OpenGL! [img]http://www.cubeupload.com/files/a24a00untitled.png[/img] Today; lines. Tomorrow; episode 4 Edited: It animates as well, but I'm too lazy to gif it. Plus I don't know how to :v:
[QUOTE=Xerios3;21946131][IMG_thumb]http://i43.tinypic.com/2jvbmh.jpg[/IMG_thumb] [B]THEY ARE ALIGNED !![/B] ( early test ) [IMG_thumb]http://i41.tinypic.com/ouup84.jpg[/IMG_thumb] [B]SPIDEEEEERRSSS!!![/B] ( finished fixing buggy stuff ) Sweet FPS right?[/QUOTE] Any LOD?
NOT AT ALL ! :haw: oh wait, it's a bad thing
[QUOTE=Xerios3;21946900]NOT AT ALL ! :haw: oh wait, it's a bad thing[/QUOTE] Literally you could probably cut a fourth of the polys being rendered with some LOD maybe more in some cases.
[img]http://img248.imageshack.us/img248/3330/starwarsw.png[/img] Equation from here: [url]http://www.leweyg.com/download/impview.html[/url]
[QUOTE=nullsquared;21947176][img]http://img248.imageshack.us/img248/3330/starwarsw.png[/img] Equation from here: [url]http://www.leweyg.com/download/impview.html[/url][/QUOTE]Holy fuck, who would even think of that.
Sorry, you need to Log In to post a reply to this thread.