Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No transparency #83

Open
apm-lucas-zacharias opened this issue Oct 16, 2017 · 5 comments
Open

No transparency #83

apm-lucas-zacharias opened this issue Oct 16, 2017 · 5 comments
Assignees
Labels
Milestone

Comments

@apm-lucas-zacharias
Copy link

I tried everything but can't get transparency to work.
I exported from 3 different programs (Cinema 4D, Blender and 3dsmax) in all kinds of formats (.obj, .fbx, .3ds, .dae and so on) but every time neither the iOS App I wrote, nor the provided os x App shows any kind of transparency. Is this a well known missing feature or am I missing something?

@dmsurti
Copy link
Owner

dmsurti commented Oct 16, 2017

@Lucaszl Please attach a sample file (any 1 format will do) and screenshots of expected render vs what you get as that really helps to understand the problem clearly. Thanks.

@dmsurti
Copy link
Owner

dmsurti commented Oct 16, 2017

Btw, transparency is supported; so it should work.

@apm-lucas-zacharias
Copy link
Author

apm-lucas-zacharias commented Oct 17, 2017

Sure. I can't give you access to the files I tried yesterday as I am not allowed to share them but I tried a simple Cube with transparency and color and it's also not working.

This is what I am seeing in Cinema 4D:
transparency

And this is what I am seeing in the OSX Sample program:
screen shot 2017-10-17 at 08 52 50

It seems in this case it's ignoring the complete mtl file as even the color isn't applied. I also tried a version without transparency and the color is not showing up either.

Here is the obj and the mtl file in which you can see that a texture is applied with transparency and color:
TransparentCube.zip

@dmsurti
Copy link
Owner

dmsurti commented Oct 17, 2017

@Lucaszl

Sure. I can't give you access to the files I tried yesterday as I am not allowed to share them

That's understandable, no problem.

The sample file you have provided is sufficient for testing this bug. Thanks.

@dmsurti
Copy link
Owner

dmsurti commented Oct 17, 2017

Just tested with latest master. even with release v 1.2.0 you will get the colors. Please check what version you are using. But, yes there is the transparency not correctly applied and is a bug.

screenshot 2017-10-17 14 54 25

@dmsurti dmsurti self-assigned this Oct 17, 2017
@dmsurti dmsurti added the bug label Oct 17, 2017
@dmsurti dmsurti added this to the v1.3.0 milestone Oct 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants