PDA

View Full Version : transform terrain



orendavd
11-25-2007, 01:35 PM
hi there,
we Developed our car using Ageia API, now we need to drive it over a OpenFlight terrain using our own OpenGL rendering system. our question is how to convert the openflight terrain to heightfield so the Ageai can understand the terrain....

10x

knackered
11-25-2007, 03:14 PM
I know for a fact that the open flight file format is well documented on the internet. Now you know that, you can use google.

orendavd
11-26-2007, 12:01 AM
all I need is the geometry of the terrain, no texture etc...

k_szczech
11-26-2007, 04:42 AM
> all I need is the geometry of the terrain, no texture etc...

So read the documentation and find out how to read geometry. Skip these parts of documentation that talk about textures etc...

Do you expect us to read the documentation for you? That doesn't make much sense. First - someone else would be doing your work for you this way, second - you would receive second-hand information this way, while you can get first-hand information right from documentation.

And you can also google for some sample applications that do what you want.

Dark Photon
11-26-2007, 08:40 AM
we Developed our car using Ageia API, now we need to drive it over a OpenFlight terrain using our own OpenGL rendering system. our question is how to convert the openflight terrain to heightfield so the Ageai can understand the terrain....
This isn't an OpenGL question. This is a data conversion question.

Grab OpenSceneGraph (http://www.openscenegraph.org), PolyTrans (http://www.okino.com/conv/conv.htm), or ..., and do whatever you have to do.

orendavd
11-26-2007, 11:37 AM
take it easy guys,
I'm just try to save time and maybe one of you did something like it and can point to a lead or some links, that's all.

Jackis
11-26-2007, 12:56 PM
I think, nobody likes when someone is trying to save his time by the cost of another man's time.
Sorry for offtopic.

knackered
11-26-2007, 01:43 PM
save time? is your internet connection so slow that it's quicker to post on a forum and wait for an answer, rather than just typing open flight file format into google?
I think it's more to do with being someone who's bullsh*tted their way into a job they're not qualified for. I see it all the time, and it disgusts me.

pudman
11-26-2007, 02:47 PM
I'd counter that with "It never hurts to ask."

At work I often help out the junior programmers and would much prefer they ask something rather than do it incorrectly or not get it done because they don't know where to start.

Sorry orendavd, you're question is indeed not OpenGL related. End of topic.

knackered
11-26-2007, 03:05 PM
Not the same thing at all. If a junior programmer made no effort to get himself started before asking, I'd sack him.

Jackis
11-27-2007, 05:13 AM
5 minutes search:

http://www.multigen-paradigm.com/support/dc_standards.shtml
http://www.okino.com/conv/exp_flt.htm

pudman
11-27-2007, 10:35 AM
Not the same thing at all. If a junior programmer made no effort to get himself started before asking, I'd sack him.

Agreed... However I would weigh the amount of time he wasted before asking to determine his laziness. Did he ask the moment the assignment was given to him? Or did he wait a week? This forum does not allow us to explore whether the op also happened to Google his problem (but it seems likely that he didn't). Casting your net wide can increase your catch. Yay metaphors!

I enjoy playing devil's advocate. Luckily I have no vestment in the op's employment. Fire the bastard.

knackered
11-27-2007, 12:52 PM
:D

knackered
11-27-2007, 12:57 PM
5 minutes search:

http://www.multigen-paradigm.com/support/dc_standards.shtml
http://www.okino.com/conv/exp_flt.htm
5 minutes? tell me you have to type using a mouth paddle.

Jackis
11-28-2007, 03:26 AM
Bad mood, knackered? Climax or just impotence?

Brolingstanz
11-28-2007, 03:56 AM
Probably just a bad case of **** warts :-)

This thread could use a healthy dose of brotherly love!

P.S. I nominate Jackis' avatar for funniest image of the year L O L.