[QUOTE=ddrl46;18541729]Sounds like a good idea, but removing them will make it a little too easy.[/QUOTE]
What do you think would be a better idea? Just a certain number and the person has to make do?
[QUOTE=Cathbadh;18541734]
Also, I need a different texture compression algorithm. S3TC makes my normal maps look like poop.[/QUOTE]
You and your patent encumbered texture compression algorithms. :argh:
[QUOTE=PvtCupcakes;18541801]You and your patent encumbered texture compression algorithms. :argh:[/QUOTE]
?
S3TC is like lossy jpeg for texture memory. While it works nicely for most decal textures, it totally looks blocky and crappy with finely-detailed normal maps.
[QUOTE=Jimmylaw;18541777]What do you think would be a better idea? Just a certain number and the person has to make do?[/QUOTE]
Well yeah, if you let them remove it's as easy with 9 as it is with 2.
Making an [url=http://en.akinator.com/#]Akinator[/url] clone in PHP. Actually pretty damn harder then I thought it would be.
[QUOTE=arienh4;18541861]Well yeah, if you let them remove it's as easy with 9 as it is with 2.[/QUOTE]
Can you honestly see it being a good game if i added items to collect and different levels with objects to work your way around?
I had to write some magic square "exercise" in Java.
Instead I wrote it in C++ and made it 3D, which made it actually kind of fun to code :v:
[media]http://img524.imageshack.us/img524/234/highres35size.jpg[/media]
[QUOTE=nullsquared;18543221]snip[/QUOTE]
You should totally make the fibonacci's pink, and the primes orange =P
[QUOTE=nullsquared;18543221]I had to write some magic square "exercise" in Java.
Instead I wrote it in C++ and made it 3D, which made it actually kind of fun to code :v:
[media]http://img524.imageshack.us/img524/234/highres35size.jpg[/media][/QUOTE]
Because you had a new avatar I was confused who this new 3D wizzkid in the programming forum was. I was about to ask how you did the rendering and then I saw your username haha.
I should really give Ogre more time. I need to step out of my irrlicht comfort zone.
Im off ill today so I did a ton of work on "PopeOS". Now loads the programs into memory and executes, also I added label support. They act more like functions and you can't use a jmp inside a label, the program automatticly reverts back to main. Sample: (ignore the first line)
[code]
test
label say_hello
out hello
label say_bye
out bye
label main
jmp say_hello
jmp say_bye
[/code]
Forgot to mention this was rewrite so I need to do some of the commands that aren't implemented yet. Then its onto comparisons and jigt jilt jie (jump if greater than, jump if less than, jump if equal).
Then I just need to add all the Fake operating system bits and it should be nearly finished.
I want a good bugtracker, that is more of an issue tracker. So I can use it as a project manager. So I can put shit in like "do this" and assign it to someone and they do it and change it to "resolved" and I can ask them "have you done all your tickets" and they will be "yes" or "no.
Previously I've used Mantis. But it's feeling too 1998 to me. I want something more web2.0, without all the page refreshes. Something maybe that uses google web tools. That is more like an application on the web than a website where every click on a link or a button sends you to another page.
Anything like that knocking about?
Hey Garry why did you demod Greeman?
[highlight](User was banned for this post ("this isn't ask garry about the forums" - garry))[/highlight]
[QUOTE=garry;18543392]I want a good bugtracker, that is more of an issue tracker. So I can use it as a project manager. So I can put shit in like "do this" and assign it to someone and they do it and change it to "resolved" and I can ask them "have you done all your tickets" and they will be "yes" or "no.
Previously I've used Mantis. But it's feeling too 1998 to me. I want something more web2.0, without all the page refreshes. Something maybe that uses google web tools. That is more like an application on the web than a website where every click on a link or a button sends you to another page.
Anything like that knocking about?[/QUOTE]
All I've used before is Trac and I quite liked it. Pages refresh though.
[QUOTE=Jallen;18543337]
I should really give Ogre more time. I need to step out of my irrlicht comfort zone.[/QUOTE]
Use whatever you feel comfortable with :)
Irrlicht is OK, but I use Ogre because it allows much more customization than Irrlicht, and when you get to complicated things, Ogre is rock-stable and supportive, while Irrlicht is "well I might do it, but it might be broken, so you might have to do it yourself" :v:
The shader I used is on the Ogre wiki over here: [url]http://www.ogre3d.org/wiki/index.php/Normal_AO_Specular_Mapping_Shader[/url] I wrote it to support a wide range of options yet still be compact and modifiable for people who wanna tweak it.
ogre is bloated crap
[QUOTE=nullsquared;18543422]Use whatever you feel comfortable with :)
Irrlicht is OK, but I use Ogre because it allows much more customization than Irrlicht, and when you get to complicated things, Ogre is rock-stable and supportive, while Irrlicht is "well I might do it, but it might be broken, so you might have to do it yourself" :v:
The shader I used is on the Ogre wiki over here: [url]http://www.ogre3d.org/wiki/index.php/Normal_AO_Specular_Mapping_Shader[/url] I wrote it to support a wide range of options yet still be compact and modifiable for people who wanna tweak it.[/QUOTE]
About the ambient occlusion mapping, what exactly should a map look like and what effect would it have? Does it only effect the object with the shader applied to it? Or can you apply it to the whole scene to render AO on everything including between 2 objects?
[editline]12:41PM[/editline]
[QUOTE=fngrbng;18543537]ogre is bloated crap[/QUOTE]
Set it up manually and you can pretty much ignore all of the unwanted crap in there.
[QUOTE=garry;18543392]I want a good bugtracker, that is more of an issue tracker. So I can use it as a project manager. So I can put shit in like "do this" and assign it to someone and they do it and change it to "resolved" and I can ask them "have you done all your tickets" and they will be "yes" or "no.
Previously I've used Mantis. But it's feeling too 1998 to me. I want something more web2.0, without all the page refreshes. Something maybe that uses google web tools. That is more like an application on the web than a website where every click on a link or a button sends you to another page.
Anything like that knocking about?[/QUOTE]
I can recommend [url="http://www.indefero.net/"]InDefero[/url], as well as [url="http://www.redmine.org/"]Redmine[/url]. If you don't mind throwing some cash down, there is [url=http://www.fogcreek.com/FogBugz/]Fogbugz[/url].
I don't think any bug tracker/ task managment software out there does *not* refresh however.
[QUOTE=nullsquared;18543221]I had to write some magic square "exercise" in Java.
Instead I wrote it in C++ and made it 3D, which made it actually kind of fun to code :v:
[/QUOTE]
I bet your teachers hate you so much :v:
[QUOTE=garry;18543392]I want a good bugtracker, that is more of an issue tracker. So I can use it as a project manager. So I can put shit in like "do this" and assign it to someone and they do it and change it to "resolved" and I can ask them "have you done all your tickets" and they will be "yes" or "no.
Previously I've used Mantis. But it's feeling too 1998 to me. I want something more web2.0, without all the page refreshes. Something maybe that uses google web tools. That is more like an application on the web than a website where every click on a link or a button sends you to another page.
Anything like that knocking about?[/QUOTE]
Defiantly Redmine.
[QUOTE=garry;18543392]I want a good bugtracker, that is more of an issue tracker. So I can use it as a project manager. So I can put shit in like "do this" and assign it to someone and they do it and change it to "resolved" and I can ask them "have you done all your tickets" and they will be "yes" or "no.
Previously I've used Mantis. But it's feeling too 1998 to me. I want something more web2.0, without all the page refreshes. Something maybe that uses google web tools. That is more like an application on the web than a website where every click on a link or a button sends you to another page.
Anything like that knocking about?[/QUOTE]
If you can't find what your looking for then maybe you could make one? Don't know how hard it would be. Anyway, Redmine looks pretty good from the demo.
Realised that in my fake os if I am loading these programs and then leaving them there I am going to run out of memory, go go unload!
[QUOTE=garry;18543392]I want a good bugtracker, that is more of an issue tracker. So I can use it as a project manager. So I can put shit in like "do this" and assign it to someone and they do it and change it to "resolved" and I can ask them "have you done all your tickets" and they will be "yes" or "no.
Previously I've used Mantis. But it's feeling too 1998 to me. I want something more web2.0, without all the page refreshes. Something maybe that uses google web tools. That is more like an application on the web than a website where every click on a link or a button sends you to another page.
Anything like that knocking about?[/QUOTE]
[url=http://www.fogcreek.com/FogBugz/]FogBugz[/url]
[QUOTE=Jimmylaw;18541714]Not sure if you mean that he goes back to the beginning or the fact i realised you could jump again and again and again to stop you hitting the floor.
The game idea is that you start at one end and have to reach something in the map by creating a path to it. You will only be given a certain number of blocks to create this path with so removing them as you go along is a must! Just don't fall off as you will have to start from the beginning again :)[/QUOTE]
Actually I meant this "IndexOutOfRange" exception.
[img]http://img.loldepot.com/a8f9963e8c90f726152885.png[/img]
[QUOTE=Jimmylaw;18542169]Can you honestly see it being a good game if i added items to collect and different levels with objects to work your way around?[/QUOTE]
Only if there's a real challenge (limited number of blocks). What you're proposing is more of a sandbox game.
Thanks to everyone with the OS advice, it looks like I would need to read up on it a lot more. I'm going to leave it for now. I'm relearning C++ using Accelerated C++, and I've cleaned up my code a lot more:
[cpp]#include <iostream>
#include <vector>
#include <string>
using std::cin; using std::cout;
using std::endl; using std::string;
using std::vector;
int main()
{
//get users name
cout << "Hello! Please enter your name: ";
std::string name;
cin >> name;
cout << "Hey " << name << ", please enter some values, and type \"end\" to finish:"
<< endl << endl;
//get values
vector<int> values;
int value;
while(cin >> value) {
values.push_back(value);
}
//output amount of values
cout << endl << endl << "You entered " << values.size() << " values!" << endl;
return 0;
}
[/cpp]
[editline]06:07PM[/editline]
By the way, learning [b]properly[/b] from a book is much better than [i]sort of learning[/i] online, and I realise that I've been kidding myself for ages.
[QUOTE=nos217;18546848]Thanks to everyone with the OS advice, it looks like I would need to read up on it a lot more. I'm going to leave it for now. I'm relearning C++ using Accelerated C++, and I've cleaned up my code a lot more:
[..code..]
[editline]06:07PM[/editline]
By the way, learning [b]properly[/b] from a book is much better than [i]sort of learning[/i] online, and I realise that I've been kidding myself for ages.[/QUOTE]
Did you test your program?
Also, don't use std::endl for linebreaks; \n is for that. Use std::endl if you want a linebreak [i]and[/i] flush the stream.
Yes, it works fine :S.
[editline]06:17PM[/editline]
[QUOTE=ZeekyHBomb;18546977]Did you test your program?
Also, don't use std::endl for linebreaks; \n is for that. Use std::endl if you want a linebreak [i]and[/i] flush the stream.[/QUOTE]
Actually, I used to always use \n, but I've been trying to pick up everything from the book I can, so I ended up using endl. Thanks.
[editline]06:23PM[/editline]
So, what is the problem?
Well, the loop breaks on all non-integer values. And you should also make sure to flush the output when it must be displayed:
[cpp]#include <iostream>
#include <sstream>
#include <vector>
#include <string>
//whatever, there won't be any namespace collisons here
using namespace std;
int main()
{
//get users name
cout << "Hello! Please enter your name: " << flush;
string input;
cin >> input;
cout << "Hey " << input << ", please enter some values, and type \"end\" to finish:\n\n" << flush;
//get values
vector<int> values;
int value;
istringstream val_stream;
while(values.size() < values.max_size()) {
cin >> input;
if(input == "end")
break;
val_stream.str(input);
if(!(val_stream >> value)) {
cout << "Error input \"" << val_stream.str() << "\"" << endl;
} else {
values.push_back(value);
}
val_stream.clear();
}
//output amount of values
cout << "\n\nYou entered " << values.size() << " values!" << endl;
return 0;
}[/cpp]
[QUOTE=ZeekyHBomb;18547722]loop breaks on all non-integer values[/QUOTE]
That's the point. It's what is done in the book, and is part of the exercise.
Yeah, but on all, not just "end".
Yes, I'm aware of that, but for the end user, it's unlikely that they will try anything else. And it's for my own learning and for looking back on if I forgot how to use vectors.
Sorry, you need to Log In to post a reply to this thread.