April 16, 2024, 07:10:45 PM

Username
Password

Pages: [1]   Go Down
Print
Author Topic: Mesh Viewer  (Read 4828 times)
0 Members and 1 Guest are viewing this topic.
crash
Developer
*
Offline Offline

Posts: 59


View Profile
« on: December 26, 2013, 09:36:16 PM »

Here is a viewer for the m3d files.  It needs work, but it should be ok for now.  If you load models of vastly different size, sometimes you can't see the new one.  Just close the program and relaunch.  You need dotnet 4.0 and xna 4 redist to run.

https://dl.dropboxusercontent.com/u/21362347/viewer.zip

Here is an early look at my attempt at a scenario tool.  It can't do anything other than import a prj and that's about it.
Hopefully, it wont crash too much.  You need dotnet 4.0 and xna 4 redist to run.  The model viewer on this will only show the model until you load a prj.  when the buffer is resized for the main view, the small one only shows the top left portion of the buffer, so you cant see it.  No texs yet and lotsa fixes to go.

https://dl.dropboxusercontent.com/u/21362347/dost%20test.zip


* raymodel2.png (30.42 KB. 818x678 - viewed 825 times.)


Logged
olly
Global Spokesperson
*
Offline Offline

Posts: 2272



View Profile
« Reply #1 on: December 26, 2013, 11:59:44 PM »

Wow thanks for the Christmas present Crash, all works well and one step closer to a scenario tool (the Holy Grail of our combined quest)




The m3d importer is very useful for me to view the Portrait models, so I can hopefully add new custom model head, taken from the Call of Warhammer heads. As our existing Blender import .m3d script can't open them, only New Boids test engine, when replacing the teapot.m3d.

C:\Program Files (x86)\Dark Omen\Graphics\PORTRAIT\Meshes\11.m3d


Keep up the good work and can't wait for the future ability to import the Terrain model Height Map data into the 2 .PRJ DO height maps.

Smiley
« Last Edit: December 27, 2013, 12:27:06 AM by olly » Logged

and back in Nuln, the ageing Graf Berhardt smiled his secret smile of pride whenever he heard the latest tales of his eldest son's ever growing chain of glorious victories -(sothr manual)
crash
Developer
*
Offline Offline

Posts: 59


View Profile
« Reply #2 on: December 28, 2013, 06:22:56 PM »

 Cheesy

Here is the source for the editor.  Not much, but its a start.  Delete that other game project you got a while back, because it has to have the m3d files converted to x files.  Since this loads the m3ds, this is what you want.

https://dl.dropboxusercontent.com/u/21362347/dostupload122813.zip

Made a change to the prj parser so you can spit out both of the height maps in the terr block.

https://dl.dropboxusercontent.com/u/21362347/ParsePRJ122813.zip

https://dl.dropboxusercontent.com/u/21362347/ParseBtb122813.zip

« Last Edit: December 28, 2013, 09:18:44 PM by crash, Reason: added files » Logged
crash
Developer
*
Offline Offline

Posts: 59


View Profile
« Reply #3 on: December 28, 2013, 09:57:43 PM »

Crap! Just tried to load b207 and it crashed.  be mindful of the map you are loading in case it crashes.  don't use the file called dostupload unless you can fix it. Back to work.
Logged
olly
Global Spokesperson
*
Offline Offline

Posts: 2272



View Profile
« Reply #4 on: December 29, 2013, 01:12:06 AM »

Thanks for latest BTB and PRJ Parsers, all working well and good to see both height maps. Did find the same with B2_07 but its still awesome progress!

Smiley 

Logged

and back in Nuln, the ageing Graf Berhardt smiled his secret smile of pride whenever he heard the latest tales of his eldest son's ever growing chain of glorious victories -(sothr manual)
crash
Developer
*
Offline Offline

Posts: 59


View Profile
« Reply #5 on: December 30, 2013, 07:04:20 PM »

It didn't occur to me that they would have empty submeshes in their models.  Jerks.  Oh well, it's fixed now.  Delete the other version.

https://dl.dropboxusercontent.com/u/21362347/dostupload123013.zip


* 4080689.png (60.07 KB. 818x678 - viewed 883 times.)



* 4299356.png (60.2 KB. 818x678 - viewed 874 times.)


For the mesh viewer, just don't load any models with an empty submesh like the base for b207, and it should be fine.

« Last Edit: December 30, 2013, 07:15:45 PM by crash, Reason: added note about mesh viewer » Logged
Pages: [1]   Go Up
Print
Jump to: