Hi

I am writing a Collada exporter for my company side project so that I
can render some art asset in Away3D. So far I have made basic stuff
working (scene, geometry, diffuse texture...) but having a problem
handling transparency (or alpha, opacity) mapping.

To begin with, I made a simple 3dMax scene with diffuse map and
opacity map (using two images). When exported using OpenCollada, the
DAE file contains:

  <library_effects>
    <effect id="_1_-_Default">
      <profile_COMMON>
...
        <technique sid="common">
          <blinn>
...
            <transparent opaque="RGB_ZERO">
              <texture texture="Female04_Anime01_Hair_Sophie_Alpha_jpg-
sampler" texcoord="CHANNEL1"/>
            </transparent>

However, in src/away3d/loaders/Collada.as, I cannot find any code that
might handle it.
Thank you.


-- 
To unsubscribe, reply using "remove me" as the subject.

Reply via email to