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: 3D actor not showing and returning an error  (Read 6657 times)

0 Members and 1 Guest are viewing this topic.

ARSoftware

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 18
    • View Profile
    • ARSoftware
3D actor not showing and returning an error
« on: September 10, 2007, 03:37:11 PM »

I've just started to look into WME and have hit a stumbling block pretty quickly. I'm running the latest beta version (also tried the release version) on Windows Vista Premium x64. For some reason if I create a new project, delete 'Molly' and import the trinity 3d actor (naming it 'player'), it doesn't show up when I attempt to use the scene placement option (to check actor sizes), and when I run the game it returns an error:

Error opening file 'actors\player\player.actor'
CAdActor::LoadFile failed for file 'actors\player\player.actor'

But I can view the model perfectly well by navigating to the actor in the project tree.

Am I doing something wrong?
Logged

Nihil

  • Supporter
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 528
  • Fear me! I'm evil!
    • View Profile
    • Order of Dagon
Re: 3D actor not showing and returning an error
« Reply #1 on: September 10, 2007, 03:42:54 PM »

When you just replaced Molly (2d) with Trinity (3d) make sure that you use LoadActor3d instead of LoadActor.
And of course check if all paths are correct and you made no typos.

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: 3D actor not showing and returning an error
« Reply #2 on: September 10, 2007, 03:45:19 PM »

I'd guess the file is called "player.act3d", not "player.actor".
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

ARSoftware

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 18
    • View Profile
    • ARSoftware
Re: 3D actor not showing and returning an error
« Reply #3 on: September 10, 2007, 04:01:33 PM »

Making both the changes you guys mentioned worked and there is no longer any error messages, but the actor is still not showing up when I run the game or use the scene editors actor placement option.
Logged

Derrek3D

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 82
    • View Profile
Re: 3D actor not showing and returning an error
« Reply #4 on: September 10, 2007, 04:11:45 PM »

Do you have a hidden geometry in your scene? I may be mistaken but I think you need one in order to add a 3D actor.
Logged

ARSoftware

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 18
    • View Profile
    • ARSoftware
Re: 3D actor not showing and returning an error
« Reply #5 on: September 10, 2007, 04:13:27 PM »

I don't have any hidden geometry just yet. I will create some and see what happens, thanks.

UPDATE: I've exported out some geometry and the character is now showing. Thanks for your help.
« Last Edit: September 10, 2007, 04:53:45 PM by ARSoftware »
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: 3D actor not showing and returning an error
« Reply #6 on: September 10, 2007, 09:05:08 PM »

Yes, the geometry is required for 3D characters, because it defines the camera and the walking plane. Otherwise the engine wouldn't know how and where to paint the 3D character.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

redfox

  • Regular poster
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 122
    • View Profile
Re: 3D actor not showing and returning an error
« Reply #7 on: September 16, 2007, 12:01:08 PM »

Out of interest, Is there a way to use any 3D actors and not use Hidden Geometry? Can such things be set in the Scene Editors, such as direction of light and block objects/regions?
Logged

ARSoftware

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 18
    • View Profile
    • ARSoftware
Re: 3D actor not showing and returning an error
« Reply #8 on: September 16, 2007, 12:45:50 PM »

From my tests it doesn't seem possible, you must use hidden scene geometry correctly labeled in the 3DS file.
Logged

metamorphium

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 12
  • Offline Offline
  • Gender: Male
  • Posts: 1511
  • Vampires!
    • View Profile
    • CBE  software s.r.o.
Re: 3D actor not showing and returning an error
« Reply #9 on: September 16, 2007, 02:17:00 PM »

right now it's sufficient to have only a walk plane with a camera and lights in 3ds file. The rest can be done in the Scene Edit using the regions. On the other hand you'd loose the option to make stencil shadows without defining correct geometry elements in the 3ds file.
Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet

Thanatos

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 2
    • View Profile
Re: 3D actor not showing and returning an error
« Reply #10 on: October 04, 2007, 10:12:09 AM »

Hello...
where i can hidden geometry?
My 3D actor not showing in my scenes.  :(
Logged

odnorf

  • w00t?
  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 7
  • Offline Offline
  • Gender: Male
  • Posts: 1456
  • Lamp dog!
    • View Profile
Re: 3D actor not showing and returning an error
« Reply #11 on: October 04, 2007, 10:42:57 AM »

Everything is covered in details in the docs that you downloaded with the wme package.
Check in there "inside a game" -> "3D characters support"

In sort:
1) Create a 3DS geometry of the scene (simple 3D model)
2) Open the scene id SceneEditor
3) In the left panel choose the "3D tab"
4) Browse to the 3DS file (the geometry option)
Logged
fl*p

Thanatos

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 2
    • View Profile
Re: 3D actor not showing and returning an error
« Reply #12 on: October 04, 2007, 11:26:24 AM »

Ok...now is ok but...

I use geometry.3DS of Trinity scene...

How can create a basic geometry.3DS for my background.png?

Sorry but i'm a beginner  :(



Logged

odnorf

  • w00t?
  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 7
  • Offline Offline
  • Gender: Male
  • Posts: 1456
  • Lamp dog!
    • View Profile
Re: 3D actor not showing and returning an error
« Reply #13 on: October 04, 2007, 12:30:50 PM »

In the 3D application you prefer. Just make sure it has a 3ds exporter.
Logged
fl*p
 

Page created in 0.055 seconds with 20 queries.