Hi All.
This may well be described in one of the 151 pages in this thread, and if it is, my apologies...
I'm just getting started with this plugin and am trying to do something seemingly simple -- I'm trying to place a 2D image (.png) onto a 3Dplane. I've created an exported .obj file from Blender that uses a .png a file as texture for a Blender plane and everything can correctly in Blender. HOWEVER, when I try to load said .obj file into C2 (using the Position_and_Rotation_Actions demo this plugin comes with) I can't seem to get the Q3DModel to render -- the image's texture is not displayed. (I've set "Use Model" to Yes, and set "Model Materials" to Yes while also importing the OBJ file into the C2 Files folder)
Would someone be able to put a quick .CAPX together that accomplishes this? Perhaps this can even be done programmatically in C2? I'm not picky..
TD;DL: I have an 2D image I want to paste onto a 3D plane using this plugin
Cheers!
-Remy
To actually Get a model in that is textured you don't need any code at all.
You just need to import the model >> assign a texture to it via the animations panel Q3D Model object
Double click your Q3D model object in the object viewer (so it brings the image viewer)
Then go to file > open and find the texture you want to show on the model.
The most important thing is that you name the default animation to "DiffuseMap" and then run your project and it should work fine.
dl.dropboxusercontent.com/u/21548024/texturing.capx
I can't post urls so put https:// at the front of the URL above for a CAPX
UPDATE
-------------------
dl.dropboxusercontent.com/u/21548024/test/index.html
Add https:// to above for preview