Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: Actor Default Material  (Read 3216 times)
cybertrickle
Community Member
*
Posts: 504


« on: December 28, 2002, 01:13:09 PM »

Remeber when I reported a bug with the actor material?

its still there.

I made a model in TrueSpace, and then applied a blue material
IN TRUESPACE to it... Then I exported it.

When I loaded it into an actor, the material was no tthere. Its pure white.
(The material was dark green)

Code:

Sub Load_MainMesh(Path As String)
    Set body = Scene.CreateMeshBuilder("Actor" & i)
    body.LoadSkinMesh Path
    body.SetPosition 0, 0, 0
    body.SetAlphaTest False
   
   
End Sub
Logged

Evan Duffield
Dymm Inc.
_______________
Project: Journeys End
Status Code: 80%
Status Modeling: 20%
Working on:  completion of demo
Arli
Administrator
Community Member
*****
Posts: 993


« Reply #1 on: December 28, 2002, 01:30:30 PM »

Try opening it in ModelView, tell me if its "materialed" there.

Because the material issue with X models was fixed, I made sure myself  :shock:!
Logged

Happy Coding

Arli
Truevision3D Developer
Arli@Truevision3D.com
cybertrickle
Community Member
*
Posts: 504


« Reply #2 on: December 28, 2002, 01:32:51 PM »

hmm. It has no material
Logged

Evan Duffield
Dymm Inc.
_______________
Project: Journeys End
Status Code: 80%
Status Modeling: 20%
Working on:  completion of demo
SylvainTV
Administrator
Community Member
*****
Posts: 4479


WWW
« Reply #3 on: December 28, 2002, 04:16:16 PM »

Can you post the generated X file here ?
Seems like it's not linked correctly in the file...

Does this happen in other viewer like 3d exploration or things like that?
Logged

Regards

Sylvain Dupont
TrueVision3D Developer
sylvain@truevision3d.com

TV3D IRC at http://chat.truevision3d.com or on server irc.truevision3d.com #Truevision3D. Come talk with us !
cybertrickle
Community Member
*
Posts: 504


« Reply #4 on: December 28, 2002, 04:19:58 PM »

I dont have 3d exploration.

I uploaded the file.

http://www.freewebz.com/forgottenuniverse/ballmat.x
Logged

Evan Duffield
Dymm Inc.
_______________
Project: Journeys End
Status Code: 80%
Status Modeling: 20%
Working on:  completion of demo
SylvainTV
Administrator
Community Member
*****
Posts: 4479


WWW
« Reply #5 on: December 28, 2002, 04:38:04 PM »

What happens if you load it just as a normal static X file with Mesh.LoadXFile ? LoadSkinFile is normally reserved for Animated files only.
Logged

Regards

Sylvain Dupont
TrueVision3D Developer
sylvain@truevision3d.com

TV3D IRC at http://chat.truevision3d.com or on server irc.truevision3d.com #Truevision3D. Come talk with us !
cybertrickle
Community Member
*
Posts: 504


« Reply #6 on: December 28, 2002, 04:40:18 PM »

exact same thing happens.
Logged

Evan Duffield
Dymm Inc.
_______________
Project: Journeys End
Status Code: 80%
Status Modeling: 20%
Working on:  completion of demo
SylvainTV
Administrator
Community Member
*****
Posts: 4479


WWW
« Reply #7 on: December 28, 2002, 05:00:28 PM »

OK will try it sometime this evening. weird thing.
Logged

Regards

Sylvain Dupont
TrueVision3D Developer
sylvain@truevision3d.com

TV3D IRC at http://chat.truevision3d.com or on server irc.truevision3d.com #Truevision3D. Come talk with us !
cybertrickle
Community Member
*
Posts: 504


« Reply #8 on: December 29, 2002, 05:11:48 PM »

ok. no hurry
Logged

Evan Duffield
Dymm Inc.
_______________
Project: Journeys End
Status Code: 80%
Status Modeling: 20%
Working on:  completion of demo
SylvainTV
Administrator
Community Member
*****
Posts: 4479


WWW
« Reply #9 on: December 30, 2002, 09:21:27 AM »

Works fine here.
Blue material even with specular lighting.

Try to add a directional light to your scene else it will look black because the ambient part of the material is totally black. So if no light, no diffuse color at all Smiley

You shoudln't use SetMaterial 0 either (it removes all kind of material)
Logged

Regards

Sylvain Dupont
TrueVision3D Developer
sylvain@truevision3d.com

TV3D IRC at http://chat.truevision3d.com or on server irc.truevision3d.com #Truevision3D. Come talk with us !
Sam
Community Member
*
Posts: 1


« Reply #10 on: April 02, 2007, 05:26:43 PM »

it's too late for me of reading the problem, how I wish I could help to find the solution and fix it. I know this had been resolved. Anyway keep in touch!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks