Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: UnDelphiX Questions...

  1. #1

    UnDelphiX Questions...

    Hello people!

    Two questions:
    Does anybody know when there will be released a new UnDelphiX for DirectX 9?

    Does anybody know a page with some tutorials for UnDelphiX?
    I don't understand the code in the "rotate a cube" example...

    Thanks!

  2. #2

    UnDelphiX Questions...

    I don't understand the code in the "rotate a cube" example...
    is easy.first the setOrientation(refFrame,dir.xyz,up.xyz)

    this is how to orientate the frame with related to the refFrame(DXdraw.sceneDXDraw.camera, nil is most used)

    set the dir.xyz to point the front of the object, Up.xyz is the top of the object.
    the dir and up coordinates is ALWAYS 1/2pi rad rotated. (when you insert wrong coordinates the up.xyz are changed)

    OK the SetOrientation is Clear now?

    now the SetRotation..
    SetRotation(refFrame,x,y,z,alpha)
    x,y,z are the axes where the Frame is rotated on.
    the refFrame is the same story as the SetOrientation.

    is there more you want to know.?

    ps. sorry for my bad englisch.

    gr. jeroen de jong.

  3. #3
    Legendary Member cairnswm's Avatar
    Join Date
    Nov 2002
    Location
    Randburg, South Africa
    Posts
    1,537

    UnDelphiX Questions...

    There would be no point in upgrading DelphiX or UnDelphiX to DirectX 9 as it would still be using the 2D based DirectDraw that has not changed since DirectX 7.

    If you want to make use of the performance enhancements of DirectX 9 switch to one of the other component libraries that does 2D support using the 3D functionality of DirectX.
    William Cairns
    My Games: http://www.cairnsgames.co.za (Currently very inactive)
    MyOnline Games: http://TheGameDeveloper.co.za (Currently very inactive)

  4. #4

    UnDelphiX Questions...

    ok thanks I do not understand that. Here is another problem in the
    'SelectDriver' Example:

    This Example seems to be able to load X-Files.
    Well I can load untextured X-Files with that, but how
    can I load textured ones? I have one and when I try to load
    this theres only blackscreen so could someone please
    help me with this code? What do I have to add?

    Thank you!
    P.S. My English isn't so good as well as I am from Germany...

  5. #5

    UnDelphiX Questions...

    Here's an explanation in German:
    DelphiX ist eine veraltete Komponentensammlung die fA¼r DirectX 5.0 entwickelt und seither nicht mehr aktualisiert wurde. UnDelphiX ist eine verA¤nderte Version von DelphiX die auf die standard JEDI Header aufbaut. Obwohl die JEDI Header inzwischen DirectX 9.0 unterstA¼tzen heiAYt das noch lange nicht, dass wenn UnDelphiX nun die DirectX 9.0 Header verwenden wA¼rde, es auch automatisch von den Funktionen von DirectX 9.0 profitieren wA¼rde. Dazu mA¼sste man es von Grundauf neu aufbauen und das ist wohl etwas zu viel Arbeit, insbesondere weil es inzwischen neue Komponentensammlungen gibt, die auf dem Stand der Zeit sind...
    Ask me about the xcess game development kit

  6. #6

    UnDelphiX Questions...

    how
    can I load textured ones?
    the example has to work also with textues, try to turn on the z-buffer, in DXDraw component.

    [/code]

  7. #7

    UnDelphiX Questions...

    Hmm thats strange.
    If I want to open one file with a texture, there is nothing to see on the screen (also not if I turn on zbuffer).
    There also seems to be a different in the x-file (version)s. Some an clearly in text others seem to be binary coded!?

    I use milkshape 3d to export the x-files, anybody knows another prog?

    Thanks

  8. #8

    UnDelphiX Questions...

    the file doesn't save the texture bmp. for showing the texture, place the bmp in the correct map.

    binairy files -vs- text files. doesn't matter.

    have you checked the position of the object, and position/orientation of the camera.


  9. #9

    UnDelphiX Questions...

    Heres something interesting:
    Some objects I exprot to the x-format are transparent, some not. I turned on z-buffer... Whats happening?

  10. #10

    UnDelphiX Questions...

    what do you want? transparent on not?.

    you use milkshape? well, turn the Transparency Slider under the emissive(materials) left for more Transparency, right for less.

    for self constructing in delphiX use for
    no Transparency
    .SetColor(D3DRGB( R,G, B));

    Transparency
    .SetColor(D3DRGBA( R,G, B,TransperenceIndex));
    TransperenceIndex=0 ; //no Transparency,
    TransperenceIndex=1 ; // full Transparency, can't see it.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •