Good, good. Even if it's messy i'd just like to have a look.avansc wrote:I'll get on that, It's just very very messy atm. but i'll chuck something out there.MrDeathNote wrote:Did you ever put this up, i'd definitely like to have a look at the sourceavansc wrote: I'll just put the zip up.
Flame Painter Dev Thread
Moderator: Coders of Rage
- MrDeathNote
- ES Beta Backer
- Posts: 594
- Joined: Sun Oct 11, 2009 9:57 am
- Current Project: cocos2d-x project
- Favorite Gaming Platforms: SNES, Sega Megadrive, XBox 360
- Programming Language of Choice: C/++
- Location: Belfast, Ireland
- Contact:
Re: Flame Painter Dev Thread
http://www.youtube.com/user/MrDeathNote1988
"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
Re: Flame Painter Dev Thread
There is an xcode project file in that should work fine for you folks with xcode. For the rest, the code should be pretty portable, I took the time to do some conditional things, you'll just have to tell it at a minimum where to find glut/gl, you can add timing as well, but it will use a default of 0.01s as is, and will look okay.
press C to clear the screen, C to resume drawing, if you press any other key it will stop drawing but not clear the screen, press another key to start drawing again, sorry, i did not do the mouse click thing.
Also, this code is not pretty or even good, its been through some lets jam this in here and see what happens, so just keep that in mind.
http://s000.tinyupload.com/index.php?fi ... 94&gk=hyip
press C to clear the screen, C to resume drawing, if you press any other key it will stop drawing but not clear the screen, press another key to start drawing again, sorry, i did not do the mouse click thing.
Also, this code is not pretty or even good, its been through some lets jam this in here and see what happens, so just keep that in mind.
http://s000.tinyupload.com/index.php?fi ... 94&gk=hyip
Last edited by avansc on Mon Jan 10, 2011 4:15 pm, edited 1 time in total.
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
Dad, "Yea well I have a fan belt in street fighting"
- dandymcgee
- ES Beta Backer
- Posts: 4709
- Joined: Tue Apr 29, 2008 3:24 pm
- Current Project: https://github.com/dbechrd/RicoTech
- Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
- Programming Language of Choice: C
- Location: San Francisco
- Contact:
Re: Flame Painter Dev Thread
I don't get it..
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
Re: Flame Painter Dev Thread
dandymcgee wrote:I don't get it..
Ugh, my bad, fixed.
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
Dad, "Yea well I have a fan belt in street fighting"
- dandymcgee
- ES Beta Backer
- Posts: 4709
- Joined: Tue Apr 29, 2008 3:24 pm
- Current Project: https://github.com/dbechrd/RicoTech
- Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
- Programming Language of Choice: C
- Location: San Francisco
- Contact:
Re: Flame Painter Dev Thread
Heh, I figured it was a clipboard malfunction.avansc wrote:dandymcgee wrote:I don't get it..
Ugh, my bad, fixed.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
- MrDeathNote
- ES Beta Backer
- Posts: 594
- Joined: Sun Oct 11, 2009 9:57 am
- Current Project: cocos2d-x project
- Favorite Gaming Platforms: SNES, Sega Megadrive, XBox 360
- Programming Language of Choice: C/++
- Location: Belfast, Ireland
- Contact:
Re: Flame Painter Dev Thread
Awesome avansc cheers!
http://www.youtube.com/user/MrDeathNote1988
"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
- xiphirx
- Chaos Rift Junior
- Posts: 324
- Joined: Mon Mar 22, 2010 3:15 pm
- Current Project: ******** (Unkown for the time being)
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C++
- Contact:
Re: Flame Painter Dev Thread
I'm still struggling with this... Implementing avansc's code line for line produces extremely bad results for me...
StarCraft II Zerg Strategy, open to all levels of players!
Looking for paid work :< Contact me if you are interested in creating a website, need a web design, or anything else you think I'm capable of
Looking for paid work :< Contact me if you are interested in creating a website, need a web design, or anything else you think I'm capable of
- xiphirx
- Chaos Rift Junior
- Posts: 324
- Joined: Mon Mar 22, 2010 3:15 pm
- Current Project: ******** (Unkown for the time being)
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C++
- Contact:
Re: Flame Painter Dev Thread
Who said this was dead?
ohai there OpenGL :3
ohai there OpenGL :3
StarCraft II Zerg Strategy, open to all levels of players!
Looking for paid work :< Contact me if you are interested in creating a website, need a web design, or anything else you think I'm capable of
Looking for paid work :< Contact me if you are interested in creating a website, need a web design, or anything else you think I'm capable of
Re: Flame Painter Dev Thread
OOOOOH PRETTY!!!!! *reaches out to touch*
- xiphirx
- Chaos Rift Junior
- Posts: 324
- Joined: Mon Mar 22, 2010 3:15 pm
- Current Project: ******** (Unkown for the time being)
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C++
- Contact:
Re: Flame Painter Dev Thread
I'm not very happy with the rendering *yet*. If the particles rotate around the cursor too fast, then you can tell that the whole thing is made of lines... which I want to avoid. would it be viable to see if, say, the current point is greater than 0.5 away from the previous point, if it is, for previous point to this point, render lines. The idea here is to fill in wherever theres a gap... unless theres a better way.
I'm using OpenGL + SDL now, so OGL solutions should work
StarCraft II Zerg Strategy, open to all levels of players!
Looking for paid work :< Contact me if you are interested in creating a website, need a web design, or anything else you think I'm capable of
Looking for paid work :< Contact me if you are interested in creating a website, need a web design, or anything else you think I'm capable of
- xiphirx
- Chaos Rift Junior
- Posts: 324
- Joined: Mon Mar 22, 2010 3:15 pm
- Current Project: ******** (Unkown for the time being)
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C++
- Contact:
Re: Flame Painter Dev Thread
Trying new rendering things :D
StarCraft II Zerg Strategy, open to all levels of players!
Looking for paid work :< Contact me if you are interested in creating a website, need a web design, or anything else you think I'm capable of
Looking for paid work :< Contact me if you are interested in creating a website, need a web design, or anything else you think I'm capable of
- BugInTheSYS
- Chaos Rift Cool Newbie
- Posts: 88
- Joined: Mon Feb 07, 2011 4:16 pm
- Current Project: Vintage Roads
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C++, Delphi
- Location: Pinneberg, Germany
- Contact:
Re: Flame Painter Dev Thread
Ooooooooooooooooh!
No it truly does look great and I was actually looking at it for quite a while :D
Are you happy with the rendering now?
No it truly does look great and I was actually looking at it for quite a while :D
Are you happy with the rendering now?
Someday, everything will go to /dev/null. - Bug's prophecy 13:37
- Ginto8
- ES Beta Backer
- Posts: 1064
- Joined: Tue Jan 06, 2009 4:12 pm
- Programming Language of Choice: C/C++, Java
Re: Flame Painter Dev Thread
ooh purdy colorsxiphirx wrote:Trying new rendering things :D
[img]
Quit procrastinating and make something awesome.
Ducky wrote:Give a man some wood, he'll be warm for the night. Put him on fire and he'll be warm for the rest of his life.
- adikid89
- Chaos Rift Cool Newbie
- Posts: 94
- Joined: Tue Apr 27, 2010 6:59 am
- Current Project: small tiny-mini projects
- Favorite Gaming Platforms: PC I guess...
- Programming Language of Choice: c++
Re: Flame Painter Dev Thread
Is it magic? Sure looks like it
My first game C++/SDL Yoshi Combat! = http://www.youtube.com/watch?v=HQ9mMBEWSZg
==============================================================
==============================================================
- dandymcgee
- ES Beta Backer
- Posts: 4709
- Joined: Tue Apr 29, 2008 3:24 pm
- Current Project: https://github.com/dbechrd/RicoTech
- Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
- Programming Language of Choice: C
- Location: San Francisco
- Contact:
Re: Flame Painter Dev Thread
The cyan is still my favourite yet.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!