Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 16 17 18 [19] 20 21 22 ... 50   Go Down

Author Topic: msh Binary format  (Read 109376 times)

0 Members and 2 Guests are viewing this topic.

Stainless

  • Modder
  • member
  • Offline Offline
  • Posts: 1534
Re: msh Binary format
« Reply #216 on: May 21, 2014, 02:43:06 AM »

The problem is probably windows 8

I would see if there is any flags you can set on the exe. Like 'run as administrator' 'run in legacy mode' something like that.
Logged

hello

  • member
  • Offline Offline
  • Posts: 287
  • aka Aufpassen! aka Alfie!
Re: msh Binary format
« Reply #217 on: May 21, 2014, 03:11:17 AM »

I just tried on an old XP PC. I get more or less the same. Loading one mesh I could see the cockpit glass. All the others, nothing except some indication of the shadows.
Logged

DarkBlueBoy

  • Supporter
  • member
  • Offline Offline
  • Posts: 674
  • Learning slowly...
Re: msh Binary format
« Reply #218 on: May 21, 2014, 03:37:34 AM »

Hey hello - have you tried many other aircraft? Do you always get the same or similar results?
Logged

hello

  • member
  • Offline Offline
  • Posts: 287
  • aka Aufpassen! aka Alfie!
Re: msh Binary format
« Reply #219 on: May 21, 2014, 04:03:37 AM »

Yes I tried quite a few. Some load, some don't, but none show up so far.
Logged

Stainless

  • Modder
  • member
  • Offline Offline
  • Posts: 1534
Re: msh Binary format
« Reply #220 on: May 21, 2014, 04:36:22 AM »

This is really pissing me off, the whole reason I chose to use XNA for the renderer was to avoid these sort of problems.

On the old XP machine, what is the graphics card?

I wrote the app on my old XP machine, it was state of the art 10 years ago (an Asus gaming laptop with Nvidia go 7700 card) but is old and tired now.
I figured if it ran on this machine, it will run on all of yours.

Yet you are getting nothing.

I don't suppose you have the DirectX debug runtime on the XP machine?

I'm not suprised it doesn't run on Windows 8, I'm suprised anything runs on Windows 8.

At the moment I'm going through mods one by one testing them. When I find one that doesn't load I figure out why and change my app to load it.

I should actually document some of the things I am finding.

For example I just loaded the I - 153 Skid mesh and had a problem with water_d0.msh

The mesh is a binary file and the vertices are stored at 22 bytes per vertex. This makes to sense as there are 6 records in a vert (X,Y,Z,nX,nY,nZ).

I have just figured it out and the vertex is stored in the following format.

Code: [Select]
   byte Trash
   float X
   float Y
   float Z
   tripple nX
   tripple nY
   tripple nZ
Logged

hello

  • member
  • Offline Offline
  • Posts: 287
  • aka Aufpassen! aka Alfie!
Re: msh Binary format
« Reply #221 on: May 21, 2014, 04:51:59 AM »

The old machine is a Pentium4 something. Really old but xp is updated as far as goes. It has a cheap Nvidia 610 graphics board replacement I put in not too long ago. Drivers are up to date.
It loads slow but runs IL2 fine.
Logged

Stainless

  • Modder
  • member
  • Offline Offline
  • Posts: 1534
Re: msh Binary format
« Reply #222 on: May 21, 2014, 05:32:19 AM »

the geforce 610 should be more than capable of running the shaders

damn I hate trying to figure out what's going on without being able to test.

I've looked at all the functions I am calling, they should throw exceptions if they don't work, not just fail silently.
Logged

hello

  • member
  • Offline Offline
  • Posts: 287
  • aka Aufpassen! aka Alfie!
Re: msh Binary format
« Reply #223 on: May 21, 2014, 05:39:58 AM »

Maybe I am just stupidly doing something wrong. Is there anything I should do after I loaded the mesh to make it show up?

Of course I'll try to help debug if I can. Let me know what to do.
Logged

Stainless

  • Modder
  • member
  • Offline Offline
  • Posts: 1534
Re: msh Binary format
« Reply #224 on: May 21, 2014, 05:42:26 AM »

It should just appear in the centre of the screen.

I'm going to do a version that doesn't use shaders and put it up, might take me a while. I'll put it as an option on the render menu.

Hopefully that will fix it for you.

Logged

Stainless

  • Modder
  • member
  • Offline Offline
  • Posts: 1534
Re: msh Binary format
« Reply #225 on: May 21, 2014, 05:57:13 AM »

Guys if you find a mod that doesn't load, or crashes, can you post me a link to it please.

I want to make it bullet proof.
Logged

Stainless

  • Modder
  • member
  • Offline Offline
  • Posts: 1534
Re: msh Binary format
« Reply #226 on: May 21, 2014, 06:15:41 AM »

New version up.

On the render menu you have an item "Toggle render mode"

One uses my own shader, the other a BasicEffect

If that doesn't work, I really am out of ideas
Logged

hello

  • member
  • Offline Offline
  • Posts: 287
  • aka Aufpassen! aka Alfie!
Re: msh Binary format
« Reply #227 on: May 21, 2014, 06:34:15 AM »

If I toggle the render things go black. That makes me think, maybe it is a units thing, meaning on my machine I am actually inside the model?
?
Logged
Pages: 1 ... 16 17 18 [19] 20 21 22 ... 50   Go Up
 

Page created in 0.034 seconds with 28 queries.