Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Pages: [1] 2  All

Author Topic: Error displaying 3ds mesh  (Read 10203 times)

0 Members and 1 Guest are viewing this topic.

alelink

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 31
    • View Profile
    • Overcast - Visual Art
Error displaying 3ds mesh
« on: July 12, 2005, 11:51:34 PM »

hello,
I've created a simple mesh in Blender,
I've renamed in a proper manner all the object (walk_, ...).
The scene editor loads the file, display the camera's name, but not the mesh.
If I override the FOV, I can see the walkpoint I've inserted from blender.
If need I can post the 3ds file.

is this a know problem?
is a scale problem?

thanks
Logged

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 690
    • View Profile
Re: Error displaying 3ds mesh
« Reply #1 on: July 13, 2005, 09:18:26 AM »

I've created a simple mesh in Blender,
The scene editor loads the file, display the camera's name, but not the mesh.

I assume you used my extended exporter script for it? Hmm, I don't know this problem yet, though I didn't test the exporter with newer Blender builds. But there shouldn't be a problem about that actually... so I've got no idea, but feel free to send a link to the 3DS - or even better the Blender file - and I'll look into.
Logged
Mooh!

alelink

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 31
    • View Profile
    • Overcast - Visual Art
Re: Error displaying 3ds mesh
« Reply #2 on: July 13, 2005, 10:54:18 AM »

Hello Jerrot,
this is the link to the blender file: www.overcast.it/sample/3dsWalkMap.zip
there's a cube in the scene that I use to target the camera, because I render in Maya and then I create the
collision mesh in blender.
I use the 2.37a version.

thanks
Logged

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 690
    • View Profile
Re: Error displaying 3ds mesh
« Reply #3 on: July 13, 2005, 11:27:37 AM »

Ok, I'll have a closer look into later today, couldn't find what's wrong on the first sight. Just a first remark for now: Unfortunately you must not used targeted cameras, they don't work (3DS doesn't support them correctly, although it "somehow" saves them).
Logged
Mooh!

alelink

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 31
    • View Profile
    • Overcast - Visual Art
Re: Error displaying 3ds mesh
« Reply #4 on: July 13, 2005, 11:36:51 AM »

Hello,
thanks for helpin' me.

Blender doesn't support target cameras, I've constrained the camera to look
to the cube.
It isn't proper a camera with target, I think ???
Logged

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 690
    • View Profile
Re: Error displaying 3ds mesh
« Reply #5 on: July 13, 2005, 12:46:43 PM »

Blender doesn't support target cameras, I've constrained the camera to look
to the cube.

Ah, right, I saw the constraint and mismatched it with 3ds max, which supports them, sorry. Still too much to do here on work, I'll retry in about 5 hours (ugh... darn, it's too hot to work!). :)
Logged
Mooh!

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 690
    • View Profile
Re: Error displaying 3ds mesh
« Reply #6 on: July 14, 2005, 08:47:00 AM »

I didn't get why it's not working yet. :( Maybe there is really something different in newer Blender versions, but right now I can't test it. But I keep it in mind and will check it out later - if necessary I'll try to upgrade the exporter somewhen. I hope not though. :)
Logged
Mooh!

alelink

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 31
    • View Profile
    • Overcast - Visual Art
Re: Error displaying 3ds mesh
« Reply #7 on: July 14, 2005, 10:10:16 AM »

Hello,
I've tryied to export using Blender 2.36, and did'nt work again.
Logged

Nihil

  • Supporter
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 528
  • Fear me! I'm evil!
    • View Profile
    • Order of Dagon
Re: Error displaying 3ds mesh
« Reply #8 on: July 14, 2005, 11:30:36 AM »

I think I found the bug (at least it worked here):

In Blender 2.35 they changed the API, so that the object-matrix is calculated differently now - that's why the geometry is out of place now. To overcome this just open the script and change the lines containing

matrix = obj.getMatrix()

to

matrix = objGetMatrix('old_worldspace')
(should be there 3 times)

Hope that works.

alelink

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 31
    • View Profile
    • Overcast - Visual Art
Re: Error displaying 3ds mesh
« Reply #9 on: July 14, 2005, 11:53:35 AM »

HEllo,
thanks for reply,

are you sure that the right method is objGetMatrix() and not obj.GetMatrix('old_worldspace') ?
Logged

Nihil

  • Supporter
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 528
  • Fear me! I'm evil!
    • View Profile
    • Order of Dagon
Re: Error displaying 3ds mesh
« Reply #10 on: July 14, 2005, 12:00:02 PM »

No, you are right, I missed the dot :-) Oh, and it's getMatrix, not GetMatrix.

alelink

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 31
    • View Profile
    • Overcast - Visual Art
Re: Error displaying 3ds mesh
« Reply #11 on: July 14, 2005, 12:02:00 PM »

HEllo,
the right method was: obj.getMatrix('old_worldspace'), or so the script works....
....but for me WME doesn't display the mesh correctly.

Nihil, which Blender release you use? I use the 2.37.
WME loads and display the mesh right?


thanks
Logged

Nihil

  • Supporter
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 528
  • Fear me! I'm evil!
    • View Profile
    • Order of Dagon
Re: Error displaying 3ds mesh
« Reply #12 on: July 14, 2005, 12:11:55 PM »

I use 2.37a, but it should work with all versions from 2.35 on.

What exactly is wrong? Does it at least display something now or has nothing changed yet?

alelink

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 31
    • View Profile
    • Overcast - Visual Art
Re: Error displaying 3ds mesh
« Reply #13 on: July 14, 2005, 12:29:34 PM »

no,
it doesn't display anything....
only if I change manually the FOV can see the 3 walkpoint I inserted.

you can see everything?
Logged

Nihil

  • Supporter
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 528
  • Fear me! I'm evil!
    • View Profile
    • Order of Dagon
Re: Error displaying 3ds mesh
« Reply #14 on: July 14, 2005, 01:02:24 PM »

Hmm, I look into it, don't know what could have happened there.
Pages: [1] 2  All
 

Page created in 0.041 seconds with 24 queries.