Search:

Type: Posts; User: lobo

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,356

    Take a look here, it migh help you a bit.. ...

    Take a look here, it migh help you a bit..

    http://www.nist.gov/dads/HTML/stringMatching.html

    Simple extension of provided algorithm will solve your problem in additional O(n*n), but i'm pretty...
  2. Thread: Little quiz

    by lobo
    Replies
    6
    Views
    1,339

    Yep, quite correct, but from geographical...

    Yep, quite correct, but from geographical pov...okay, quiz over, it's Corsica island :o)
  3. Thread: Little quiz

    by lobo
    Replies
    6
    Views
    1,339

    Because it's somehow related to my maybe-one-day...

    Because it's somehow related to my maybe-one-day game engine :o)
  4. Thread: Little quiz

    by lobo
    Replies
    6
    Views
    1,339

    No. No lollipop ;)

    No. No lollipop ;)
  5. Thread: Little quiz

    by lobo
    Replies
    6
    Views
    1,339

    Little quiz

    Hey boys and girls!
    first one who guesses (correctly :)!) what's on the image gets... ehh... lollipop?.. ok gets nothing but is certainly good in geography!
  6. Replies
    8
    Views
    2,356

    Nice job, Prelude :)

    Nice job, Prelude :)
  7. Replies
    2
    Views
    1,253

    You could create bit higher-level hierarchy of...

    You could create bit higher-level hierarchy of objects in scene (ships, asteroids, whatever else you want to have there) and use appropiate lists there.. most basic would be using two classes of...
  8. Replies
    2
    Views
    944

    Check your compiler's documentation - there...

    Check your compiler's documentation - there usually is a switch or choice specifying what exactly do you want it to output - executable, lib, dll, whatever, depending on platform and other things.
    ...
  9. Thread: Drawing

    by lobo
    Replies
    5
    Views
    1,799

    hmm, i can send you some "template code" if you...

    hmm, i can send you some "template code" if you want :).. i left SetPixel() and similar functions next day i met them ;)
  10. Replies
    17
    Views
    3,458

    No, so far, i haven't been doing any opts (even...

    No, so far, i haven't been doing any opts (even compiler opts are completely disabled), though some assembly coding might speed the whole thing a bit..

    BTW i already have benchmark built in :D
  11. Thread: Insertion sort

    by lobo
    Replies
    9
    Views
    3,095

    Quite mess in terms, i guess... the sort i meant...

    Quite mess in terms, i guess... the sort i meant is commonly known as heap sort, binarity in it is hidden under binary heap it utilizes.
    Radix sort and counting sort belong to quite different class...
  12. Replies
    17
    Views
    3,458

    Hell, yeah :D . So far, i can do from 5 to 25...

    Hell, yeah :D . So far, i can do from 5 to 25 fps in 160*120 rendering resolution (on PIII@800), depending on complexity of the scene. That shot posted up there was taken in 320*240, with fps...
  13. Replies
    17
    Views
    3,458

    I'm afraid you won't find too many voxel...

    I'm afraid you won't find too many voxel tutorials other than closely related to landscaping, because term 'voxel' is used in context of landscape engines much more often than in any other situation,...
  14. If you want to pass filename to load() function,...

    If you want to pass filename to load() function, you need to pass char *, not just char. So far, you are only passing first char of argv[1]. Use

    void load(int argc, char *filename)

    In your...
  15. Replies
    17
    Views
    3,458

    Well i guess we do quite different things ;) ...

    Well i guess we do quite different things ;)

    But anyway, i'm eager to see more works like these here :)
  16. Replies
    17
    Views
    3,458

    It uses DirectX 8 for displaying purposes,...

    It uses DirectX 8 for displaying purposes, otherwise it is all mine :)
  17. Thread: Insertion sort

    by lobo
    Replies
    9
    Views
    3,095

    I replied to 'binary sort' as an approach, not to...

    I replied to 'binary sort' as an approach, not to tree data structures.
  18. Replies
    17
    Views
    3,458

    No, just small reminder of it :)

    No, just small reminder of it :)
  19. Thread: Insertion sort

    by lobo
    Replies
    9
    Views
    3,095

    If we are chatting about the same method, then...

    If we are chatting about the same method, then you do not need to create anything, just need good old array... that nlogn sentence is fully correct, but it's quite matter of discussion which method...
  20. Replies
    17
    Views
    3,458

    ..another 'voxel' screenshot

    Hey, Athens' over :( ...so at least small reminder of Acropolis :cool:
  21. Thread: Insertion sort

    by lobo
    Replies
    9
    Views
    3,095

    >There's a binary tree sort, but it's not worth...

    >There's a binary tree sort, but it's not worth the effort...
    Well i must disagree, it IS worth the effort if you sort 'bit' more then dozens of items. But there is possibly a cheaper alternative:...
  22. Replies
    9
    Views
    2,101

    Header file declares things - it says compiler...

    Header file declares things - it says compiler that things you use in code (functions, defined names etc.) do exist, that they are defined, somewhere. Then, compiler can say your code is...
  23. Replies
    7
    Views
    2,474

    well, besides other things, you are counting...

    well, besides other things, you are counting words via spaces, so if user enters "standard" sentence with just one space between words and no spaces leading/trailing, you need to count spaces + 1 :)
  24. Thread: Custom Scroll Bar

    by lobo
    Replies
    4
    Views
    1,315

    If you create custom class/windowproc/whatever...

    If you create custom class/windowproc/whatever for scrollbars with features you want it to have, you can work with it the same way as with std. scrollbars and without any overhead work, no ;p?...:)?
  25. Replies
    1
    Views
    1,090

    Use standard depth-first search approach:...

    Use standard depth-first search approach:
    (pseudo)

    dummy_dfs(current)
    if (current->level == 8)
      if (min > count)
       min = count;
       minstruct_id =...
Results 1 to 25 of 73
Page 1 of 3 1 2 3