Activity for Vinnie

  • Vinnie Vinnie posted a comment on discussion Open Discussion

    Hi Leo Don't sweat it, I've been meaning to look more into file formats to use for my own game so this conversation has been relevant. It seems to best thing to do is to apply the the final materials in your game editor instead of trying to rely on exporting it. I've test exported the obj to both FBX and Collada using Blender. The Collada seems to export both textures but the FBX export did not. I'm thinking for now I will be using Collada myself. INFO - External Texture (DIFFUSE): photo.jpg INFO...

  • Vinnie Vinnie posted a comment on discussion Open Discussion

    Hi Leo Looking at the files in Notepad++, I can't see any references to photo_alpha.jpg in either the .dae or .fbx files. I can see photo.jpg in both files however. I dont think Cinema 4D is exporting it. Having a quick look on google for "cinema 4d fbx export textures" it seems a lot of people have trouble with textures out of Cinema 4D. Since both the .fbx and .dae formats is ASCII, I would suggest you open the files in Notepad or Notepad++ and mess with the exporter settings until you see the...

  • Vinnie Vinnie posted a comment on discussion Open Discussion

    Hi leo Do you have link to the model file? I could run it through my exporter and see what happens. It is also using assimp, and granted I have time I can possibly fire up the debugger and see what it does. A note on chaning the file type to .JPG. I dont blelieve assimp opens / load / verify the existence of the external textures.

  • Vinnie Vinnie posted a comment on discussion Open Discussion

    Hi Leo Just a note, I'm just another user not a dev, but I would do the following things: Have you setup the logging stream for assimp? Have you tested this with other FBX files with Alpha channels? I.e. just a box, something simple. If you can check the Scene::mNumTextures variable, it will confirm if the texture was / was not embedded. Embedded textures can be internally compressed, so the Alpha texture you describe can be embedded below 13.2k. Did you build assimp from source or a have a debug...

  • Vinnie Vinnie posted a comment on discussion Open Discussion

    Hi Leo .FBX files can embedd textures into the file. Have you checked if it was embedded?

  • Vinnie Vinnie posted a comment on discussion Help

    Hi Guys Looking at the MDLLoader.cpp code file, it seems that a special file name is created for embedded textures. In particular, the macro looks like: /** @def AI_MAKE_EMBEDDED_TEXNAME * Used to build the reserved path name used by the material system to * reference textures that are embedded into their corresponding * model files. The parameter specifies the index of the texture * (zero-based, in the aiScene::mTextures array) */ #if (!defined AI_MAKE_EMBEDDED_TEXNAME) # define AI_MAKE_EMBEDDED_TEXNAME(_n_)...

  • Vinnie Vinnie posted a comment on discussion Help

    Hi Guys I found this: https://github.com/assimp/assimp/issues/408 However looking through the code I get how the textures are created, but then when the textures are used for rendering I see this: if(mesh->HasTextureCoords(0)) { // get current texture ID and check if need to enable new texture if(mesh->mTextureCoords[1][t].x != prev_tex_id_idx) { prev_tex_id_idx = mesh->mTextureCoords[1][t].x; glBindTexture(GL_TEXTURE_2D, textureIds[prev_tex_id_idx]); } } This seems to imply that the first value...

  • Vinnie Vinnie posted a comment on discussion Help

    Hi Guys (Kim) I realise this is a repeated questions, but I'm simply not getting it. I've looked at both the aiTexture and aiMaterial structures and are unable to work out how the aiMaterial reference embedded textures, i.e. those in Scene::mTextures[]. (I'm assuming the aiMaterial structure has knowlege of which embedded texture relates to it?) I'm currently using GetTextureCount() and GetTexture() to determine the path to the external textures, but how do I find the index into the Scene::mTextures[]...

  • Vinnie Vinnie posted a comment on discussion Open Discussion

    Cheers.

  • Vinnie Vinnie posted a comment on discussion Open Discussion

    Hi Guys I've seen the documentation on how extend the library with custom importers, are there any documention on extending it with custom exporters? Cheers -Vinnie

  • Vinnie Vinnie posted a comment on discussion Help

    Hi Karim I'm not an assimp developer, but I've written game engines for a while now...

  • Vinnie Vinnie posted a comment on discussion Open Discussion

    Glad you got it working.

  • Vinnie Vinnie posted a comment on discussion Open Discussion

    Hi Leo & Farhan I haven't used assimp in Visual Studio for a while, but here are...

  • Vinnie Vinnie posted a comment on discussion Open Discussion

    no worries. :)

  • Vinnie Vinnie posted a comment on discussion Open Discussion

    I've noticed there is actually a check on line 5 of assimp-config-version.cmake.in...

  • Vinnie Vinnie posted a comment on discussion Open Discussion

    Hi Guys When I specify the find package version as 3.3 for assimp in cmake, it complain...

  • Vinnie Vinnie posted a comment on discussion Open Discussion

    Cheers Kimmi.

  • Vinnie Vinnie posted a comment on discussion Open Discussion

    Hi Guys Firstly, excellent work on assimp! Secondly, I've successfully build and...

1