Search:

Type: Posts; User: M109uk

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    9
    Views
    619

    C++ function to Pascal problem...

    Thanks for the replys,

    Im aware that it means not, however i have no idea how to use it in this circumstance, since not returns a bool and not a pointer, which is what the glvertex3fv wants.
    ...
  2. Replies
    9
    Views
    619

    C++ function to Pascal problem...

    Hello again,

    i have another c++ line that i dont really get...



    glVertex3fv(!(Cloud->Center + (Cloud->vx + Cloud->vy) * -Cloud->Radius));


    What is with the '!' im learning some c++ as i...
  3. Replies
    24
    Views
    2,543

    Genesis Device First Release

    Hmmm maybe the stall was just my system playing up, it does'nt seem to happen anymore... :?:
  4. Replies
    9
    Views
    619

    C++ function to Pascal problem...

    Doh!!!

    Nevermind me.... it figures i would find the answer after a made a post :)


    function carmack_func(x: Single): Single;
    var
    XHalf: Single;
    i: Integer Absolute x;
    X2: Single...
  5. Replies
    9
    Views
    619

    C++ function to Pascal problem...

    Hi,

    Im having a problem with a function converted for me by another member, it seems to create a value out of range.

    the delphi conversion is:

    function carmack_func(const x: Single): Single;...
  6. Replies
    23
    Views
    2,447

    Volumetric Clouds

    Ok many thanks anyway :)

    i think i shall start from the beginning and try converting it without GLScene for now.

    I shall post the demo if im successfull :)

    Thanks again
    Nic
  7. Replies
    23
    Views
    2,447

    Volumetric Clouds

    Im completly stumped now,

    If it helps, i have updated the ZIP file (as mentioned before).

    Many thanks
    Nic
  8. Replies
    23
    Views
    2,447

    Volumetric Clouds

    Robert Kosek:
    The procedure expects a pointer type.
    I shall try your suggestion. Thanks.

    User137:
    Well im not really any good with c/c++ and my only experiance with it was a simple hellow world...
  9. Replies
    24
    Views
    2,543

    Genesis Device First Release

    It looks great :D

    Maybe a little bug, i was listening to the Blimm explanation, then went to start listening to the sky explantion and none of the keys would work (movement, esc, etc) but mouse...
  10. Replies
    23
    Views
    2,447

    Volumetric Clouds

    I tryed that and got an invalid typcast error, would this work:


    glVertexPointer(3, GL_FLOAT, 0, @Cloud.vBuffer^[0]);
    glColorPointer(4, GL_FLOAT, 0, @Cloud.cBuffer^[0]);
    glTexCoordPointer(2,...
  11. Replies
    23
    Views
    2,447

    Volumetric Clouds

    Great thanks :)

    seems to work, now i seem to be having problems again with the following section, it loops through a few times and then an access violation:


    glVertexPointer(3, GL_FLOAT, 0,...
  12. Replies
    23
    Views
    2,447

    Volumetric Clouds

    User137:
    Thanks for the idea,
    i gave it a try, and it just kept coming back with an invalid typcast error.

    Robert Kosek:
    Thanks again,
    I had to make a small adjustment (otherwise i kept...
  13. Replies
    23
    Views
    2,447

    Volumetric Clouds

    Thanks for that, i always woundered what the difference between the two was :)
  14. Replies
    23
    Views
    2,447

    Volumetric Clouds

    Ah sorry, i forgot to post that bit :oops:

    type
    PVector2f = ^TVector2f;
    PVector3f = ^TVector3f;
    PVector4f = ^TVector4f;

    TVolumetricCloud = Class
    //
    vBuffer: PVector3f;
  15. Replies
    23
    Views
    2,447

    Volumetric Clouds

    Hi again,

    I have changed the code to use pointers instead, however i am getting an access violation error when i add data to the pointer (around the 20th item to be added)

    am i doing something...
  16. Replies
    23
    Views
    2,447

    Volumetric Clouds

    Great thanks for the quick reply :D

    I have inserted your carmack_func, there where 2 problems, delphi didn't like the inline; nor the int(X), but removing the inline; and changing int(x) to...
  17. Replies
    23
    Views
    2,447

    Volumetric Clouds

    Hi,

    Im still trying to find out why my version is a lot slower than the C++ version, although i have a few ideas of my own to speed it up. but for now i wish to confirm that my C++ conversion is...
  18. Replies
    23
    Views
    2,447

    Volumetric Clouds

    Wow, sharp eye... that seemed to have solved the access violation errors :)

    Now the only problem is that the speed is, urm well none existant..

    Many thanks
  19. Replies
    23
    Views
    2,447

    Volumetric Clouds

    Hi all,

    I found a C++ OpenGL example of Volumetric Clouds a while back, and found it on my HDD while cleaning up.. so i am trying to make a GLScene port of it... now my C++ skills are urm some...
  20. Replies
    5
    Views
    560

    Large executable size

    Thanks for the replys :)
    the size does'nt really bother me as such, i was just woundering if i was doing something wrong lol

    although im not too sure about using any compression tools. but how...
  21. Replies
    5
    Views
    560

    Large executable size

    Hi again,

    I was just woundering if the large filesize of the application is normal, my exe is around 9.86mb when compiled with lazarus, but only 1.42mb with delphi.. is there a way that i can make...
  22. Replies
    5
    Views
    733

    Frustrating problems

    Great thanks for the help,
    everything mostly seems to be working :)

    the only problem is the several internal errors.. is there any way to find out exactly what the errors are?

    thanks
  23. Replies
    5
    Views
    733

    Frustrating problems

    Thanks for the reply :)

    Yeah, i have noticed there are a few things that i still have to get used to, such as not having global environment paths and such :)

    I have managed to solve the problem...
  24. Replies
    5
    Views
    733

    Frustrating problems

    Hi,

    I thought i would give lazarus a go since i would like to have a cross platform engine, how ever im hitting nothing except problems with it, and im just woundering if its common problems with...
  25. Replies
    12
    Views
    974

    Lua Scripting...

    thats great thanks :)
    it works great now.. it was'nt to do with my function because i checked it and it was returning an object, but it just was'nt returning the object. but all is working great now...
Results 1 to 25 of 322
Page 1 of 13 1 2 3 4
http://flippulseimages.com/Photos/refrigerator-gasket.html