Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3508 Members - Latest Member: PienueDut

26. May 2012, 08:20:00 am
Xith3D CommunityGeneral CategorySupport (Moderator: Marvin Fröhlich)Models are black from blender
Pages: [1] 2
Print
Author Topic: Models are black from blender  (Read 3769 times)
Dori
Enjoying the stay
*
Offline Offline

Posts: 90


View Profile
« on: 28. January 2007, 08:51:40 pm »

Hi I am new here and I am trying to import models from Blender, I'm using obj and when I import them the are black. This happens when using jme to so I think it has something to do with blender.
Thanks
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #1 on: 28. January 2007, 08:59:48 pm »

Hi I am new here and I am trying to import models from Blender, I'm using obj and when I import them the are black. This happens when using jme to so I think it has something to do with blender.
Thanks

Hi, Dori. Welcome to Xith3D.

As far as I know, Blender doesn't export to OBJ with Textures. Please try another format. Or maybe I am wrong. Please have a look at the .mtl file. Is the texture listed there?

Marvin
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #2 on: 28. January 2007, 09:15:35 pm »

I found this or blender.org. Scoll down to obj importer/exporter. Maybe this one does it better.

Marvin
Logged
Dori
Enjoying the stay
*
Offline Offline

Posts: 90


View Profile
« Reply #3 on: 28. January 2007, 09:23:58 pm »

Thanks I will look at it
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #4 on: 29. January 2007, 11:18:12 am »

The latest version of Blender (2.4.2a) has improved out-of-the-box support for obj export. It seems to be able to export textures as well.

Marvin
Logged
'n ddrylliog
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« Reply #5 on: 29. January 2007, 05:58:50 pm »

Hi Dori, and welcome to Xith3D('s boards) !

I use successfully Blender3D -> Wavefront OBJ -> Xith3D in my game, please report any further problems/suggestions.
Logged
Dori
Enjoying the stay
*
Offline Offline

Posts: 90


View Profile
« Reply #6 on: 30. January 2007, 01:28:30 am »

when I export from this obj exporter the items are now white and also with this
http://www.quake3bits.com/htm/tools_utilities.htm ASE exporter, I'm using blender from Ubuntu repos.
What I do is use the default box that opens wen blender open, then apply textures or color then export it. Using both ase and obj format the models are now white in both xith3d and jme. What am I doing wrong.?
Logged
'n ddrylliog
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« Reply #7 on: 30. January 2007, 09:01:33 pm »

when I export from this obj exporter the items are now white and also with this
http://www.quake3bits.com/htm/tools_utilities.htm ASE exporter, I'm using blender from Ubuntu repos.
What I do is use the default box that opens wen blender open, then apply textures or color then export it. Using both ase and obj format the models are now white in both xith3d and jme. What am I doing wrong.?
What are you doing wrong ? Easy.
In Blender, you have several ways to apply textures.
By default you have no UV coordinates.
Attached are instructions to have OBJ-Blender-Xith3D winning triplet working correctly Smiley
Logged
Dori
Enjoying the stay
*
Offline Offline

Posts: 90


View Profile
« Reply #8 on: 30. January 2007, 11:07:56 pm »

Great thanks very much! That is exactly the tutorial I was looking for.  Cheesy
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #9 on: 30. January 2007, 11:47:15 pm »

@Dori: btw: Do you plan to use Xith3D or jME?

Marvin
Logged
Dori
Enjoying the stay
*
Offline Offline

Posts: 90


View Profile
« Reply #10 on: 31. January 2007, 12:28:27 am »

I want to use Xith, it is much cleaner API then jme but jme has better FPS when I load some models, don't know how it will be under much load.
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #11 on: 31. January 2007, 12:43:17 am »

I want to use Xith, it is much cleaner API then jme...

Good to know.

...but jme has better FPS when I load some models, don't know how it will be under much load.

When we are not implementing new features we are tuning Xith from time to time. So it will become faster and faster Smiley

Marvin

EDIT: Did you make sure, Display Lists are used in Xith3D. I don't know, how Display Lists are made use of in jME. In Xith3D you have to set the setType() method of a Shape3D. I will check, if DLs are used by default in the loaders and if not, if they can be used.
« Last Edit: 31. January 2007, 12:50:03 am by Marvin Fröhlich » Logged
Dori
Enjoying the stay
*
Offline Offline

Posts: 90


View Profile
« Reply #12 on: 31. January 2007, 01:31:23 am »

Where can I find more of these tutorials?
Logged
'n ddrylliog
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« Reply #13 on: 31. January 2007, 08:58:38 am »

Great thanks very much! That is exactly the tutorial I was looking for.  Cheesy
You're welcome.

Where can I find more of these tutorials?
Just ask (I did this one yesterday..)
Logged
hawkwind
Getting respectable
***
Offline Offline

Posts: 363



View Profile Email
« Reply #14 on: 31. January 2007, 01:30:59 pm »

where is tut...


The display list thing is news to me. how would/does one use it??
Logged
Pages: [1] 2
Print
Jump to:  

Theme orange-lt created by panic