• What are you working on? v19
    6,590 replies, posted
Unfortunately, it's hard to deny that the "lights are on". [code]void main() { outColour = vec4( 1.0, 0.0, 0.0, 1.0 ); }[/code]
[QUOTE=thomasfn;32044267]Unfortunately, it's hard to deny that the "lights are on". [code]void main() { outColour = vec4( 1.0, 0.0, 0.0, 1.0 ); }[/code][/QUOTE] Are you "out"-ing outColour?
[code]out vec4 outColour;[/code] [code]shdrWorld.BindFragData("outColour", 0);[/code] Check.
[QUOTE=thomasfn;32044267]Unfortunately, it's hard to deny that the "lights are on". [code]void main() { outColour = vec4( 1.0, 0.0, 0.0, 1.0 ); }[/code][/QUOTE]Have you made sure to set outColour as the fragment colour in the shader?
Wee! :D [img]http://localhostr.com/file/x0Ysh8M/ak_new.png[/img] [img]http://localhostr.com/file/fr1GYQi/vase_new.png[/img]
[QUOTE=thomasfn;32043789]The worst thing a graphics programmer ever has to deal with. The black screen error.[/QUOTE] [img]http://www.adamncasey.co.uk/upload/image/3431/d/o/[/img] I feel your pain, got this exact problem right now
[img_thumb]http://navalrp.co.uk/public/images/MusicWrapperWin.PNG[/img_thumb] This is my first ever coding project. It's a simple wrapper that I use to control SubSonic, without the need to have my browser open. I need to make it work with Google Music though.
I just found out how to use the OutputDebugString function which sends a string to your debugger. :dance: No more message box debugging for me!
[QUOTE=awfa3;32047328]I just found out how to use the OutputDebugString function which sends a string to your debugger. :dance: No more message box debugging for me![/QUOTE] std::cout << errorMessage << std::endl; //works fine for me
[QUOTE=awfa3;32047328]I just found out how to use the OutputDebugString function which sends a string to your debugger. :dance: No more message box debugging for me![/QUOTE] Here's mine: [url]http://code.google.com/p/bootil/source/browse/trunk/Bootil/Debug/Debug.cpp#149[/url]
[QUOTE=Richy19;32047440]std::cout << errorMessage << std::endl; //works fine for me[/QUOTE] I'm talking about window applications
[QUOTE=awfa3;32047531]I'm talking about window applications[/QUOTE] Display a console with your window when in debug mode
[img_thumb]http://navalrp.co.uk/public/images/MusicWrapper2.PNG[/img_thumb] Fuck yeah.
[QUOTE=Richy19;32047676]Display a console with your window when in debug mode[/QUOTE] Then once you used AllocConsole() to display the window, you have to redirect the standard stream and stuff. It's way simpler to use OutputDebugString() instead.
[img]http://i.imgur.com/Bn2b0.png[/img] when suddenly a texture appeared
[QUOTE=awfa3;32047806]Then once you used AllocConsole() to display the window, you have to redirect the standard stream and stuff. It's way simpler to use OutputDebugString() instead.[/QUOTE] [code] AllocConsole(); int hConHandle; long lStdHandle; FILE *fp; lStdHandle = (long)GetStdHandle(STD_OUTPUT_HANDLE); hConHandle = _open_osfhandle(lStdHandle, _O_TEXT); fp = _fdopen( hConHandle, "w" ); *stdout = *fp; [/code] that's what i use, i found it somewhere but i don't remember where it was
[QUOTE=FlamingSpaz;32047776][img_thumb]http://navalrp.co.uk/public/images/MusicWrapper2.PNG[/img_thumb] Fuck yeah.[/QUOTE] But can you control the play/stop/next/previous ? If yes, link !
Whats a good screen recorder? The only one I have ever used is Camtasia. I was thinking about recording some programming related stuff.
First person to guess what ive been doing gets 10 points. Im afraid theyre imaginary so you cant technically buy anything using them (other than my love if you want it :v:) [IMG]http://dl.dropbox.com/u/33076954/First_person_to_guess.PNG[/IMG] Edit: And im deeply sorry about the lack of cornflower blue :v:
[QUOTE=Icedshot;32049390]First person to guess what ive been doing gets 10 points. Im afraid theyre imaginary so you cant technically buy anything using them (other than my love if you want it :v:) [IMG]http://dl.dropbox.com/u/33076954/First_person_to_guess.PNG[/IMG] Edit: And im deeply sorry about the lack of cornflower blue :v:[/QUOTE] No cornflower blue.. hmm.. an anti XNA campaign? Or making their own 3D renderer?
Lookie what I found [media]http://www.youtube.com/watch?v=1MryBghCqxI[/media] They claim to have a torrent of it :downs:
[QUOTE=ZenX2;32050414]Lookie what I found [media]http://www.youtube.com/watch?v=1MryBghCqxI[/media] They claim to have a torrent of it :downs:[/QUOTE] Damn I was just about to write a YMCA takedown email and it's already removed.
[QUOTE=ruarai;32050487]making a triangle[/QUOTE] I hope thats a fake useragent. --- How do particle systems work? Lots of particles with little lag and each particle glowing, etc, and fuzzy, but how do they manage to have low lag for that kind of thing?
[QUOTE=ZenX2;32050414]Lookie what I found [media]http://www.youtube.com/watch?v=1MryBghCqxI[/media] They claim to have a torrent of it :downs:[/QUOTE] Damnit, what was it? :( I wanna play the leaked torrent, too!
[QUOTE=Murkrow;32050600]Damn I was just about to write a YMCA takedown email and it's already removed.[/QUOTE] Stabitself needs a user counter, you should use one of those image user counters [editline]31st August 2011[/editline] [QUOTE=Maurice;32050633]Damnit, what was it? :( I wanna play the leaked torrent, too![/QUOTE] A money making url thing
[QUOTE=Map in a box;32050617]I hope thats a fake useragent. --- How do particle systems work? Lots of particles with little lag and each particle glowing, etc, and fuzzy, but how do they manage to have low lag for that kind of thing?[/QUOTE] Where's your bottleneck? Rendering? Try instancing. Updating data? Keep the logic for particles minimal and straight forward. And perhaps try having the data in a continuous chunk of memory (as opposed to e.g. a linked list) so further memory can be accessed easily.
Got depth working for moving the camera around [IMG]http://dl.dropbox.com/u/33076954/big.PNG[/IMG] [IMG]http://dl.dropbox.com/u/33076954/smallrot.PNG[/IMG] (rotated a little just for fun as well) so yes, this is entirely done in software I think im doing some transformations the wrong way round because currently when you zoom, the triangle actually flies in the direction you zoom (rather than the camera zooming) but i should be able to fix it at some point. The main thing is it works :v: Edit: It might be meant to do that, its difficult to tell without any solid reference points
The next Unlimited Detail, eh?
The triangle angling looks like it was just resized.
[QUOTE=Icedshot;32049390]First person to guess what ive been doing gets 10 points. Im afraid theyre imaginary so you cant technically buy anything using them (other than my love if you want it :v:) [IMG]http://dl.dropbox.com/u/33076954/First_person_to_guess.PNG[/IMG] Edit: And im deeply sorry about the lack of cornflower blue :v:[/QUOTE] You were trying to make this but failed. [IMG]http://i639.photobucket.com/albums/uu118/blayze7533/tri.png[/IMG] Now when do i get my 10 points?
Sorry, you need to Log In to post a reply to this thread.