Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: Problem with .3DS hidden geometry  (Read 4423 times)

0 Members and 1 Guest are viewing this topic.

HelLRaiseR

  • I don't want to make a Monkey Island clone :(
  • Wiki editor
  • Frequent poster
  • ****
  • Karma: 4
  • Offline Offline
  • Posts: 270
    • View Profile
    • Adventure Box Studios
Problem with .3DS hidden geometry
« on: May 23, 2009, 01:23:52 AM »

since a few days I have a problem with 3ds files. I've made a lot of hidden geometries, with 3D Max and Cinema 4D, and these geometries has been work OK. Since a few days, the geometries that I made, aren't recognise by WME. When I choose a 3ds file in scene editor, and check the "Display geometry" option, the scene edit only show the walk zones, and don't show the shadow zones. When I run the game, only the floor is recognized, but the polycount value contains all the polygons that corresponded to the geometry

I've reinstalled 3D Max, Cinema 4D and Wintermute, I've been checked the geometry.geometry file and this is OK, I've reset the geometry, I've reduced the polygon number, etc.

But the problem persist. Someone has had this problem?

   
I don't know what to do, because I can't create any geometry.
Logged
Regards,

    Fernando

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Problem with .3DS hidden geometry
« Reply #1 on: May 23, 2009, 08:14:37 AM »

Please post some of the problematic files.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

HelLRaiseR

  • I don't want to make a Monkey Island clone :(
  • Wiki editor
  • Frequent poster
  • ****
  • Karma: 4
  • Offline Offline
  • Posts: 270
    • View Profile
    • Adventure Box Studios
Re: Problem with .3DS hidden geometry
« Reply #2 on: May 23, 2009, 08:35:20 AM »

The old geometry file, (works ok) is this: http://www.adventureboxstudios.com/old_geometry.3ds

The new geometry file, (doesn't work) is this: http://www.adventureboxstudios.com/new_geometry.3DS
Logged
Regards,

    Fernando

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Problem with .3DS hidden geometry
« Reply #3 on: May 23, 2009, 08:54:44 AM »

Well you actually need the additional .geometry definition file, which tells what nodes should receive shadows.
Create a file called "new_geometry.geometry" in the same directory, containing:

Code: [Select]
GEOMETRY
{
  NODE
  {
    NAME = "shadow_*"
    RECEIVE_SHADOWS = TRUE
  }
}

And it will work.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

HelLRaiseR

  • I don't want to make a Monkey Island clone :(
  • Wiki editor
  • Frequent poster
  • ****
  • Karma: 4
  • Offline Offline
  • Posts: 270
    • View Profile
    • Adventure Box Studios
Re: Problem with .3DS hidden geometry
« Reply #4 on: May 23, 2009, 12:42:17 PM »

Lately I'm a bit silly. I have always used a file called geometry.3ds, until I started to optimize the geometry and I've used files with different names. The mistake is that I have assumed that all the geometries used the same file geometry.geometry. I wasn't supposed to be necessary a .geometry file for each .3ds file

Once again, thanks Mnemonic. I apologize the inconvenience of this kind of stupid mistakes (and for not read, I've seen it clearly that it's explain in the documentantion)
Logged
Regards,

    Fernando

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Problem with .3DS hidden geometry
« Reply #5 on: May 23, 2009, 12:47:38 PM »

If it makes you feel better, I didn't remember the shadow_* name wasn't implicit either. I only remembered when I looked into code :)
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

HelLRaiseR

  • I don't want to make a Monkey Island clone :(
  • Wiki editor
  • Frequent poster
  • ****
  • Karma: 4
  • Offline Offline
  • Posts: 270
    • View Profile
    • Adventure Box Studios
Re: Problem with .3DS hidden geometry
« Reply #6 on: May 23, 2009, 04:50:38 PM »

Yes, it makes me feel better ;)
Logged
Regards,

    Fernando
 

Page created in 0.029 seconds with 20 queries.