Join or
3d forums home Resources for 3d artists


You know this file?




3d Forum -> 3D Modeling Forum Previous topic | Next topic
MasterMinder Posted: December 08, 2009   Post subject: You know this file?
CG forums guest





Back to top
Reply
Hi,
I am just trying to mod a game, called Air Traffic Controler 3.
I now hav nearly complete knowledge about the data structure, but there is one kind of files which I dont know.

The ending is *.pvm and it is a kind of 3d model, but I dont know what kind it exactly is. So I need your help.

Code:

Information("Pegasus3D","TechnoBrain CO.,LTD.","5.0")
Comment("")
Layer("JA0000"){
   Group(8)
   Layer("shadow"){
      Attribute("NoFog","ZNoCalc")
      Blend(180)
      Mode("TEXTURE1")
      Group(5)
      Stage("SUTRACT","@a300shadow.bmp",0,"CLAMP","LINEAR","YFACE",[0,0],-90,[56,56])
      Face(0,1,2)
      Face(0,2,3)
      Vertex([28,0.00002,-28],[0,1,0],[0,1])
      Vertex([-28,0.00002,-28],[0,1,0],[1,1])
      Vertex([-28,0.00002,28],[0,1,0],[1,0])
      Vertex([28,0.00002,28],[0,1,0],[0,0])
   }
   Layer("Level1"){
      Group(8)
   }
   Layer("body"){
      Group(8)
      Layer("cockpit"){
         Range(0,2000)
         Group(8)
         Layer("01cockpit"){
            Range(0,2000)
            Material(#00646464,#00000000,0,#00646464,#00000000)
            Mode("TEXTURE1")
            Group(8)
            Stage("NORMAL_SHADE","a300reda.bmp",0,"REPEAT","LINEAR","ZFACE",[11.52,-30.47],-90,[20,20])
            Face(0,1,2)
            Face(2,3,0)
            Vertex([-1.4632,6.4616,-24.546],[0,0,-1],[2.04427,-0.00284])
            Vertex([-0.9176,7.2924,-24.546],[0,0,-1],[2.00273,-0.03012])
            Vertex([0.9176,7.2924,-24.546],[0,0,-1],[2.00273,-0.12188])
            Vertex([1.4632,6.4616,-24.546],[0,0,-1],[2.04427,-0.14916])
         }

...


Its only a part of the code from one of the *.pvm files.

THX for your answers.


Algomorph Posted: January 07, 2010   Post subject:
3d forums user


Joined: 07 Jan 2010
Posts: 18

Back to top
Reply
I believe this is simply the game's native 3D format. It looks simple enough to convert to and from.

What I recommend doing is thoroughly going through the OBJ Wavefront file specification (Google it). After that, write a short script in whatever programming language you know to convert this file to and from OBJ format.

Most, if not all, decent 3D applications export/import OBJ format, so you will then be able to edit the geometry directly in 3D editors.

Reply to topic    3d Forum -> 3D Modeling Forum Previous topic | Next topic
Username:
Message body:
To Attach an Image to your post write the message then press the Go Advanced button. In the bottom of the advanced reply screen you will see an option to upload an image from your computer.
Confirmation code: Enter the code exactly as you see it. The code is case sensitive and zero has a diagonal line through it.
 
submit to reddit Delicious Delicious Stumble It
3d artists | 3d jobs | Free Textures | Photo References | 3d Gallery | 3d Tutorials | Post a Job offer | FAQ


Powered by phpBB | hosted by Royal Web Hosting | CG archive | Privacy policy
Best viewed with latest versions of Firefox, Opera, Chrome or Safari browsers.