XNA water
0:54
Added: 3 years ago
From: alexmbr
Views: 105,262
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (129)

Sign In or Sign Up now to post a comment!
  • Amazing!!

  • OMG AMAZING

    

  • düüüdüüüüm video end

  • OMG thats beautiful, i'll be happy if my water turns out half as good as this

  • outstanding =O

  • i an NOT a programmmer and having just one working only I am Barely a gamer BUT I LOVR COMPUTER GRAPHICS and IMO this water reminds me of the DERFER RENDERED water that the wonderful NINTENDO GAMECUBE used to be able to do o a NON SHADER PLATFORM but WOW did the "AAA" GAMES LOOK SHADER POWERED. This XNA example reminded me of the water in ZELDA, MARIO especially WAVERACE Gamecube version ofcourse.

  • looks really sick..XD..

  • Nice man (;

    I think you are just using normal mapping but the normal map is moving right? ^^

  • cool box :)

  • I couldn't even add water the a custom FEAR map in the SDK, great job

  • stunning water! :O

  • How did you describe the movement of the water ? sin cos ? whats the equation ?

  • Dang this is better that water in most retail games , good job

  • this is awesome, i cant even simulate gravity >.< 

  • that looks like crysus water lol

  • that looks so awesome that it makes Farcry 2 was made in XNA...

  • Good JOB ^.^, is this Fractal Geometry?

  • Hey I am making models with blender but how many "polygons" can xna handle? Thanks

  • Yeah, you see a lot of C# in Unity Engine as well. Still new to all this, but, C# from what I understand does seem very robust.

  • dat fresnel

  • Wow, I bet that was hard.

  • Nice work, I didn't know XNA could do water like that. C# always seemed a bit clunky

  • Now that is really impressive - Really Wow !

    I hadn't really appreciated just what can be achieved with xna

  • holy crap that looks realistic O0O

  • sensacional

  • Yes, amazing :)

    Im learning C# so I could create something similar, but I guess that requires more than programming languages knowledge ..

  • Comment removed

  • woow, the water looks pretty cool :D

  • wow that is amazing

  • grg

  • wtf

  • how do u run XNA? im only using c# but i also have XNA installed

  • Awh beautifull blue water :D I wanne kitesurf in that! U did a nice job man ;)

  • lol with these graphics, I can see someone going "Hm, is XNA a type of camera?". That's frickin amazing. I bet it kills framerate, though. Or is it light?

  • The source code of water is open? I very like the water. How do you do that?

    Using which method?

  • better than crysis

  • wonderful water effects.

    wtf is going on in the background??

  • tada.wav

  • @ortzinator . Yes, I was at the office when I record the video, and the computer overthere played that sound a few times. rsssss Good hearing!!!

  • C++ takes so much longer... that's why I only use it when I have to (for use on anything that's not windows).

  • whats the progams used to do that?i have xna,c#,and anothers tipe gmax

  • This water is wonderful how to download it

  • that is some high quality h20

  • this is no good water, its just awsome

  • Eh, for someone who's used C# AND C++ a lot, I have to say, no... There's really nothing "easier" about either one. C# is just more CONVENIENT (most of the time). They also don't have a measurable attribute called "power". They both have different advantages and disadvantages. For pure Windows development, it's my OPINION that C#/.NET is FAR more efficient and productive (and more stable). And no one "needs" OGL, just like they don't "need" DX for good water. Sorry, that's just misleading. :-/-

  • "[...]it's my OPINION that C#/.NET is FAR more efficient and productive (and more stable)"

    I second that.

    Also, C#/.NET is not necessarily slower than native C++, sometimes even the opposite is the case.

    There are test results on the web, for the truly interested.

    (programming in C++ since 1998, C# since 2004, the last couple years of that as a profession (meaning that I'm not necessarily a genius, but at least some people are willing to give me money for what I do :-D ))

  • For any prototyping / proof of concept stuff I do today I use C# even for number crunching tasks instead C++, since coding in C# and the neat consistent libraries are just so damn nice and often self-explanatory.

    I'd completely ditch C++ for most stuff if it werent for "easy" portability.

    Why don't I use Java then? Because I think it's ugly. To me, basically, C# is "Java done right" :-D

    *puts on flameshield*

  • C# and the dotNET framework, that is

  • @GentleSavage1

    I agree completely, but simply say 'meh' to portability :D

  • @defacto109

    C# isn't easier than C++. Uhuh. Right, and there aren't 100 lines of code involved in implementing a window. Sure. And the whole thing isn't based on pointers, which are really difficult for most noobs I've come across to understand. C++ basically means "write a whole load of code for even the most basic task". True this allows customisation a whole load more, but for someone starting to use it. Pointless. I use it for OS development, yeah, but everything else it simply makes a pain.

  • And that is essentially just an inconvenience that it takes more lines. "n00bs" get intimidated by lots of code, but it's not that hard to grasp with a foundation. Pointers? Big deal. C# allows pointers too. Use when needed. Instead of sending your entire house to get info from a friend, send them your address. :) ASM isn't that hard once you study it a bit. It's just extremely inconvenient and cryptic (hate).

    "..but everything else it simply makes a pain."

    Exactly, it's not very convenient...

  • @defacto109

    yeah c++ is not hard to grasp...it's just much easier to use c# nowadays. ;o

    Especially for XNA library. lol

  • Lol, XNA freakin 0WNZ! :D

    When most people talk hard/easy, they talk about how hard something is to fully understand and master. You can actually learn C the fastest because it's a "small" language. It's just terribly inconvenient to work with. Then, C# can actually be 1000X's harder. Try implementing a managed kernel! :) All languages have ins and outs, good and bad. They're tools, and some beat others some of the time. :)

  • C# doesent send object by value, so you basicly use pointers all the time, you just dont have to actively keep track of them yourself...

    C++ is good for implementing high-performance code. but it has to be REALLY REALLY high-performance code in order for it to justify the increase in development time and cost.

    As much of the high-performance code in games is graphics, wich can be done using the GPU efficiently, the programming language used is not that relevant.

  • Ehhh, I think you're a bit confused. By default, parameters in C# are passed by value. You can confirm this yourself by passing a variable as a parameter to a function which modifies it, then print the original to the Console. It will not change. A local copy is sent to the other method, NOT a pointer/reference. You use the "ref" tag to send a REFERENCE. It's akin to using the '&' in front of a C++ param. And pointers work just the same as C/C++ pointers, e.g.:

    int* aPtr = &a;

  • Uhhh... In C#, primitives (int, double, float) are passed by value and require the "ref" keyword to be passed by reference. "Reference types" (classes, delegates, interfaces, arrays) are passed by reference. These are your objects. Enums and structs also fall under the "value type" banner.

    Strings, contrary to popular belief, are immutable and are actually reference types.

  • ...and? I wasn't really aware that it was "popular belief" that strings are not immutable? lol :) That's common knowledge, afaik.

    It's also common knowledge that primitives and structs are "value types" and objects are "reference types". So what is your point? You haven't said anything in contradiction to me. It should also be noted, when a reference type is passed without the "ref" keyword, a *copy of the reference* is made, and still doesn't change the original.

  • @defacto109

    I get you like to try to know what you're talking about, but you're a moron.

    "Ehhh, I think you're a bit confused. By default, parameters in C# are passed by value. You can confirm this yourself by passing a variable as a parameter to a function which modifies it, then print the original to the Console. It will not change. A local copy is sent to the other method, NOT a pointer/reference."

    You fucked up in what you wrote and then said I was right on your reply. HAAAAAAAAAAAAA.

  • @shizukasa

    Funny. Trey Nash's "Accelerated C#" and John Skeet's "C# in Depth" tend to agree with my statements. Guess those authors are morons too? You should email them to tell them.

    I don't see where you've proven anything or even made a successful attempt at humor anywhere. You've only shown you resort to insulting people when you can't get your way in a programming discussion. Pity...

  • @defacto109 in C# you have value-types and reference-types. value-types, like Vector3, enums and so on are passed by value as default, while reference-types, like instances of objects, are passed by reference...

    ref-keyword is used to pass a value-type by reference, while unneccesary on reference-types.

  • @NorcanDiaboli

    That's not quite right. The ref keyword have its use with reference types.

    When you call a method and pass a reference object as a parameter, without the ref keyword, you can copy the reference, and alter the state of the object (modify its public members), BUT you cannot change its reference. However, if you use the ref keyword to pass the parameter you can freely change its reference.

    Search for "Passing Reference-Type Parameters (C#)"; there's a nice article about it in msdn.

  • @NorcanDiaboli Meromero said it first, but using "ref" on reference type parameters is useful (and sometimes necessary) when you want the exact reference. For example:

    var a = new Something(), b = a; // References point to same instance on managed heap

    ...any modifications to the members of a and b reflect same changes. But consider what happens if you pass a/b:

    void MakeNull( Something x ) { x = null; } // accomplishes nothing

    void MakeNull( ref Something x) { x = null; } // nulls reference

  • C# is easier because when I was trying to learn coding I first tried C++ and it took forever to even figure out and then I tried using XNA and its C# and its so easy once you look at the how to make a 2D game and how to make a 3D game it explains it all and to me having no collage developer/programmer experience and being only 13 the is a lot easier and anyone can give it a try and make something within 3-5 hours or a little over that but all I'm try to say is that anyone can learn this

  • @py4god damn dude your 13?!? im 14 and i cant do it, i can the the hello world thing, but the rest confuses the hell outta me, can yous help me :o? please and thank you:)

  • look so good

  • better than crysis! =P

  • to make the water darker deeper you get you need OpenGL and its MRTs... they kick ass with deferred shading

  • the water is very nice btw, but maybe you should add a depth constant making the water "darker" the deeper you get. Maybe like this: pixelvalue = reflective component + other component^(1/(depth^(1/constan­t depending on how clear you want your water))

  • can i drink the water! :P

  • wow that is so cool! i am startig to make a project too and this looks like it'll help with what im making! You should try joining game companies that let u make game designs.

  • woow that is cool water i thought it was real for a second til i saw the box

  • Thanks

  • Woops, meant to be @XNAgamemaker.

  • wauw can you use it for XNA lara?

  • You're an idiot. "Has more graphic power"... lol, why is C++ still todays industries number one choice when it comes to making games? it's because it's more powerful.

    As long as you know a language really well, and a graphics library really well, it doesn't matter what language you use. However, the lower level you go, the more powerful you can make your programs.

  • @AstralAbraxas

    I hope you know that C# is built off of C++ and that C# has lots and lots of overhead making it WORSE than C++.

  • I agree with you. I was sticking up for C++ x.x

  • Comment removed

  • Actually C# was designed off of the precepts Of C,C++,Java & Visal Basic not just java, and in fact most of the componets in C# are already native to C++ and C, which Java was built On

  • @Iam4balance yeah it sucks that just because the syntax is similar people assume they are like the same language

  • its not powerfull :) but it can do everything ;)

    from saying "hello world" till developing the other necessary programs for a game to work ^^ ...

    and it can be fast as any other program if you have a clean code and you know what you are doing.

  • Why is it that The PS3, and most games use C++? Have you even tried C++? LOL OMG< its not C++ that does the GFX, its the APIs... Like Open GL...

  • nope i only used C# and Java

  • is there a big difference between c# abd c++ so when i eventually go to learn c++ it would be easier?

  • c# is more similar to c. That being said programming languages fundamentally the same and learning a language will help you learn c++. c++ is in a category of it's own in my opinion, being such a advanced language their are alot of ways to do things easier and thus a lot of ways to mess things up. Generally, you will see things that promote simplicity and good habits in less advanced languages like no multiple inheritance in c#. c++ isn't so strict so its powerful but harder to start from scrath

  • thanks

  • Does game studio use xna too for developing games?

    I' completely new to game development and which languages should I learn, C++ or C#?

  • Which game studio are you talking about?

    For using XNA will need to learn C#.

  • No, game studios don't use XNA for developing commercial games...  The last time I checked, the XNA license was too restrictive (or something of the sort). You can sell XNA games through XBOX community games (or whatever it's called) though.

  • You can sell any game made with XNA for windows, without having to pay anything to Microsoft.

  • @TyphoidHippo I think u just can't optimize the xbox fully when u're using xna..

  • @abkleo You can. Some games made in XNA make the 360 lag. :)

  • if you want to use XNA you will need to use c# with it. But if you want to create a game i'd use C++ because of its power. :)

  • c# is 1% slower

  • i didnt know :D cheers for the info dude :P so does that make c++ fastist lang?

  • C# is just as powerful, you just don't know much about it. C# is actually fairly good to get started in.

  • cheers for the info dude :) i think i will take c# as my second lang. cos am already doing a course in java atm

  • You shold use in reflection and refraction too.

  • cool dud

  • my mate has been designing games, and hopefully when me and my mate have finished college well be lead programmers. he has the xna and torque game engines. but if you have any pieces of code for me to have a butchers at i will be very happy:D

    would just like to see a sample code for water effects etc etc

  • I would be very glad to share the code, but I don't have it anymore. I had a crash on my computer a few months ago, and I thought I had made a backup, but I didn't. This is the second time that I loose some xna code because of crashing windows. :(

  • ahhh gutted mate, nice one anyway! ill have a dig around the web n see what i can find out.

  • Very nice, Very nice :)

  • Wow.

  • EXELENTE, esta genial, muchas felicidades

  • hlsl?

  • Como faço para baixar um exemplo? (digo baixar e executar) você é Brasileiro não é?

  • Awesome work btw

  • Pra já ainda não baixa, pois a demo do meu jogo ainda não está pronta.

  • Digo um demostração desse video para abrir com o xna. para ver os codigos de shader, se você autorizar claro.

  • Vai ao link que está na descrição do video. O cara fez um component agora que dá pra ser usado com qualquer um. E ainda é melhor do que o meu.

  • Eu usei o do link, mais cara o seu e simplismente perfeito (pelo menos no meu ponto de vista), por favor manda para min? qualquer coisa manda PM! que te passo e-mail e msn.

  • Eu agora não tenho tempo pra procurar o código e fazer funcionar fora do meu jogo, pois isso levaria algum tempo, e dentro de alguns dias estarei casando. De outra maneria, eu mandaria sem problemas. Volta a dar uma olhada lá, que tá melhor do que o meu o código do cara. Ele é bem fera!!!

  • I dont get how XNA works or what you need for that or how you can play the custom games on the xbox360 XD

  • haha, well it is a game making studio. It isn't easy but it is pretty cool. What you do is get art and stuff and then you have to put coding in to make it do what you want. I probably won't be making a 3D game any time soon, but I am going to try to make a 2D one. The game studio is free to download on the xna website, but if you want to upload your finished game you need to have a premium membership which costs about 100 a year.

  • You have no idea what it takes to make something like this, you think its so simple. You are very wrong.

  • I actually don't have any idea what it takes, but I assure you I know it isn't simple. It could be after you learn it though, well simpler anyways. Look in my other post i say, "It isn't easy but it is pretty cool.

  • Well, it is very easy to do. Just a model, some C# code and a hlsl for the water.

  • What about the land? What did you make that in?

  • That is just a skybox ;)

  • What program did you create this in to import into XNA?

  • Well, the water plane is simple a FBX model that can be created with any 3dmodeler software that exports as FBX. The rest is a shader.

  • Also try looking for the PHstudio Videos they will show u alot on the basic of 2D development and great job on the water beautiful...

  • OH MY GOD!

  • My thoughts exactly... AMAZING work!

    I am just starting to learn XNA and was looking around for videos...

  • Whoa! impressive dude. i need 2 ask u question or any1 else that reads this. Is there a gud site 2 learn c#. cos there aint any book ovr here. nd by da way, c# or c++? which shud i learn?(nt sure!)

  • Thanks. Fow working with XNA you have to learn C#. But you don't need to start learning C# first. Buy any book about XNA for begginers, and you start to learn XNA and C# at the same time, and you will be already making some games.

  • oooh perty!

    lol at the random sounds

  • wow, if there would be something similar to XNA but for Playstation...:/

  • That's really nice.

  • this is so ubercool

  • that is cool, I wouldnt know where to start.

  • that's awesome is it just a shader or... how did you accomplish that it is great. keep it up

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more