Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Download Outerra Tech Demo. Unofficial Outerra Discord server, MicroProse Discord server for OWS.

Author Topic: Program can't find jsbsim files  (Read 12159 times)

zzz

  • Sr. Member
  • ****
  • Posts: 266
  • newbie
Program can't find jsbsim files
« on: February 06, 2014, 06:31:05 pm »

I want to test my model by giving it the mig29 js and jsbsim files. Seems to accept the js file ok but not matter what I put in the import field it can't find the jsbsim file. What's the format for it?
Logged

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6721
  • No sense of urgency.
    • outerra.com
Re: Program can't find jsbsim files
« Reply #1 on: February 07, 2014, 03:59:01 am »

Just copy the folders from the MiG package (aircraft and engine) and in to your objdef copy both the "physics" : "jsbsim/mig29" and "fdm_root_dir" : "./"
Logged

zzz

  • Sr. Member
  • ****
  • Posts: 266
  • newbie
Re: Program can't find jsbsim files
« Reply #2 on: February 07, 2014, 11:53:36 am »

Thanks.

Logged

PytonPago

  • Hero Member
  • *****
  • Posts: 2284
  • It´s way too complex, dont let me try to explain !
Re: Program can't find jsbsim files
« Reply #3 on: February 07, 2014, 03:52:18 pm »

Oh may ... another colossal planet destroyer ! OT will soon have more credible UFO sightings than the Blue Book ewer really investigated.  ;D (looks pretty neat - nice work there)
« Last Edit: February 07, 2014, 04:27:57 pm by PytonPago »
Logged
We are still undeveloped as long as we don´t realize, that all our science is still descriptive, and than beyond that description lies a whole new world we just haven´t even started to fully understand.

zzz

  • Sr. Member
  • ****
  • Posts: 266
  • newbie
Re: Program can't find jsbsim files
« Reply #4 on: February 09, 2014, 05:10:59 am »

Further question: does Outerra support normal maps? They show up in 3dsmax but not in Outerra.
Logged

DeanosBeano

  • Full Member
  • ***
  • Posts: 106
  • newbie
Re: Program can't find jsbsim files
« Reply #5 on: February 09, 2014, 05:55:28 am »


 yeah it does
 check the wiki and materials and material database there is also example for download there to show matlib settings and save as defines for .dds
Logged

zzz

  • Sr. Member
  • ****
  • Posts: 266
  • newbie
Re: Program can't find jsbsim files
« Reply #6 on: February 09, 2014, 06:29:58 am »

Thanks. Ran into an issue though.

This is my model with no normal maps.



This is it with normal maps



This is how it appears in Outerra.



And zooming in there's still no normal mapping under the darkness.

This is the matlib def

Quote
   {
      "name" : "_as1_t1default",
      "diffuse" : "185,185,185,255",
      "Ax" : "150",
      "Ay" : "7",
      "m" : "127",
      "no_light" : false,
      "alpha_masked" : false,
      "tex_diffuse" : "1_as1_t1_d.dds",
      "tex_normal" : "as1_t1_n.dds",
      "tex_env" : "",
      "tex_opacity" : "",
      "tex_reflectance" : ""
   }

I take it it'd also be more efficient to remove normal mapping entirely from 3dsmax and add it via the matlib file?
Logged

DeanosBeano

  • Full Member
  • ***
  • Posts: 106
  • newbie
Re: Program can't find jsbsim files
« Reply #7 on: February 09, 2014, 06:41:18 am »

 well the matlib is like the .mtl file  so it has to be seperate files i believe Max will have its own equivalent
 not sure what it is  but all engines will have a material file to define the different maps , the model itself wont normally hold seperate layers as far as im aware  only a diffuse and material define
 
 best way is check wiki the explain best  macro numbers to go with different textures I.E

 Diffuse only
 Diffuse and Normal

 check it out it helped me decide the AX,AY and M numbers to get best effect

 you will probably need an enironemnt map to get better lighting also but here is cessna matlib refference to look at

Code: [Select]
{
"name" : "Cessna_EXT",
"diffuse" : "1.0,1.0,1.0,1.0",
"Ax" : "0.04",
"Ay" : "0.04",
"m" : "0.14",
"tex_diffuse" : "Cessna_EXT.dds",
"tex_normal" : "Cessna_EXT_norm.dds",
"tex_env" : "Cessna_EXT_rg.dds",
"tex_reflectance" : "",
"tex_opacity" : ""
},
« Last Edit: February 09, 2014, 06:43:00 am by DeanosBeano »
Logged

zzz

  • Sr. Member
  • ****
  • Posts: 266
  • newbie
Re: Program can't find jsbsim files
« Reply #8 on: February 09, 2014, 09:03:19 am »

Settings don't seem to affect it. I think it's because of the colour. Mine are green whilst others are sort of lilac. I tried replacing it with a map from the naboo fighter and whilst I couldn't see any bump mapping my model wasn't dark either. I disabled the green and red channels for mine but it made little difference.

I did get the specular maps working though.
Logged

DeanosBeano

  • Full Member
  • ***
  • Posts: 106
  • newbie
Re: Program can't find jsbsim files
« Reply #9 on: February 09, 2014, 09:05:16 am »

when you save the normal map as a .DDS  are you giving it correct format of

tex_normal   path to normal texture>>>> (format BC5/3dc2/ATI2)<<<<
Logged

angrypig

  • Sr. Member
  • ****
  • Posts: 454
Re: Program can't find jsbsim files
« Reply #10 on: February 09, 2014, 05:03:11 pm »

Quote
   {
      "name" : "_as1_t1default",
      "diffuse" : "185,185,185,255",
      "Ax" : "150",
      "Ay" : "7",
      "m" : "127",
      "no_light" : false,
      "alpha_masked" : false,
      "tex_diffuse" : "1_as1_t1_d.dds",
      "tex_normal" : "as1_t1_n.dds",
      "tex_env" : "",
      "tex_opacity" : "",
      "tex_reflectance" : ""
   }

The main problem is Ax parameter it should be around 0.04...
The diffuse should be 255,255,255,255 or 1.0,1.0,1.0,1.0...
Btw if you are creating dds texture in nvidia texture tools it's important to use parameters -normal -bc5 otherwise mipmaps won't be computed correctly.

I take it it'd also be more efficient to remove normal mapping entirely from 3dsmax and add it via the matlib file?

You can define whole material in the matlib file. In the MAX create a material with proper name and attach it to the mesh. You don't have to set any material parameter in the MAX.
Logged

zzz

  • Sr. Member
  • ****
  • Posts: 266
  • newbie
Re: Program can't find jsbsim files
« Reply #11 on: February 10, 2014, 05:34:07 pm »

Thanks everyone. Once I set it up its flight properties I'll try and release it asap.

Logged

ZeosPantera

  • ||>>-Z-<<||
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2520
  • #1 Outerra Fan Boy
    • My Youtube
Re: Program can't find jsbsim files
« Reply #12 on: February 10, 2014, 09:29:51 pm »

Beautiful. How does she fly?
Logged
"Fear accompanies the possibility of death, Calm shepherds its certainty" - General Ka Dargo

PaulMoffat

  • Full Member
  • ***
  • Posts: 108
  • Modeller
    • Paul Moffat's Website
Re: Program can't find jsbsim files
« Reply #13 on: February 15, 2014, 06:36:41 am »

Oh man that is one superbly textured ship. It looks awesome.
Logged
Who said there were no real predators in New Zealand? Us Kiwis don't just fly, we bite hard too!