Hi,
I've got one more specific question, and two issues:
1. At one point, I was able to do: FREPA(body.base(0).vtxs()) body.base(0).vtx.color[i] = RED; and then, with body.draw(..), it'd work. But after modifying my tool to import .obj's (rather than using the .mesh format), it crashes when I set their colours. I import with the following:
Code:
if (ImportOBJ(filename,&body,mats,parts) && body.vtxs()) {
Tools.setText(S+"Imported Obj! Contains: "+body.vtxs()+" vertexes and "+ ((body.parts()==1)?S+body.parts()+" part!":S+body.parts()+" parts!"),3);
} else {
Tools.setText("Error importing OBJ.",3);
return;
}
body.setRender();
- is it something to do with not having skinning data on each vertex? If so, what is the easiest way that I get it to work? (p.s also it doesn't show tesselation - which would be nice) (pp.s. for the displacement map tesselation in the future, i'm not sure if you've seen this:
http://www.geeks3d.com/forums/index.php/...767.0.html video here:
http://www.youtube.com/watch?v=GQJ7_eaM05E) - would be cool to see this kind of thing in the engine later.
2. World Editor.exe crashes (the x64 bit and DX10 versions work fine) - it says it can't load the main shader, since the previous update.
3. Since the latest update, I get the following build warnings:
Code:
1> Creating "Release\Research.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>ClCompile:
1> All outputs are up-to-date.
1> Tools.cpp
1>ResourceCompile:
1> All outputs are up-to-date.
1>EsenthelEngine.lib(Window IO.obj) : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:ICF' specification
1> Research.vcxproj -> C:\Users\Chris\Research\Research.exe
1>FinalizeBuildStatus:
1> Deleting file "Release\Research.unsuccessfulbuild".
1> Touching "Release\Research.lastbuildstate".
Thanks,
Chris