Submit
6918a68d53df45967550c706fa7609ea
0
PixelDuck 101 Feb 13, 2003 at 18:44

I too have an R9700Pro and I think that it was worth the money spent.

6918a68d53df45967550c706fa7609ea
0
PixelDuck 101 Feb 13, 2003 at 17:53

As I said: “But the thing is that many people want their product ready fast (the industry at large tends to like that)…” :) Really, it is good that things like that excist and that it gives a painless landing for people that are interrested in the field, but don’t have the patience or will to learn the low-level. _But_, are we really in such a need of graphics programmers (in the consumer market), that we actually need to do stuff like this? I wrote my first OGL app with glut but directly after that moved to my own base code. I don’t know, it’s just my opinnion, but it just makes me think if we’re taking graphics programming to the level where you just produce game engines like you produce car engines on a production line.

Cheers!

590e8bdac8129bd87b188df15e62d0e5
0
CyraX 101 Feb 13, 2003 at 13:30

Radeon Pro 9900 as of nw is just a hype. Its supposed to “crush” GeForce FX (whever it comes out as a commercial prod.) I know of serious probs with GeForce FX. nVidia for the first time, is in second place.
All the word that’s floating around is - its the neXt best thing… when is not something anyone would answer

590e8bdac8129bd87b188df15e62d0e5
0
CyraX 101 Feb 13, 2003 at 13:22

I think the DX SDK itself comes with pretty neat tutorials.
Before developing DX stuff you have to be used to Win32 implies you know enuf anyways.
Ok btw - http://nexe.gamedev.net
Its a good place to start (based on the popular nehe.gamedev.net)

In response to Java or C#?
590e8bdac8129bd87b188df15e62d0e5
0
CyraX 101 Feb 13, 2003 at 13:14

C# was implemented so that Visual Studio .NET would make sense **giggle**.
A far as better interfaces are concerned… hmm lets see, dont we have anything called C++ and COM already?
Well the real reason for C# to come out was that it could incorporate modules from EVERY language that exists for Windoze. That is the reason. In JAVA there is a problem with using C++ modules. They have to be implemented in a particular form.
Dont you remmeber the story of the Big Blue doing the same? They would sell a computer(sorry Mainframe) to corporates and give the Fortran language along. Else you get none.
Every OS has a fav. Language. it was C++ earlier. Now its become C#
However there is nothing new in C#. < Pun intended >
Replace “JAVA” with C#
Replace “SUN” with Microsoft <whatever font they use>.
However as a language and grammar fan, I do say that C# makes things pretty good. Think about the flexibility with arrays and pointers.
The basic structure (grammar) of the two languages is the same. Differences are in the data types and the compilers.

In response to Good OGL books
2562953b4e8e2602a8bfc24b1123a341
0
EvilSmile 101 Feb 12, 2003 at 10:39

GT should be good too :)

In response to Java or C#?
6ad5f8c742f1e8ec61000e2b0900fc76
0
davepermen 101 Feb 12, 2003 at 08:37

c#, as language, is bether than java, imho. and it provides right from the start good performance, and very good bindings to .. everything else:D (com, interfaces, dx9, gl ports are there as well, etc..)

.NET as platform is World Domination, but its rather cool nontheless.

at least its microsoft behind it, and they want it. so it will get good support, and big and strong and powerful. unlike sun, who had major problems for a long time with java, making it very “low-loved” by pc’s.. :D

6ad5f8c742f1e8ec61000e2b0900fc76
0
davepermen 101 Feb 12, 2003 at 08:25

hm yeah actually you need to know how to program stuff.. then using an api (part of “how do i program stuff”) is easy once you got access to the docu.. and.. the docu is great:D

In response to point to a polygon
2177c9af4b18b1ae139453645cbb09e5
0
dabeav 101 Feb 12, 2003 at 02:44

This might be a start, you must first find the distance to the plane containing the poly. Like so.

//NOTE:
/*
both the vectorstruct and the pointstruct are float X,Y,Z; values, to make things simplier
N1is the polys normal
POP is ANY point on that plane, AKA one of the 3 verts of the triangle poly
P1, is the point checking the distance from
*/

float PointPlaneDistance(VectorStruct N1, PointStruct POP, PointStruct P1)
{
float Distance;

Distance = ((N1.X*P1.X + N1.Y*P1.Y + N1.Z*P1.Z + (-N1.X*POP.X - N1.Y*POP.Y - N1.Z*POP.Z)));

return Distance;
}

That will return the distance to the plane (if negative you are behind the plane)
If you need to find the distance to a poly, that is not a perpendicular plane line, you would have to find the distance to each of the lines, and see which is closest, why? Because if you arent closest to the face (Plane distance) then you have to be off to the side of one of the lines, thus the perpendicular to one of those lines is the closest point. Got it?

//This returns the closest point on the line (which of the lines of the triangle you pass) along with the
// distance in a pass by value.
NOTE:
/*
SP1 is segment end point one, sp2 is segment end point 2, p1 is the point checking from, and distance is self explanitory
POI is point of impact, or the closest point on the line
Build vector simply creates a NON normalized vector
dot vector, is self explanitory
Step point along vector does exactly what it says, it moves the point along the vector passes, along with the distance passed, and returns the new point.
*/

PointStruct ClosestLineSegmentPoint(PointStruct SP1, PointStruct SP2, PointStruct P1, float& Distance)
{
//This directly returns a point, and also pass by returns the distance.
VectorStruct Vec[4];
PointStruct POI;
float c1, c2, c3;

Vec[0] = BuildVector(SP2, SP1);
Vec[1] = BuildVector(P1, SP1);
Vec[2] = BuildVector(P1, SP2);

//Dot product of the first 2 vectors
c1 = DotVectors(Vec[0], Vec[1]);

if(c1<=0)
{
Distance = sqrt(DotVectors(Vec[1], Vec[1]));
POI = SP1;
}

else
{
//Dot product of the next 2 vectors
c2 = DotVectors(Vec[0], Vec[0]);

if(c2<=c1)
{
Distance = sqrt(DotVectors(Vec[2], Vec[2]));
POI = SP2;
}

else
{
c3 = c1/c2;

//Holding variable of new point
POI = StepPointAlongVector(SP1, Vec[0], c3);
Vec[3] = BuildVector(P1, POI);

Distance = DotVectors(Vec[3], Vec[3]);
}
}

return POI;
}

Hope this helps, sorry for the quick post, but off to more coding.

C24eb7e6aaefba78b94c831ddc7b4d0b
0
donBerto 101 Feb 12, 2003 at 02:40

[in no way am I trying to shoot your harmony jam session (your view ;7 ) down in any way but it’s hard to ask this question without coming off as offensive. please bear with me]

can I ask you to elaborate on why or where in SDL you have a problem? I don’t mean problem - lack of a better phrase.

I’m curious and I’d like to see your point of view. I made an engine [still in development] and it uses SDL for windowing and input. I made a middle/manager class that controls window placement and behavior, and the input via SDL. granted, I sort of ‘embraced’ SDL and now, I’d like a difference in opinion. maybe there is something that some of us failed to see.

thanks.

In response to Game Theory
2177c9af4b18b1ae139453645cbb09e5
0
dabeav 101 Feb 12, 2003 at 02:32

I dont believe that above code snippet will ever create a Gimble lock. Because it uses a temp variable so that the rotation of one axis dosnt over ride the other axis, upon compleation. Thus things dont go negative. I have yet to have any problems with it any ways, if someone could come up with an instance that the above code dosnt work, let me know. I will have to run some calcs to figure that out, and see if it is possible with that code.

2177c9af4b18b1ae139453645cbb09e5
0
dabeav 101 Feb 12, 2003 at 02:28

I also agree that GLUT is getting a little out dated, BUT I still use it. WHY? Because i said so, just kidding, actualy its because I find it much easier to work with than SDL, SDL seems to be a little over bearing with the CONTROL of the flow of code. Now probly the BIGGEST bitch people have with GLUT is SLOW input, I simply set a BOOL value (table) When the key is pressed, and check that value each time, so input is not a concern of mine. The other major problem is the glutSwapBuffers, which indeed is a bit slow, but all in all it works nicely. I think SDL has promise, but I dont think I will use it, because like I said, it tends to have a control issue, that and its not as easy of a syntax.

In response to Java or C#?
Aebe30cac3048af2b72eaf832b698755
0
Amithran 101 Feb 12, 2003 at 00:20

Well, originaly microsoft was contracted with sun to use there java VM. However, microsoft desided to go and create there own java. (Which went against the contract, consiquently causing sun to sue MS.) The latest court decision I believe may now force microsoft to follow through and have the sun java vm included in windows release.

But basicly, C# is a JAVA clone.

In response to hehe
C3a48a7695dbcb38ffdbf53895da071c
0
OXWave 101 Feb 12, 2003 at 00:13

I am! :huh:

In response to DirectSound issues
C3a48a7695dbcb38ffdbf53895da071c
0
OXWave 101 Feb 12, 2003 at 00:12

Sad to found out that there is no information related to audio software development.

Is there any game developpers wants to share knowledge?

:blink:

In response to Java or C#?
C24eb7e6aaefba78b94c831ddc7b4d0b
0
donBerto 101 Feb 11, 2003 at 21:43

interesting point. if it’s not obvious from the general thread of this forum, I’m a bit anti-m$

but with all things considered, I agree with you. I find nothing new with c# that java doesn’t already do. maybe it’s just so that m$ can have a product against sun’s popular java. or maybe there’s something more in the fine print that you and I have missed. anyway, I’d like to ask if anyone here thinks that anybody can write 10 pages about the difference in c# and java. I have to write a scientific argumentative research paper for my technical writing class [for my related field, which is CS] and if you guys think you can write 10 pages on the _SCIENCE_ aspect of it, then I would gladly write about the topic and share with you folks.

-thanks

C24eb7e6aaefba78b94c831ddc7b4d0b
0
donBerto 101 Feb 11, 2003 at 21:37

and to add with what baldurk said, most of the gaming industry seeks to release a game [or whatever] quickly - for either quicker profits and/or patent of a certain feature. although, I’ve never heard of anybody patenting a certain feature. for example, I had an idea for a first-person shooter to be able to use multiple guns and have multiple lock-on’s and with the release of lucasarts’ bounty hunter, I’m afraid to even release it. I guess I could claim prior art, unless they truly implemented the idea a while back… but I’m getting off topic.

but yeah, I imagine that to some people the sooner they make a release, the sooner they can make a name for themselves and will use already-made tools if it serves them in their best interest. I guess it’s more of a personal/’ethical’ opinion.

-regards

In response to GLExcess
C24eb7e6aaefba78b94c831ddc7b4d0b
0
donBerto 101 Feb 11, 2003 at 21:30

oh yes it is.

eye + ear candy with a hint of elegance…

GLExcess would be a reason for me to return to win32.

…syke :lol:

In response to Java or C#?
0684f9d33f52fa189aad7ac9e8c87510
0
baldurk 101 Feb 11, 2003 at 19:55

*cough*worlddomination*cough*

flamebait aside, I really don’t know.

In response to GLExcess
0684f9d33f52fa189aad7ac9e8c87510
0
baldurk 101 Feb 11, 2003 at 19:44

if he does, let me know. That’s simply THE best demo I’ve ever seen. Bar none

In response to Troubles with Portals...
6918a68d53df45967550c706fa7609ea
0
PixelDuck 101 Feb 11, 2003 at 18:34

I would recommend not to use a box, just a rectangle placed in the “middle” of the AABB. You could then use the edge vertices of the quad to build a caped pyramid from these vertices (the new view frustum). Just compute the plane of the view point and each adjacent quad vertex and use this for the next oclusion test. Of course you might want to do something like test if the plane area of the quad restricted by the quad vertices intersects the previous frustum in the recursion to determen if the portal is even visible, so that you won’t process too many portals.

Btw. I haven’t made a portal engine yet, so this is just a pure hypothesis, but I hope that might help (or actually work) :rolleyes:

Cheers

0684f9d33f52fa189aad7ac9e8c87510
0
baldurk 101 Feb 11, 2003 at 18:21

lots of people are impatient and want to get going soon. Most now do not want to learn low-level stuff.

Aebe30cac3048af2b72eaf832b698755
0
Amithran 101 Feb 11, 2003 at 17:01

@apex

Have you tried the D3DXCreateTextureFromFileEx function with the color key?

Unfortunatly that damn call takes like 14 parameters. The quick and easy way to do it, is to use D3DXCreateTextureFromFile(). What you need to do though, is open your image editor and MASK the areas you want transparent, then invert the selection (effectivly MASK’ing what you want visible) go to the chanels panel (or how ever your editor manages channels) and make sure that masked is saved as Alpha mask. Save the file as something.tga . Targa files save the mask..

The sprite should now be transparent except for what is masked.

6918a68d53df45967550c706fa7609ea
0
PixelDuck 101 Feb 11, 2003 at 16:54

Hmm… I find the idea of a gaming package quite un prof. :blink: But the thing is that many people want their product ready fast (the industry at large tends to like that :P) and I generally have nothing against it, but I find it quite daunting that the comming generation of graphics programmers (system programmers in general) won’t really know the low-level stuff and will lack the skill to go down into the dirt to fix something they find poorly implemented, if they even notice it… I my self am quite worried, that I’ve never writen a rasterizer my self, I’m sure I would be able to do, but it still bugs me that I actually started at too high a level :unsure: Still I think that I’m at a very much lower level (or higher to be exact :P) than many of the people that would use these kind of packages (like glut) would be. I’m not totally sure about the stuff in the package beeing advertised, but I think that even DX9 without any such tools is too much filled with tools. I know I don’t have to use them, and for the most part I do leave the extensions out of my code, but it still bugs me :D

Just my honest opinnion B)

Cheers!

930dbb67da062c73043a67551feecb2e
0
Arthur_Dent 101 Feb 11, 2003 at 15:37

opengl.org

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