josmas / openwonderland

Automatically exported from code.google.com/p/openwonderland
GNU General Public License v2.0
3 stars 5 forks source link

OpenCollada to Open Wonderland issue #190

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using Maya 2011 with current version of OpenCollada
2. Export a simple model with an image texture(jpg)
3. Drag and dropping the model into Open Wonderland.

What is the expected output? What do you see instead?
-Expect to see the image on the model, instead just see a plan Lambert.

What version of the product are you using? On what operating system?
-Using the current version of Open Wonderland, even tried the preview of the 
new collada loader. I have tried using windows 7 and OS X 10.6.5.

Please provide any additional information below.
-Ive made sure the images are in the same directory and I have tried editing 
the name of the image and/or editing the collada file itself in many different 
combinations without any success. 

Original issue reported on code.google.com by mikemh...@gmail.com on 27 Jun 2011 at 5:06

Attachments:

GoogleCodeExporter commented 9 years ago
You need to to check the exporter you are using. According to the document, the 
exporter is:

<authoring_tool>FBX COLLADA exporter</authoring_tool>

I would expect:

<authoring_tool>OpenCOLLADA2011 x64</authoring_tool>

This exporter is not providing a valid definition of the texture. If you look 
at the effect named "lambert2-fx", you will see the diffuse texture is defined 
as:

<texture texture="file1-image" texcoord="CHANNEL0">

According to the COLLADA spec (v1.4.1 page 8-26), the texture needs to refer to 
a sampler2D object. This texture refers to an image directly, and not a sampler.

Also as a sidenote, the texture you provided is really big. I'm not sure if JME 
will accept a texture that size. You should limit your textures to square 
power-of-two sizes, typically either 512x512 or 1024x1024 wherever possible.

Original comment by jonathan...@gmail.com on 27 Jun 2011 at 5:34

GoogleCodeExporter commented 9 years ago
It turns out I was not loading the plugin correctly. I have got that all 
figured out now, but I am still having issues with the file textures. Although 
I have not played around with it enough to say there is a problem yet. I'll let 
you know how it goes and if I am in need of any other assistance. 

Thanks.

Original comment by mikemh...@gmail.com on 12 Jul 2011 at 2:41

GoogleCodeExporter commented 9 years ago
Closing down. Please feel free to re-open if more issues arise.

Original comment by josmasfl...@gmail.com on 7 Sep 2011 at 5:43