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!
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!
is easy.first the setOrientation(refFrame,dir.xyz,up.xyz)I don't understand the code in the "rotate a cube" example...
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.
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)
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...
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
the example has to work also with textues, try to turn on the z-buffer, in DXDraw component.how
can I load textured ones?
[/code]
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
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.
Heres something interesting:
Some objects I exprot to the x-format are transparent, some not. I turned on z-buffer... Whats happening?
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.
Bookmarks