Skip to content

MeshVertexColors template in X files#219

Merged
leezer3 merged 1 commit into
masterfrom
MeshVertexColors
May 16, 2018
Merged

MeshVertexColors template in X files#219
leezer3 merged 1 commit into
masterfrom
MeshVertexColors

Conversation

@leezer3

@leezer3 leezer3 commented Feb 10, 2018

Copy link
Copy Markdown
Owner

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

leezer3 commented Feb 12, 2018

Copy link
Copy Markdown
Owner Author

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

leezer3 commented May 11, 2018

Copy link
Copy Markdown
Owner Author

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

leezer3 commented May 11, 2018

Copy link
Copy Markdown
Owner Author

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