That. 22 hours to go.*mumble* regional restrictions *mumble* *mumble*two days *grumble*
NEED TO PLAY NOW... Grrrrr...
Not Telling
Posted by Yann L
on 24 August 2011 - 06:59 PM
That. 22 hours to go.*mumble* regional restrictions *mumble* *mumble*two days *grumble*
Posted by Yann L
on 21 August 2011 - 01:54 PM
I'm sorry to be so blunt, but your results are bogus from a performance analysis point of view.As for OpenGL vs. Direct3D 9, I kept reliable records.
My records are based off the construction of my engine from the very start, when the engine was nothing more than activating a vertex buffer, an optional index buffer, a shader, and 0 or 1 textures.
Both the Direct3D and OpenGL pipelines were equally this simple, and both fully equipped to eliminate any redundant states that could occur from this primitive system.
My results.
This does not make any sense. Again, read up on bottlenecks. Even if an API would reduce its overhead to zero (which is partially possible by removing it entirely and talking to the hardware directly, as it is done in many consoles), the final impact on game performance is often very small. Sometimes it's not even measurable if the engine bottleneck is on the GPU (which is almost always the case on modern engines). The more work is offloaded to the GPU, the less important API overhead becomes.As of the latest DirectX API, there is no contest. And unless OpenGL can make a 5-fold improvement on their speed without multi-threaded rendering, there never will be, compared to DirectX 11.
Posted by Yann L
on 10 August 2011 - 05:29 PM
A Hello World example is about the worst possible way to judge an API or language.But take a look at a Hello World Example of both before you make a decision! ;)
It's neither of these. It's just that these things are out of the scope of a graphics API. They have never and will never be part of OpenGL. Note that D3D11 (and partially D3D10) went the same way, essentially removing all this bloated D3DX stuff. The only really useful remains were moved to XNAMath, which became largely API independent.My experience was that OpenGL (1.X though) was waaaay easier to get up and running and rendering a few triangles, but actually working with it was a pita compared to working with Direct3D (9.0c). It was mostly small things, such as math libraries, texture loading and font rendering IIRC. It was several years ago, but I can imagine some of it being the same due to cross platform and licensing issues.
No, no and no. The first (lack of math library) may be debatable, but everything else should never be part of a graphics API. Keep in mind that the main focus of a competitive graphics API is not beginner friendliness, but flexibility, performance, scalability, standarization and ease of driver implementation for IHVs. If you are looking for a beginner friendly framework, then both D3D and OpenGL are the wrong choices. A third party graphics or game engine is a much better solution for such scenarios.Maybe someone with more (recent) OpenGL experience can clarify the following?
* Is there a math library in OpenGL for matrices/vectors/planes/etc?
* Can you load textures in png or jpeg formats without using external libraries such as DevIL?
* Is there any simple way to render a string in OpenGL? I seem to recall there being some function to draw a single char using a supplied bitmap font..?
Posted by Yann L
on 19 July 2011 - 11:41 PM
Global brands are unbelievably valuable. Sometimes a single brand name can make over 75% of the entire value of a company. Take a look at the Interbrand 2010 top 100 brand list (Interbrand is the worlds largest brand analytics company).On a final note - and I'm not accusing you of this - every time I've ever heard someone defend a product's prospects by pointing to brand powers, it's a sign of impending doom.
Posted by Yann L
on 19 July 2011 - 09:10 PM
Because it's not always that simple, it's not a black or white situation. We don't have a truly free market. We have a regulated free market economy, where the amount of regulation varies from one country to the other. Truly unregulated markets would lead to complete corpocracies as every company will strive for full market domination and abuse their positions of power to eliminate competition in unfair or illegal ways. In our regulated free market economy, we have antitrust laws to prevent this. Microsoft has certainly violated competition laws on several occasions, but so have many (most ? all ?) multinational companies to some degree, and not only in the software sector.How is having Windows own the OS market not a "free market"? If you can bring a team together and write a better OS, Im sure yours would become a standard...
Posted by Yann L
on 19 July 2011 - 08:22 PM
Yes. And where is the problem here ? You're free to travel using a horse drawn carriage instead of a car. But if you do, don't complain you can't use the highway.Windows acts like a standard, except that only one company gets income from it. If you want to benefit from that 90% you have to buy Windows and only Windows. If you decide to go for the other 10%, you will not be able to use many software products, but only some created by companies that decided to cover that 10% too.
Microsoft is the only OS developer that literally bends over backwards to provide full backwards compatibility for basically any type of technology they have ever released. Want to target Win32, MFC or DX9 while developing on Windows 7 ? No problem, the same binary will run perfectly on anything from the latest Windows (and even on not yet released future versions !) back to the more than 10 year old XP. Try that with OSX or *gasp* Linux...If we refer strictly to PCs, most games "require Windows". If you want to play a specific game for PC then you must buy Windows. If Microsoft decides to make more money, they will release a new version of Windows, developers will be forced to release products to comply with the new "mood" and the end-user will have to pay the new Microsoft "tax".
Posted by Yann L
on 18 July 2011 - 10:21 PM
And that is exactly the problem. How can you make statements about a language you admittedly have low expertise in ? The "benchmark" example you provided earlier is the perfect example of that. You were comparing two pieces of code that had nothing at all in common except for outputing text. That text editor written in C is faster than that protein-folding simulator written in C++. Obviously this must mean that C is better...Indeed, I am a shit C++ programmer
Prove yourself wrong by learning C++ before making factually incorrect statements about it. Counter arguments to your points are trivial common knowledge to every semi-competent C++ programmer.which doesn't take away the fact that C++ is bloaty when compared to C(yes, I provoke on purpose. Prove me wrong
)
Posted by Yann L
on 16 July 2011 - 11:30 AM
Yes it is. In fact, that's what glslDevil uses AFAIK.Is transform feedback a possible method?
Posted by Yann L
on 15 July 2011 - 07:49 PM
We have a GD.Net facebook fan page ?! Please tell me this is a joke.If I want facebook, I'll login into facebook and discuss this in the GD.Net facebook fan page.
Posted by Yann L
on 15 July 2011 - 10:29 AM
Sarcasm aside, matter of fact is that install location is an irrelevant technical detail that will overwhelm 99% of all non-technical users. It is also a way to phenomenally screw up an install when you don't know what you're doing (keep in mind that we technically literate users are a small minority). Why increase workload on support lines and make your main user base confused/unhappy just to please maybe 0.1% of power users ? Not asking for install location makes indeed perfect sense for an installer. You wouldn't believe how many people try to install software on a DVD drive or USB key without even realizing it.About Google and Adobe etc. installing their crap just where you want (and installing what they want, too, without asking), this is easily answered: There is a massive misunderstanding from your side. You believe because you paid money for the computer, you are the owner. That's of course fundamentally wrong.
Google, Adobe, and Gigabyte own your computer, and as a user you are too stupid to decide what's good for you anyway. Therefore, they not only have every right of installing programs where they want, and secretly installing services that run at startup and send data over the internet, it is even their civil duty to protect you from yourself.
MS has indeed created strict guidelines on where code and user files should go. That is a good thing. But unfortunately not all developers adhere to these guideline, and MS needed to provide backwards compatibility. Basically, no one should ever write to Program Files, except for install, update or uninstall. In normal operation, this location should be strictly read only. And that is indeed enforced by Windows, if you tell it that your software adheres to the guidelines (using the application manifest). If you don't let it know that you're a good boy, then Windows will run your app as legacy code, virtualizing part of the filesystem. Your code may think it writes to Program Files, but it actually doesn't.Am I not right in thinking that as of Windows 7 - microsoft is now actively encouraging programmers to install applications to the Program Files folder? I believe only applications installed in Program Files can access or modify resources within their own folder, if they are installed to, say, C:\MyApp then the MyApp folder would be read only, and the user would receive a permission prompt if the application decides to write to this folder.
That's basically the way OSX does it.The single correct way to install software in my opinion would be to not install it at all. Installing in this case would mean to copy the folder containing the program from the CDROM to some location on your harddisk or unpacking a zip file that you have downloaded.
Shared libraries are in the same folder as the executable from where the OS will load them. Only libraries that are not found there (e.g. the system-internal libraries) are loaded from the system folder. ---> every program has the correct versions of all shared libraries, no tampering with operating system files needed.
Posted by Yann L
on 23 June 2011 - 12:47 PM
Since when do governments act in the interest of the people ? Rather than, say, large lobbying organizations. Like big ISPs for example. Oops.I'm with Luckless. I wish all ISPs were controlled by the government and more focused on building the best infrastructure for people.
Posted by Yann L
on 06 June 2011 - 12:37 PM
Antibiotics, ie. not dying from a simple wound infection would not be irrelevant. Access to clean water and food wouldn't be. Having a life expectancy over 35 would be quite relevant. Not being enslaved by your neighbor because he happens to belong to a tribe that is more powerful than yours would also be quite nice. We take all these things for granted, at least in the western world. It's technological advancement, knowledge acquisition and social evolution that brought us all that, not a personal relationship with a deity. Maybe some technological achievements don't contribute to happiness. You don't really need an iphone, a flatscreen TV and a sports car to be happy. You could certainly live a very happy life in a pre-industrial civilization. But some parts of technology do absolutely and objectively increase your well-being, especially those related to the medical sector.What you're saying makes sense if you equate success with technological advancement and knowledge acquisition. If God's goal is to create a loving relationship with people, I would say it's rather irrelevant, more likely it's contrary to that kind of success. I've seen that from experience during mission trips. Oftentimes the simplest conditions create the happiest people. Secularism has proposed similar ideas, Fight Club comes to mind, "The stuff you own ends up owning you." Sometimes I think if the word went to hell and everyone had to farm, hunt, and watch out for their neighbor to survive, Xanax would be irrelevant.
I'm not sure if artificially induced eternal life will increase suicide rates. It will depend on the type of environment you would be living in and how adaptable it would be. Given the digital consciousness version, we would probably progressively modify the way we think and the way our mind works in order to fit this new society. Essentially artificially guided evolution. And who says that the eternal life religions promise would not also lead to increased suicide rates (if such a thing would be possible there), because some people could not cope with it any longer ? If you say that they will be eternally happy because they're close to their god, what is the difference to eternally pumping large amounts of serotonin and dopamine into your brain (or doing the digital equivalent to an AI) ? After all, the feeling of happiness is just a biochemical reaction.The day that people create the technological breakthrough to live forever is the day that suicide rates start to climb exponentially.
I'm a pragmatic agnostic, so I don't believe in a god, at least not in the form it is described by any major religion. I believe that whatever entity created the universe (if any) did not meddle with it after its initial creation. Everything humanity has achieved, we achieved it on our own. While this doesn't give us the right to put ourselves above some god, we shouldn't put us under a god either. I equate divinity with knowledge, and as always, everything is relative. I think that given 'enough' knowledge, we can become gods ourselves.I fail to see why this should allow us to exalt ourselves before God, assuming you believe in that.
How can you say something like this ? This holier-than-thou attitude is really off putting. How can you know that you experienced something that we lack ? Maybe it is the other way round ? You don't need faith to lead a happy and fulfilling life. And there are many things in life besides apathy and faith into a deity. Believing in yourself, your own abilities and the ones of your loved ones, for example.People believing in god have experienced something that agnosticists have not. Whether that "something" is being talked dumbed by missionaries, or a spiritiual revelation, what matters after all is the faith: Because faith can get you through life much better than apathy.
Posted by Yann L
on 04 June 2011 - 07:18 PM
uniform sampler2DArray Texture;
uniform float Select;
varying vec2 TexCoord0;
void main()
{
gl_FragColor = texture2DArray(Texture, vec3(TexCoord0, Select));
}
Posted by Yann L
on 03 June 2011 - 05:37 PM
Posted by Yann L
on 31 May 2011 - 07:18 PM
Find content