May 22, 2012, 04:54:36 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Please report any bugs or issues that you might be encountering with the Beta in the Support System so that we can better keep track of any oustanding issues that may come up.

GameCore Support System
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: No textures after export.  (Read 459 times)
Rutrem
Jr. Member
**
Posts: 53



View Profile WWW
« on: August 29, 2008, 04:26:32 PM »

I have created an 3d scene, all the objects(.obj) and textures(.psd), are placed in the media/objects/Geometry folder.
i edited the .mtl files to point the textures in the Geometry folder...
no errors in the editor, when i launch the scene everything looks like in the editor, no errors at all.

But when i export the game, the textures are gonne???
Logged
Rutrem
Jr. Member
**
Posts: 53



View Profile WWW
« Reply #1 on: August 29, 2008, 04:40:48 PM »

ops, false alarm :d
i did not noticed the folder path of the textures in the .opr file
 Grin
Logged
gekido
Guest
« Reply #2 on: August 29, 2008, 05:04:34 PM »

you should not need to edit the OPR file manually - worst case is that you need to use the 'edit surfaces' panel to check that every surface has a texture properly mapped (at least the ones that the model uses).

As well, what you do want to do to doublecheck everything is ok for export:

1) make sure that the object & textures are cached - there should be a 'bvj' file for every texture that the object uses - these are the cached' textures that the engine actually uses (instead of the actual psd textures) when the game is run.  Because the exported game 'archive' file is read-only, the engine can't cache them after export, so it is important to make sure that you have cache'd them appropriately (this is done simply by loading the object in the editor / object viewer - loading it once will cache the textures properly).

2) for objects that are NOT 'editable' objects - ie terrains, roads, geometry boxes - there will be also an associated 'bvo' file that is created - this is the cache'd version of the object.  Editable objects aren't cache'd and are rebuilt everytime they are loaded, so you don't need to worry about them being cache'd.

Again, simply loading the model in the editor will cache them properly (objects & textures), so most of the time, as long as you have loaded the world prior to export, you will be ready to go for exporting.
Logged
Pages: [1]
  Print  
 
Jump to:  

 
Powered by MySQL Powered by PHP bluBlur Skin © 2006, hbSkins
Powered by SMF 1.1.14 | SMF © 2006-2011, Simple Machines LLC
Valid XHTML 1.0! Valid CSS!