Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

12046 Posts in 1593 Topics- by 595 Members - Latest Member: KeelmHaxabefe

22. May 2013, 09:32:17 pm
Xith3D CommunityGeneral CategorySupport (Moderator: Marvin Fröhlich)COLLADA Textures and faces trouble
Pages: [1]
Print
Author Topic: COLLADA Textures and faces trouble  (Read 689 times)
sickfar
Enjoying the stay
*
Offline Offline

Posts: 46


Eat fish - it contains phosphor

358797535
View Profile WWW Email
« on: 22. May 2012, 07:54:28 am »

Hi! Here is my source code, texture, model and screenshot. As you can see, faces are invisible, texture is drawn incorrectly. What's the trouble? Please help!
Logged
XamNiner
Just dropped in

Offline Offline

Posts: 10


View Profile Email
« Reply #1 on: 22. May 2012, 08:29:56 am »

I think your texture is wrong because you didn't define a new material for your appearance or otherweise it could stem from another lighting problem. You could try adding another light source like an ambient or directional light to your scene.
Logged
sickfar
Enjoying the stay
*
Offline Offline

Posts: 46


Eat fish - it contains phosphor

358797535
View Profile WWW Email
« Reply #2 on: 22. May 2012, 08:38:12 am »

The same, I've tried already!
Logged
sickfar
Enjoying the stay
*
Offline Offline

Posts: 46


Eat fish - it contains phosphor

358797535
View Profile WWW Email
« Reply #3 on: 22. May 2012, 09:14:28 am »

I've looked to materials. For some reason I can't apply new Ambiense to model's shapes, but can do it for primitives. Why is it so?
Logged
sickfar
Enjoying the stay
*
Offline Offline

Posts: 46


Eat fish - it contains phosphor

358797535
View Profile WWW Email
« Reply #4 on: 22. May 2012, 12:48:05 pm »

One more trouble is blender exporting textures - it conateined in image-library in .dae, but is not applied to anything, I don't know how to do this correctly
Logged
sickfar
Enjoying the stay
*
Offline Offline

Posts: 46


Eat fish - it contains phosphor

358797535
View Profile WWW Email
« Reply #5 on: 22. May 2012, 07:16:44 pm »

It's bad Blender : ) now I've made my models in Cinema 4D and that's OK : )
Logged
sickfar
Enjoying the stay
*
Offline Offline

Posts: 46


Eat fish - it contains phosphor

358797535
View Profile WWW Email
« Reply #6 on: 22. May 2012, 07:58:45 pm »

Hmmm... Now I'm trying to make some glass... Does Xith3D supports transparency? I can't find it in Material class : (
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4403


May the 4th, be with you...


View Profile
« Reply #7 on: 22. May 2012, 09:16:38 pm »

Have a look at TransparencyAttributes. Another way is to use vertex colors with alpha channel. But I guess, you should use a shader.
Logged
sickfar
Enjoying the stay
*
Offline Offline

Posts: 46


Eat fish - it contains phosphor

358797535
View Profile WWW Email
« Reply #8 on: 23. May 2012, 06:55:44 am »

Then... how can I do this? Or advice, which example test should I look from Xith3D Tests?
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4403


May the 4th, be with you...


View Profile
« Reply #9 on: 23. May 2012, 07:59:13 am »

There isn't really an example for such a shader. In this case you'll unfortunately have to learn GLSL and then use a general shader example from xith-tk to add it to the scenegraph.
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic