Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Author Topic: Hidden Geometry file not fitting scene  (Read 4117 times)

0 Members and 1 Guest are viewing this topic.

Diaf

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
    • View Profile
Hidden Geometry file not fitting scene
« on: April 28, 2009, 11:42:13 AM »

So I have made my characters and rendered a background scene.

Now I have been trying to make a Hidden Geometry file but for some reason when I import it into WME it doesn't fit neatly over my background image.

I created the room in Maya and exported it into 3DMAX using .fbx exporter and then exported it from there to a .3DS.

Really everything should be the same as my background image but things don't fit, parts of the geometry are missing and the room is unaligned.

Is there anyone who has had similar problems around who might have found a solution?
Logged

Spellbreaker

  • Supporter
  • Frequent poster
  • *
  • Karma: 4
  • Offline Offline
  • Gender: Male
  • Posts: 376
    • View Profile
    • Apeiron Studios
Re: Hidden Geometry file not fitting scene
« Reply #1 on: April 28, 2009, 04:16:49 PM »

First of all, check if the Object names are correct. Then you can use the fov slider in the sceneeditor to fit your geometry to the scene.
Logged

Diaf

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
    • View Profile
Re: Hidden Geometry file not fitting scene
« Reply #2 on: April 29, 2009, 08:22:31 AM »

This may or may not be related, but I think I've gotten the geometry file right, but now no matter what values I enter into scene.init the engine places the actors in the same spot in the center of the room.

What is the floor plane supposed to be called?
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Hidden Geometry file not fitting scene
« Reply #3 on: April 29, 2009, 08:37:22 AM »

You can override it, but by default the engine expects the mesh name starts with "walk_".
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Diaf

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
    • View Profile
Re: Hidden Geometry file not fitting scene
« Reply #4 on: April 29, 2009, 01:45:52 PM »

We changed the floor planes name but we are still having the same problem. The character is loading in the same spot and are incapable of moving, like they has an invisible box around them.

I made a new global variable called actor2 and loaded another actor to it. I tried to load him into the scene too at a completely different location but he ends up in the same space as the main actor.
« Last Edit: April 29, 2009, 02:12:44 PM by Diaf »
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Hidden Geometry file not fitting scene
« Reply #5 on: May 02, 2009, 08:51:44 AM »

How do you position the actor? (post exact code and where did you put it)
Do you see the walkplane in SceneEdit?
What if you use the actor placement tool in SceneEdit? Can you position the actor freely within the scene?
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Diaf

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
    • View Profile
Re: Hidden Geometry file not fitting scene
« Reply #6 on: May 03, 2009, 05:16:25 AM »

In the scene_init.script I just have:

actor.SkipTo(745, 890);
actor.Direction = DI_DOWN;
actor.Active = true;

I think I can see the walk plane in SceneEdit, here is a copy of the 3ds file we are using if it helps http://www.mowensworld.net/HiddenGeometry.3DS

I can try use the placement tool but all it does it place a version of the actor in the middle of the screen and I loose my cursor (i.e. can't see it) and can't freely place it anywhere. The placed actor does not appear in the scene when I run the game.
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Hidden Geometry file not fitting scene
« Reply #7 on: May 04, 2009, 08:52:33 PM »

The walk plane is upside-down. Either rotate it by 180 degrees, or convert the plane into a cube to be sure.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.058 seconds with 21 queries.