mrdoob / three.js

JavaScript 3D Library.
https://threejs.org/
MIT License
99.32k stars 35.12k forks source link

Question: "overlapping" alpha transparency #1120

Closed plopidou closed 12 years ago

plopidou commented 12 years ago

Hello all :)

I finally managed to display textures with alpha transparency after reading alteredq's latest comment on #1089.

Obj export with the following options (partly thanks to http://dev.opera.com/articles/view/porting-3d-graphics-to-the-web-webgl-intro-part-2/):

The .obj->.js step is using only the -i -o arguments.

In the final .js:

Pray, press f5. Enjoy :-)

Sorry for being so verbose, as some others might run into the issues I had.

Now all is good, except for a series of artifacts on the transparent leaves material - that is defined thanks to a PNG with alpha transparency. As in the following image:

http://imageupload.org/?d=F9F6A64E1

Again, it's probably all on me .. so any pointers would be greatly appreciated. :)

Cheers!

plopidou commented 12 years ago

154 ...