Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 5 - Modders Workshop > Thread: Could we make a basic model editor?
Thread: Could we make a basic model editor? This thread is 9 pages long: 1 2 3 4 5 6 7 8 9 · NEXT»
Gnoll_Mage
Gnoll_Mage


Responsible
Supreme Hero
posted September 24, 2009 01:13 AM
Edited by Gnoll_Mage at 22:25, 24 Sep 2009.

Could we make a basic model editor?

For some reason I was inspired recently to revisit HoMM5 modding, and I ended up creating this Nival geometry viewer (thanks go to Crazypill for working out the file format). I was wondering whether anyone thought they had the know-how to turn it into a basic editor. There's also more questions to be answered about the format itself...

Screenshot:

____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
pause
pause


Known Hero
posted September 24, 2009 01:55 AM

Interesting topic GM. This would have been nice to have had 2 years ago, but better now than never!
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
TSoD
TSoD


Promising
Famous Hero
NCF Blacksmith
posted September 24, 2009 09:35 AM

If Crazypill has understood how to read the file so well that he could make a model viewer, we can normally create a model editor... Look : if Crazypill can read a point coordinates to display it in a 3D viewer, he can also replace this coordinates (at least if the file isn't Read-Only ).

But i maybe have an idea.
Python scripting.

I explain : A program named Blender3D (free license, powerful editor/creator, obtained on www.blender.org) can use python script to import/export other new formats.
For now it can't import/export mesh files of the game. But if Crazypill can use his knowledge to make a mesh importer/exporter in Blender, we would all be able to freely edit all models contained in the game, and this without using mesh2wrl, then import in wrl, export in mb the result and import the mb in the game with the editor. It would be a lot more simple !
All we need is a blender importer/exporter scripted in python.
____________
NCFBank,
the complete and homogen NCF
library.

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
NeoCat1993
NeoCat1993


Hired Hero
Upcoming Master-Modder :p
posted September 24, 2009 02:47 PM

Amazing Idea TSoD!
I have Blender, too, and I'd be happy if CrazyPill is able to make the Script

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
TSoD
TSoD


Promising
Famous Hero
NCF Blacksmith
posted September 24, 2009 02:54 PM

Quote:
Amazing Idea TSoD!
I have Blender, too, and I'd be happy if CrazyPill is able to make the Script


Thanks And great, another blender user
You know that you can already use blender to add new models in the game ? It's only a bit complicated, but it is possible.
=> Extract a mesh file from the game (data.pak\Bin\Geometries\)
=> Use mesh2wrl program to convert the mesh in wrl
=> Use blender to File->Import->X3D / VRML97 (.x3d, .wrl)
=> Modify the model
=> Blender : File->Export->VRML97 (.wrl)
=> Use Maya 6.0 to import the .wrl, then save it under .MB format
=> Apply Pstakha tutorial to import model in the game

When you see all you must do, it would be more useful having a python script doing this
____________
NCFBank,
the complete and homogen NCF
library.

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
Gnoll_Mage
Gnoll_Mage


Responsible
Supreme Hero
posted September 28, 2009 06:29 PM
Edited by Gnoll_Mage at 18:32, 28 Sep 2009.

The issue with a script is that we don't understand the whole file (well, I don't, maybe Crazypill does but he hasn't been seen for a while). As such, I wouldn't know how to create an exporter, since I wouldn't know what to write for the sections of the file that I don't understand the meaning of. If I were to continue with my viewer, it would only allow moving vertices (and perhaps texture coordinates), as well as possibly removing and adding faces - this much seems possible, it's just a case modifying the values of the data structures created by the mesh loader, rather than the actual overall structure.

However, I don't really have the time or the expertise to actually create a program that would allow repositioning vertices...

Quote:
Interesting topic GM. This would have been nice to have had 2 years ago, but better now than never!

Thanks pause, you're right, it would have been nice earlier. I probably would have done it, except that I only learnt C and C++ in the last few months.
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
pause
pause


Known Hero
posted October 14, 2009 04:23 PM

*strokes chin* I wonder if ubi has such a tool that they could release if we asked really really nicely..
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Gnoll_Mage
Gnoll_Mage


Responsible
Supreme Hero
posted October 14, 2009 07:46 PM
Edited by Gnoll_Mage at 19:47, 14 Oct 2009.

Well I guess Nival would be the one to provide tools like that, except they were using Maya themselves... so I doubt there'd be anything they could give us. Sadly, I doubt that they would if they could anyway

An update on the above: the library I chose doesn't do quite what I want it to do, unfortunately, so for now at least I've given up.
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
pause
pause


Known Hero
posted October 15, 2009 02:58 PM

Good things come with time, my friend. We'll get there yet.
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Pesmontis
Pesmontis


Adventuring Hero
status revoked
posted December 10, 2009 03:18 PM

I'm curious about the binary mesh file format, it seems to me that some of the information contained is skipped. I think it should be like there's per-vertex info on:
- which bone the vertex is assigned to (some kind of 'bone-index');
- the bone assignment weight (in case multiple bones control one vertex).

Can someone put-up the mesh2wrl source code for download?

It would be easier to use that as a starting point, but there's also the issue of how to get the parameters I mentioned above into a modeling app. With respect to this I think it might be useful to have a little 'mesh2gr2' tool (and then use the NWN2 importer).

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Gnoll_Mage
Gnoll_Mage


Responsible
Supreme Hero
posted December 11, 2009 06:55 PM
Edited by Gnoll_Mage at 18:59, 11 Dec 2009.

I'm already beginning to forget the file format, but I seem to remember there was some stuff in there that I didn't know the meaning of. Maybe the joint-attachment data is in there (or maybe in the skeleton file...).

As for a general update, I gave up on this because it turned out that I would have to calculate my own normals, at which point I decided it was getting too complicated.

Pesmontis (and everyone else), would you like to see my source code?
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Pesmontis
Pesmontis


Adventuring Hero
status revoked
posted December 12, 2009 12:35 PM
Edited by Pesmontis at 12:43, 12 Dec 2009.

Me for one, I'd like to see your source code :-)

As for calculating normals, there's std. functions that'll do that for you in DX / OGL. You might also use another program to create them for you, for instance DeepExploration: save the .wrl as .obj, and you can see the normals with a text editor.

As for the vertex weight mapping an bone indices: I'm sure these parameters must be in the mesh file, because the Granny Viewer does not deform a mesh in case an HoMM.V animation and corresponding skeleton are loaded with it.


 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Gnoll_Mage
Gnoll_Mage


Responsible
Supreme Hero
posted December 13, 2009 12:27 AM
Edited by Gnoll_Mage at 00:35, 13 Dec 2009.

Source code.

Requires the G3D library version 7.01.

Good luck getting it to work . I think I included everything other than the library in the zip file. I hope it is of interest and / or use. I might be able to write something about the fileformat if you want (alternatively just look at Crazypill's stuff).

As you will hopefully see after building, clicking on a cube on one of the vertices causes it to move in a certain pre-specified direction. No normals are specified so the lighting is effectively `random`.

Also you will see that the code is a mess, both in terms of how I've acheived things and how I've typed them...
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Pesmontis
Pesmontis


Adventuring Hero
status revoked
posted December 13, 2009 09:58 PM
Edited by Pesmontis at 16:46, 14 Dec 2009.

Viewer

Alright, got your code, but I haven't looked at it yet >
I'm busy implementing Crazypill's.
It's not a problem if code's a mess, it just takes longer to read & understand ;-)

I guess I'm fortunate, because this mesh file format is very similar to the one used in the game Blitzkrieg,
so I 'only' have to adapt my existing viewer. Sofar it looks promising, but nothing 2 show yet.

As for the vertex-to-bone assignment, the parameters are there but not quite understood.
There seem to be three types of parameters, one is the vertex weight (max. 4x), one seems to be a bone index (max. 4x), and there seems to be some kind of 'bone flagging' (4x)..
<Edit> I'm understanding it now, it's (1) 4x weight (float), then (2) 4x weight (byte, divide by 255 to get(1)), and then it's 4x bone index (byte). The bone indices seem to match those exported to an SMD file (see below).

BTW. this also suggests that the skeleton can be derived from the data in the mesh file..

It would be helpful if someone could look-up numerical bone-IDs in some skeleton file (i.e. a <bone name> - <bone ID> table).
<Edit> Well, that's done using Cannonfodder's SMD exporter plugin for 3DSmax and the NWN2 importer (GR2 importer) for 3DSmax.




 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Pesmontis
Pesmontis


Adventuring Hero
status revoked
posted December 17, 2009 10:18 PM
Edited by Pesmontis at 22:21, 17 Dec 2009.

News

I had a fight today with DirectX .. %#!&@

But I wouldn't be me if I didn't come out on top:

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Pesmontis
Pesmontis


Adventuring Hero
status revoked
posted December 20, 2009 03:07 PM

Update

In the picture you can see visualization of some of the data that wasn't available before:
(1) Vertex colors. In an HoMM.V mesh file, vertices are stored together with 4 vertex colors. I believe these colors to be the ambient, diffuse, specular, and emissive colors. Show in the picture are the emissive colors;
(2) Bone names and hierarchy. I've been working on the bones for two days now and I found that they can't be derived directly from the data in the mesh file. So, I imported an HoMM.V skeleton in 3DSmax and exported it as an SMD file. My tool reads the SMD file to get the right hierarchy with the mesh.

Right-ho :-)
The next thing my tool needs is an SMD exporter.
I need to clean up my code as well, in order to publish this tool.
Also, I could do with suggestions on how to load the textures.
All files are now directly asked for when starting the tool, and this may be a bit confusing.

Anyway, here's the pic:


 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
WindBell
WindBell


Hired Hero
posted December 23, 2009 06:32 AM

Quote:
[url=http://www.mediafire.com/file/dkgd5thnqng/homm5modelviewer.zip]Source code[/url].

Requires the [url=http://g3d-cpp.sourceforge.net/downloads.html]G3D library[/url] version 7.01.

Good luck getting it to work . I think I included everything other than the library in the zip file. I hope it is of interest and / or use. I might be able to write something about the fileformat if you want (alternatively just look at Crazypill's stuff).

As you will hopefully see after building, clicking on a cube on one of the vertices causes it to move in a certain pre-specified direction. No normals are specified so the lighting is effectively `random`.

Also you will see that the code is a mess, both in terms of how I've acheived things and how I've typed them...


I cannot compile it on my VS2008... It generate a lot of error like

Ref' : is not a member of 'G3D::MD2Model'
'G3D::Array<T,MIN_ELEMENTS,MIN_BYTES>::append' : 5 overloads have no legal conversion for 'this' pointer

I have include G3D 7.01(From Sourceforge) lib and include files in the project. What else should I do ?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Gnoll_Mage
Gnoll_Mage


Responsible
Supreme Hero
posted December 26, 2009 04:28 PM

I'm afraid I don't know what to suggest really. You might try a different version of the library. Also, you could post the whole error list...

Pesmontis, did you get it working?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
WindBell
WindBell


Hired Hero
posted December 27, 2009 08:37 AM

Quote:
I'm afraid I don't know what to suggest really. You might try a different version of the library. Also, you could post the whole error list...

Pesmontis, did you get it working?


it is very long...

Error 1 error C2039: 'Ref' : is not a member of 'G3D::MD2Model' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\entity.h 16 grtest3
Error 2 error C2039: 'Ref' : is not a member of 'G3D::IFSModel' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\entity.h 20 grtest3
Error 3 error C2039: 'Ref' : is not a member of 'G3D::MD2Model' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\entity.h 44 grtest3
Error 4 error C2065: 'SurfaceRef' : undeclared identifier e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\entity.h 71 grtest3
Error 5 error C2664: 'G3D::ArticulatedModel:ose' : cannot convert parameter 1 from 'G3D::Array' to 'G3D::Array<T> &' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\entity.h 73 grtest3
Error 6 error C2039: 'pose' : is not a member of 'Entity' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\entity.h 77 grtest3
Error 7 error C2663: 'G3D::Array<T,MIN_ELEMENTS,MIN_BYTES>::append' : 5 overloads have no legal conversion for 'this' pointer e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\entity.h 77 grtest3
Error 8 error C2039: 'pose' : is not a member of 'Entity' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\entity.h 81 grtest3
Error 9 error C2663: 'G3D::Array<T,MIN_ELEMENTS,MIN_BYTES>::append' : 5 overloads have no legal conversion for 'this' pointer e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\entity.h 81 grtest3
Error 10 error C2065: 'GuiText' : undeclared identifier e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 61 grtest3
Error 11 error C2065: 'SurfaceRef' : undeclared identifier e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 72 grtest3
Error 12 error C2065: 'Surface2DRef' : undeclared identifier e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 72 grtest3
Error 13 error C2065: 'SurfaceRef' : undeclared identifier e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 73 grtest3
Error 14 error C2065: 'Surface2DRef' : undeclared identifier e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 73 grtest3
Error 15 error C2512: 'G3D::Array' : no appropriate default constructor available e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 310 grtest3
Error 16 error C2039: 'Settings' : is not a member of 'G3D::ArticulatedModel' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 358 grtest3
Error 17 error C2653: 'Welder' : is not a class or namespace name e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 359 grtest3
Error 18 error C2039: 'normalSmoothingAngle' : is not a member of 'G3D::GApp::Settings' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 360 grtest3
Error 19 error C2039: 'vertexWeldRadius' : is not a member of 'G3D::GApp::Settings' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 361 grtest3
Error 20 error C2039: 'weld' : is not a member of 'G3D::GApp::Settings' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 362 grtest3
Error 21 error C2039: 'setSettings' : is not a member of 'G3D::ArticulatedModel' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 363 grtest3
Error 22 error C2039: 'Ref' : is not a member of 'G3D::ArticulatedModel:art::TriList' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 664 grtest3
Error 23 error C2065: 'Ref' : undeclared identifier e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 664 grtest3
Error 24 error C2146: syntax error : missing ';' before identifier 'tlr' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 664 grtest3
Error 25 error C2065: 'tlr' : undeclared identifier e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 664 grtest3
Error 26 error C2065: 'tlr' : undeclared identifier e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 665 grtest3
Error 27 error C2039: 'newTriList' : is not a member of 'G3D::ArticulatedModel:art' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 665 grtest3
Error 28 error C2065: 'tlr' : undeclared identifier e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 666 grtest3
Error 29 error C2227: left of '->indexArray' must point to class/struct/union/generic type e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 666 grtest3
Warning 30 warning C4305: 'initializing' : truncation from 'double' to 'float' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 687 grtest3
Error 31 error C2662: 'G3D::Array<T,MIN_ELEMENTS,MIN_BYTES>::size' : cannot convert 'this' pointer from 'G3D::Array' to 'const G3D::Array<T,MIN_ELEMENTS,MIN_BYTES> &' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 820 grtest3
Warning 32 warning C4305: '+=' : truncation from 'double' to 'float' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 899 grtest3
Warning 33 warning C4305: '+=' : truncation from 'double' to 'float' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 900 grtest3
Warning 34 warning C4305: '+=' : truncation from 'double' to 'float' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 901 grtest3
Warning 35 warning C4305: '+=' : truncation from 'double' to 'float' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 902 grtest3
Warning 36 warning C4305: '+=' : truncation from 'double' to 'float' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 903 grtest3
Warning 37 warning C4305: '+=' : truncation from 'double' to 'float' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 904 grtest3
Warning 38 warning C4305: '+=' : truncation from 'double' to 'float' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 905 grtest3
Warning 39 warning C4305: '+=' : truncation from 'double' to 'float' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 906 grtest3
Warning 40 warning C4305: '+=' : truncation from 'double' to 'float' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 907 grtest3
Warning 41 warning C4305: 'argument' : truncation from 'double' to 'float' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 911 grtest3
Warning 42 warning C4305: '+=' : truncation from 'double' to 'float' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 918 grtest3
Error 43 error C2065: 'SurfaceRef' : undeclared identifier e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 932 grtest3
Error 44 error C2065: 'Surface2DRef' : undeclared identifier e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 932 grtest3
Error 45 error C3861: 'GuiText': identifier not found e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 958 grtest3
Error 46 error C3861: 'GuiText': identifier not found e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 960 grtest3
Error 47 error C3861: 'GuiText': identifier not found e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 962 grtest3
Error 48 error C2664: 'G3D::GuiDropDownList *G3D::GuiPane::addDropDownList(const G3D::GuiCaption &,const G3D:ointer<ValueType> &,G3D::Array<T> *)' : cannot convert parameter 2 from 'G3D::Array' to 'const G3D:ointer<ValueType> &' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 970 grtest3
Error 49 error C2664: 'G3D::GuiDropDownList *G3D::GuiPane::addDropDownList(const G3D::GuiCaption &,const G3D:ointer<ValueType> &,G3D::Array<T> *)' : cannot convert parameter 2 from 'G3D::Array' to 'const G3D:ointer<ValueType> &' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 973 grtest3
Error 50 error C2065: 'SurfaceRef' : undeclared identifier e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 982 grtest3
Error 51 error C2065: 'Surface2DRef' : undeclared identifier e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 982 grtest3
Error 52 error C2653: 'Surface' : is not a class or namespace name e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 1020 grtest3
Error 53 error C2065: 'Ref' : undeclared identifier e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 1020 grtest3
Error 54 error C2133: 'opaque' : unknown size e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 1020 grtest3
Error 55 error C2512: 'G3D::Array' : no appropriate default constructor available e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 1020 grtest3
Error 56 error C2133: 'transparent' : unknown size e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 1020 grtest3
Error 57 error C2512: 'G3D::Array' : no appropriate default constructor available e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 1020 grtest3
Error 58 error C2662: 'G3D::Array<T,MIN_ELEMENTS,MIN_BYTES>::size' : cannot convert 'this' pointer from 'G3D::Array' to 'const G3D::Array<T,MIN_ELEMENTS,MIN_BYTES> &' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 1029 grtest3
Error 59 error C2039: 'cameraToWorldMatrix' : is not a member of 'G3D::RenderDevice' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 1030 grtest3
Error 60 error C2228: left of '.lookVector' must have class/struct/union e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 1030 grtest3
Error 61 error C2653: 'Surface' : is not a class or namespace name e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 1031 grtest3
Error 62 error C3861: 'sort': identifier not found e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 1031 grtest3
Error 63 error C2662: 'G3D::Array<T,MIN_ELEMENTS,MIN_BYTES>::size' : cannot convert 'this' pointer from 'G3D::Array' to 'const G3D::Array<T,MIN_ELEMENTS,MIN_BYTES> &' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 1033 grtest3
Error 64 error C2678: binary '[' : no operator found which takes a left-hand operand of type 'G3D::Array' (or there is no acceptable conversion) e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 1034 grtest3
Error 65 error C2227: left of '->render' must point to class/struct/union/generic type e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 1034 grtest3
Error 66 error C2662: 'G3D::Array<T,MIN_ELEMENTS,MIN_BYTES>::size' : cannot convert 'this' pointer from 'G3D::Array' to 'const G3D::Array<T,MIN_ELEMENTS,MIN_BYTES> &' e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 1037 grtest3
Error 67 error C2678: binary '[' : no operator found which takes a left-hand operand of type 'G3D::Array' (or there is no acceptable conversion) e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 1038 grtest3
Error 68 error C2227: left of '->render' must point to class/struct/union/generic type e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 1038 grtest3
Error 69 error C2678: binary '[' : no operator found which takes a left-hand operand of type 'G3D::Array' (or there is no acceptable conversion) e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 1059 grtest3
Error 70 error C2228: left of '.color' must have class/struct/union e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 1059 grtest3
Error 71 error C2228: left of '.rgb' must have class/struct/union e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 1059 grtest3
Error 72 error C2678: binary '[' : no operator found which takes a left-hand operand of type 'G3D::Array' (or there is no acceptable conversion) e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 1063 grtest3
Error 73 error C2228: left of '.color' must have class/struct/union e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 1063 grtest3
Error 74 error C2228: left of '.rgb' must have class/struct/union e:\documents and settings\Xjokdeds\my documents\visual studio 2008\projects\homm5modelviewer\main.cpp 1063 grtest3




 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Pesmontis
Pesmontis


Adventuring Hero
status revoked
posted December 28, 2009 09:45 PM

I'm sorry, but no, I couldn't get myself to installing VS2008 on my PC. All I'm doing is using old code plus Crazypill's, because that's the easiest way for me to re-engineer the HoMM.V mesh file format, and to visualize the results.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 9 pages long: 1 2 3 4 5 6 7 8 9 · NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.1451 seconds