Search:

Type: Posts; User: Shingetsu Kurai

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    4,396

    And here we go... After more extensive searching...

    And here we go... After more extensive searching I found the problem. I use spritebatch to draw in GUI (for now debug coords and angle values)
    It turns DepthBuffer off. And DepthBuffer is the part...
  2. Replies
    9
    Views
    4,396

    Done both, simply add a field to Triangle with...

    Done both, simply add a field to Triangle<T> with a float value containing the distance, this way I don't have to calculate it in IsTriangleVisible and during the sorting -> it's calced during...
  3. Replies
    9
    Views
    4,396

    This is the code for IsTriangleVisible: ...

    This is the code for IsTriangleVisible:

    private static bool IsTriangleVisible(Triangle<Vertex> check, SharpCamera camera = null)
    {
    if (camera != null)
    Camera...
  4. Replies
    9
    Views
    4,396

    Thanks both of you. Now my answer. 1. Nope, XNA...

    Thanks both of you. Now my answer.
    1. Nope, XNA only passes the vertices and indices to the shader, and IDK how to make HLSL calculate obscurity yet (I don't think it can since it processes one...
  5. Replies
    9
    Views
    4,396

    Optimization of an algorithm

    Hello all, as a mod hinted me, the Game Programming forum is mainly for C/C++, so I'll post here from now on.
    I'm making a game library in C#.NET for XNA, and I've encountered the problem that in...
  6. Replies
    10
    Views
    1,839

    C is mainly for OS these days, game programming...

    C is mainly for OS these days, game programming is usually done with C++ or C# (C# mainly for XNA efficiency, so mainly C++).
    I never heard of game programming done with C, so I suggest you try...
  7. Replies
    2
    Views
    4,202

    XNa C# visibility priority

    Hello again all!
    Right now I'm making a library for XNA on C#.NET (if I ever finish it it will be made accessible, I got boss camera class which is worth it alone :D). And I ran into this problem......
  8. C# Having a class have a default return value

    Hey all.
    I'm wondering if it's possible to have a class return a field of it's by default when it's used on the right hand side.

    for example:


    namespace NAME_SPACE
    {
    class MyClass
    {
  9. Replies
    1
    Views
    4,270

    Ok all, I managed to find the answer myself!...

    Ok all, I managed to find the answer myself!
    Seems that quaternion multiplications work differently then Matrix ones. So I did the combining in matrices then retransformed it. Here is the final...
  10. Replies
    1
    Views
    4,270

    XNA quanternion multiple axis

    Hey all, I'm working on a static camera class (for my own use, if I ever complete it and have it working ill post here) in XNA.

    I made a working version using absolute vextors being rotated by...
  11. Replies
    11
    Views
    4,265

    Thanks all. For docs it actually isn't messy, but...

    Thanks all. For docs it actually isn't messy, but I see your point on that. I'll probably use the Eclipse team sync and get organized XD.
  12. Replies
    11
    Views
    4,265

    IDE team tool

    Hey all. Right now I got to a point where I start doing things in team XD, lotsa work. (in fact made a group in which the team is etc...) so my question is, is there an IDE that allows people to work...
  13. Replies
    3
    Views
    6,546

    Hum, thanks. What I was thinking of was to make...

    Hum, thanks. What I was thinking of was to make the page Javascript and save it in the directory of the program...
    (and name it something else)... then use JavaScript to write to a file in the same...
  14. Replies
    12
    Views
    1,560

    Just a note about the "clear a screen". On...

    Just a note about the "clear a screen".
    On windows, this can be easily done:


    #define NOCOMM //this makes sure you don't load all the fat from the next header
    #include <windows.h>//contains the...
  15. It would be more worthwhile to check if it's an...

    It would be more worthwhile to check if it's an operator, and if not, assume it's a number.


    //I'll assume you have a vector<string> named origin that contians all your strings.
    for(int i=0;...
  16. Replies
    4
    Views
    1,205

    The rules are as follows type variable =...

    The rules are as follows

    type variable = condition ? a : b
    a will return if the condition returns true
    b will return if it is false

    example:


    int never_true = 5>6 ? 999 : 10;
  17. Replies
    2
    Views
    1,999

    Thanks! Adding a before the star fixed it. ...

    Thanks! Adding a <T> before the star fixed it.

    Now to give you a +1...
  18. Replies
    2
    Views
    1,999

    C++ pointer to class problem

    Hey all.
    Right now I'm working on algorithms, and so I wanted to make my own Linked List class (I do realize I'm reinventing the wheel, doesn't make it less fun :P).

    I've also started using...
  19. Replies
    3
    Views
    6,546

    WebKit in C#.NET with configs

    Hello all!
    I'm in the process of making my own browser (for education's purpose, as well as using it for myself later on).

    I'm using C#.NET (with VS2010), mostly cause I'm lazy to do all the GUI...
  20. Replies
    6
    Views
    5,061

    Ah, seem to have missed that when looking for C#...

    Ah, seem to have missed that when looking for C# resources! Thanks for the link. (I've been missing the learncpp.com style tutorials XD)
  21. Replies
    6
    Views
    5,061

    thanks. so I just use \... That will work on an...

    thanks. so I just use \...
    That will work on an ftp server as well. Correct?
  22. Replies
    6
    Views
    5,061

    File path specifications

    Ok hi all.
    I'm still working on that launcher/patcher, and I need a bit of heads up in a few formatting things.

    So the question is: between web and local paths... Does using '/' or '\\' matter?
    ...
  23. Replies
    4
    Views
    5,102

    So far, I've thought of something similar to the...

    So far, I've thought of something similar to the #2 Cat described:

    Have a resource.up file, that contains on each line a string in the format of

    file_path|file_version
    and another one that is...
  24. Replies
    9
    Views
    1,431

    You can always have the car as an attribute. I'll...

    You can always have the car as an attribute. I'll make an example with cars.

    class Car
    {
    /*put either public attributes and only have mechanic touch them, or make them private and make Mechanic...
  25. Replies
    4
    Views
    5,102

    C# manual updates

    Ok, after thoroughly looking in VC#.NET update features, I decided to make it somewhat different:

    -The way I want this to work
    -What I know of this already
    -What I need to know

    The way i want...
Results 1 to 25 of 62
Page 1 of 3 1 2 3