Submit
C24eb7e6aaefba78b94c831ddc7b4d0b
0
donBerto 101 Feb 05, 2003 at 00:44

COM SUX! the interface is flawed! m$ plays too much with pointers and in turn makes it vulnerable .

@davepermen

microsoft stuff is very well documented

show us!
@DarkLight

DirectX is much more funcitonal that OpenGL

what are you talking about?!? DX sux. sucking does _NOT_ mean it is more functional!

this thread is pumping blood in my veins! i’m starting gain some color - i was wondering why i was so pale…
:lol:

49921baa7439fb1e91e02caf0a925cfe
0
DarkLight 101 Feb 04, 2003 at 23:10

Yes, I understand COM and I love it
But DirectX is harder to learn that OpenGL
There are Great games, made with DirectX of chource
But I prefer OpenGL - open-source, platform independented and with many tutorials existing on the web

DirectX is much more funcitonal that OpenGL - I admit. But I can agree that it is the best api. It is the worst api, but better is not developed.

6ad5f8c742f1e8ec61000e2b0900fc76
0
davepermen 101 Feb 04, 2003 at 22:59

microsoft stuff is very well documented (even opengl, but those docs are very old as never got updated:D)

its the best api by far (understand com and you love it)

what bugs? it runs perfectly stable here, and very save. _and_ there are great debugging tools like a full debug-mode dx wich reports all stuff, great..

49921baa7439fb1e91e02caf0a925cfe
0
DarkLight 101 Feb 04, 2003 at 22:39

My opinion for Direct X:
1. Very poor documented (as all Microsoft technologies)
2. The worst designed Windows API
3. Bugged

In response to OpenGL in Delphi
49921baa7439fb1e91e02caf0a925cfe
0
DarkLight 101 Feb 04, 2003 at 22:31

This site is very helpfull
10x
I found all I need

C24eb7e6aaefba78b94c831ddc7b4d0b
0
donBerto 101 Feb 04, 2003 at 22:21

…doesn’t make it suck less. DX sux. opengl rulez.

hehe but seriously - OpenGL is available freely, while DX is available on a term-basis [when you download the sdk it makes you ‘sign’ an agreement, i don’t remember what it says…]

OpenGL: 2
Direct[su]X: 0

this is getting ugly :D

49921baa7439fb1e91e02caf0a925cfe
0
DarkLight 101 Feb 04, 2003 at 22:09

@void

OGL is available on almost all languages, while DX is not really even available on C++, its only really available on Visual C++ (a microsoft product, who woulda guessed), althought it can be coaxed into running on other compilers, i have heard people saying that getting it to run on say borland C++ is a bitch (althought they might be just lost)…

DirectX is also available on Delphi and Visual Basic… I don’t tried at Delphi (but I have books about using DirectX in Delphi) but I have friends, who are writitng game with DirectX 7 and Visual Basic 6
But I prefer OpenGL

In response to OpenGL in Delphi
Fdbdc4176840d77fe6a8deca457595ab
0
dk 158 Feb 04, 2003 at 22:04

Maybe the following site may help:

http://www.sulaco.co.za/

According to my humble knowledge, it uses pure OpenGL (i.e. immediate mode) and no external library (like GLScene).

Let us know if that helps.
If there is any delphi programmers in this forum, they might be able to help you out.

6ad5f8c742f1e8ec61000e2b0900fc76
0
davepermen 101 Feb 04, 2003 at 18:55

i dont get it. dunno.. have looked at it but i got no clue what it is about..:D

0684f9d33f52fa189aad7ac9e8c87510
0
baldurk 101 Feb 04, 2003 at 18:41

OMG void, that was hilarious!

esp the LPTHISHURTSMYEYESALOT->DoSomething();

oh man, I haven’t laughed like that since I was a little girl, thank you.

In response to Game Theory
C24eb7e6aaefba78b94c831ddc7b4d0b
0
donBerto 101 Feb 04, 2003 at 16:08

thanks to you to dabeav but the above code still placed me in a “gimbal lock”. hehe see how much I learned from quaternions? the code provided a solution, something I was looking for, but I also wanted substance and why it worked.

at any rate i really appreciate everybody’s input.

again, thanks.

In response to Laser Weapon
C24eb7e6aaefba78b94c831ddc7b4d0b
0
donBerto 101 Feb 04, 2003 at 13:00

agreed :yes:

if you want, you can use 2 [or more, maybe just 2] rectangles, have 2 different textures and have some kind of ‘animation’ going on. this will do nicely with yau’s implementation. of course, there are other ways but i would do what yau said.

…just a thought.

6ad5f8c742f1e8ec61000e2b0900fc76
0
davepermen 101 Feb 04, 2003 at 12:31

but not with stupid flamewars.

both are great. if you don’t understand one, then you’re just plain stupid:D

In response to Model Editing
203e4e77a4880ecbd91054865fc5d0b7
0
Phaetos 101 Feb 04, 2003 at 11:40

I have some good experiences using a python export script for blender.
So you can define the format of the model on your own.

Here is an example site: Python Export Script

But the main problem with blender is, that it can not access the bones using the
python api. So animations using bones will still be a problem in the game…
If anybody has a nice hint about this, please tell me :)

In response to Model Editing
D12838c45a4840e6c05bf94d8bb5e135
0
Morgoth 101 Feb 04, 2003 at 11:32

Are there any more “formal” specs about the format of the files produced by, say, Blender or GMAX, or i will have to dig it up??

As for modellers there is also MilkShape but it’s not free (at least not anymore..) However it’s well documented with tutorials, help etc.

In response to Normal Vector of Velocity
D12838c45a4840e6c05bf94d8bb5e135
0
Morgoth 101 Feb 04, 2003 at 11:25

Not sure quite what you mean either, but I’ll try :
If you keep the object’s current position in the form of a 3D vector (x,y,z,) then, you can supply a velocity(speed) vector as well in the same form (speedx,speedy,speedz). So at every frame (or at intrvals) you add the speed vector to the position. Finally you glTranslate your object according to its new position, and there you have it.

D491261d0cdbea6f1f04129ba87f4d09
0
void 101 Feb 04, 2003 at 11:04

Oh yer, im fully aware that this may start a huge flamewar, but hey, we need to liven this board up.

D491261d0cdbea6f1f04129ba87f4d09
0
void 101 Feb 04, 2003 at 11:01

The gauntlet has been thrown down by baldurk…

OpenGL2.0 is much much MUCH MUCH better while DX9.0 sucks some serious heap overflow…
OGL is crossplatform, it doesnt change much every new version, so old programs will compile ok with a new OGL, while the same cant be said for DX.
Imho OGL syntax is better, DX syntax exaple:
LPTHISHURTSMYEYESALOT->DoSomething();
The fact that OGL is only a graphics library, when developing a game you have far better freedom over which libraries you use for other things such as input, audio, etc, while with DX your basically usually stuch with dinput and dsound and whatever.
OGL is available on almost all languages, while DX is not really even available on C++, its only really available on Visual C++ (a microsoft product, who woulda guessed), althought it can be coaxed into running on other compilers, i have heard people saying that getting it to run on say borland C++ is a bitch (althought they might be just lost)…
And lastly, OpenGL has been around a long time, and thus it is stable, it wont ever disappear (fingers crossed), while if say M$ dies (fingers crossed it happens) then its bye bye DX as i doubt that it would continue to live without M$.

Did i mention that OpenGL is better than DX???

…The above views were expressed by Evil Void, he is dead now…

D491261d0cdbea6f1f04129ba87f4d09
0
void 101 Feb 04, 2003 at 10:47

Summer? I guess thats winter for us aussies…

6ad5f8c742f1e8ec61000e2b0900fc76
0
davepermen 101 Feb 04, 2003 at 10:36

gl1.4 is ratified, yes. does not mean by any chance that gl1.4 is everywhere up to use (and somehow people believe that in gl2.0). rathification is this summer, i think..

D491261d0cdbea6f1f04129ba87f4d09
0
void 101 Feb 04, 2003 at 10:34

Actually, i think there will be a time when we will be able to say that GL2.0 is out… I mean, atm we can safely say that GL1.4 is out, right? atm we are at 1.4, soon (hopefully) we will be at gl2.0 (BTW, afaik there wont be anything between 1.4 and 2.0 releases)…
Also, id like to reiterate that loading in models and picture formats is totally out of the question for putting into openGL, its not what it is meant to do, which is draw graphics. Its not meant to do input, sound, even open windows, and lastly, load file formats. And anyway, any decent programmer should be able to write up an image loader in a few hours. Unless its some anally obscure format which uses equally obscure compression.

In response to Laser Weapon
D046712cf3efd2c2d7840c4c51d28669
0
Yau 101 Feb 04, 2003 at 10:04

Well if a laser is a true cylinder then if u were to only see a portion of the cyclinder flashing past ur eyes all u would see is a rectangle?? So u can use billboards to represent a laser but u don’t rotate ur billboard so it always faces the viewers camera.

So if u consider a laser with 2 points, point A where is originates from (probably a gun), point B it’s destination or current position. Then u draw a rectangle with a height equal to the diameter of the laser with one end at point A and the other end at point B. U can rotate the rectangle by the vector AB so that the viewer can see the maximum surface area of the rectangle.

Should the laser fire directly at the viewer then draw a circle using a billboard to create the effect.

If u use billboard u can create the 3D effects if u have really cool textures.

opps…. I said the hieght of rectangle should be the radius of the laser beam, in fact it should be the diameter.

In response to Normal Vector of Velocity
D046712cf3efd2c2d7840c4c51d28669
0
Yau 101 Feb 04, 2003 at 09:47

I’m not sure what u r talking about.. But do u want to be able to translate ur object from it’s current position to a new position based on it’s current rotation and speed???

In response to Laser Weapon
Fdbdc4176840d77fe6a8deca457595ab
0
dk 158 Feb 04, 2003 at 04:46

spherical billboarding won’t work. However, you can use cylindrical billboarding.

In response to Laser Weapon
D046712cf3efd2c2d7840c4c51d28669
0
Yau 101 Feb 04, 2003 at 04:42

Just wondering.. why won’t billboarding work?? I think lots of games use billboarding to do their lasers.

Welcome to DevMaster, a community-driven game development website of posts and resources!

Recent Tags

indie × 5
game-development × 5
ios × 3
android × 3
algorithm × 1
effects × 1
physics × 1
iphone × 1
c# × 1
mobile × 1
physics-engines × 1
native × 1
macos × 1
sound × 1
music × 1
networking × 1
testing × 1
multiplayer × 1
design-patterns × 1
game-programming × 1
3d-engine × 1
shaders × 1
cross-platform × 1
gaming × 1
game-industry × 1