Skip to content

Conversation

@leezer3
Copy link
Owner

@leezer3 leezer3 commented Feb 10, 2018

Support for the MeshVertexColors template in .X files.
Also required (well at least declared in) by #242

Sample from a textual object:

MeshVertexColors { 
4; 
0;0.000000; 0.000000; 1.000000; 0.000000;;, 
1;0.000000; 1.000000; 1.000000; 0.000000;;,
2;0.000000; 0.000000; 1.000000; 0.000000;;, 
3;0.000000; 1.000000; 1.000000; 0.000000;;; 
} 

Specification:

  • Array count
  • Vertex index ==> R,G,B,A [Repeated until count]

Sample object (zipped):

rail0.zip

TODO:

  • Test Loksim parser, all programs.
  • Test Wavefront parser, all programs.
  • Test object based backgrounds, main program.
  • Compare memory usage on large NYCTA route (Should be OK now the types have been abstracted, but test)

[ci skip]

@leezer3
Copy link
Owner Author

leezer3 commented Feb 12, 2018

e11b7f0

Some tangentially related improvements to the parser (Makes models converted to X using Open 3D Model Viewer work)

@leezer3 leezer3 force-pushed the MeshVertexColors branch from 87b10a6 to df71be1 Compare April 1, 2018 17:13
@leezer3 leezer3 force-pushed the MeshVertexColors branch from 25ec4df to a2f2af1 Compare May 11, 2018 11:39
@leezer3
Copy link
Owner Author

leezer3 commented May 11, 2018

Squished and FFWD to the current base.
source/ObjectViewer/RendererS.cs.orig needs removing before merge.

@leezer3 leezer3 force-pushed the MeshVertexColors branch from a2f2af1 to 5cc0c1c Compare May 11, 2018 11:51
@leezer3
Copy link
Owner Author

leezer3 commented May 11, 2018

Try again, fixed the main program and removed the junk file.....

@leezer3 leezer3 merged commit 5cc0c1c into master May 16, 2018
@leezer3 leezer3 deleted the MeshVertexColors branch May 28, 2018 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant