Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Not Loading Object

Author
Message
MateiSoft
11
Years of Service
User Offline
Joined: 22nd Oct 2012
Location:
Posted: 3rd Mar 2018 11:44
Hello AppGameKit Programmers,

Can anyone explain to me why any model is not loading in AppGameKit? I am pretty sure that it's my fault, maybe i am not importing it correctly. Same applies to TIER 2. The code for TIER 1:



The object is attached to this thread!

Thank you!
www.alexmatei.com

Attachments

Login to view attachments
Zep
21
Years of Service
User Offline
Joined: 31st Aug 2002
Location: From PA, USA. Currently reside in Hanoi, Vietnam
Posted: 3rd Mar 2018 12:26
Loads fine in DB Pro, except for being HUGE. Maybe try scaling it down with whatever it was created with.

looks like some kind of humanoid thing...but no texture.

Oh, Looks like a shoe...then back away, back away..Oh it's a boot....backaway, back away

Oh there's a leg...etc. Until I saw the whole model.

I don't know about AppGameKit, but that model is huge in DBP.

It's only 3,804 polys, but man, the scale is off the scale!

MateiSoft
11
Years of Service
User Offline
Joined: 22nd Oct 2012
Location:
Posted: 3rd Mar 2018 12:31
Hey Zep,

It was used also in FPS Creator Classic which was created using DBPro.

As for AppGameKit, any model that i try to load, doesn't matter if it's .fbx, .x, .dae... does not show on screen. I tried with scale object but still no result.
www.alexmatei.com
Santman
12
Years of Service
User Offline
Joined: 15th Sep 2011
Location: Inverness
Posted: 3rd Mar 2018 12:39
What modelling software are you using?
Zep
21
Years of Service
User Offline
Joined: 31st Aug 2002
Location: From PA, USA. Currently reside in Hanoi, Vietnam
Posted: 3rd Mar 2018 12:41
I tried to look at it by opening it as a text file, I'm pretty much up on my X file format on my current project, but it was saved in binary it seems. So no good.

Oh..Hmmm, let me convert to mesh then save as X in DBP and look at the data that way...

gimme a few minutes.
Santman
12
Years of Service
User Offline
Joined: 15th Sep 2011
Location: Inverness
Posted: 3rd Mar 2018 12:41
Not at s pc right now, but try loadobjectwithchildren.....highly possible it's head and limbs are separate children, think Dbpro loaded them by default but in agk you gotta do it manually.
Zep
21
Years of Service
User Offline
Joined: 31st Aug 2002
Location: From PA, USA. Currently reside in Hanoi, Vietnam
Posted: 3rd Mar 2018 12:52
I made it a mesh.

can you load a "mesh" in AppGameKit?

I'll attach it. in dbp it's like

Load Mesh "mesh.x",meshnumber

Not sure if AppGameKit has that command or not.

Attachments

Login to view attachments
Zep
21
Years of Service
User Offline
Joined: 31st Aug 2002
Location: From PA, USA. Currently reside in Hanoi, Vietnam
Posted: 3rd Mar 2018 13:02
Quote: "Not at s pc right now, but try loadobjectwithchildren.....highly possible it's head and limbs are separate children, think Dbpro loaded them by default but in agk you gotta do it manually."


Statistic(5) in DBP say it's one object.

My model/texture viewer crashes trying to view it, so it must have more than 10 limbs (I only check for 10 in my viewer) as it gives me an array out of bounds error.

Not sure what that means...but there ya go
Zep
21
Years of Service
User Offline
Joined: 31st Aug 2002
Location: From PA, USA. Currently reside in Hanoi, Vietnam
Posted: 3rd Mar 2018 13:10 Edited at: 3rd Mar 2018 13:11
72 limbs

Attachments

Login to view attachments
MateiSoft
11
Years of Service
User Offline
Joined: 22nd Oct 2012
Location:
Posted: 3rd Mar 2018 13:20
LoadObjectWithChildren still does not work... it's in the scene but it's sort of hidden. We cannot see it but the object is loaded in memory... i re arranged the camera (a silly try obviously) maybe we didn't physically see it because of the camera... but still no success. Here is another object for testing, this time is FBX
www.alexmatei.com

Attachments

Login to view attachments
Zep
21
Years of Service
User Offline
Joined: 31st Aug 2002
Location: From PA, USA. Currently reside in Hanoi, Vietnam
Posted: 3rd Mar 2018 13:27
DBP cannot load FBX files You're on your own now.
MateiSoft
11
Years of Service
User Offline
Joined: 22nd Oct 2012
Location:
Posted: 3rd Mar 2018 13:35
I know it can't. I thought you can test it on AppGameKit and see if you got the same problem.
www.alexmatei.com
Santman
12
Years of Service
User Offline
Joined: 15th Sep 2011
Location: Inverness
Posted: 3rd Mar 2018 14:44
You need to add joints then, and assign the vertices to a joint before they will show up when loading with children I think. I'll have a look in half an hour.
MateiSoft
11
Years of Service
User Offline
Joined: 22nd Oct 2012
Location:
Posted: 3rd Mar 2018 14:48
I understand. Thank you Santman! I'll be patiently waiting your feedback!
www.alexmatei.com
Santman
12
Years of Service
User Offline
Joined: 15th Sep 2011
Location: Inverness
Posted: 3rd Mar 2018 16:05
It seems there is something wrong with the model. A model convertor and an online model convertor that do .X both say the model is damaged.

https://www.greentoken.de/onlineconv/

I did manage to import it into FragMotion and then export it as a .X file, saving the animation.

Attached lets you load it, and plays the animation.

Attachments

Login to view attachments
MateiSoft
11
Years of Service
User Offline
Joined: 22nd Oct 2012
Location:
Posted: 3rd Mar 2018 16:19
Thank you Santman for your awesome help and thank you to all above! My problem is fixed!

I will see where I can get models that are game ready this time.
www.alexmatei.com
MateiSoft
11
Years of Service
User Offline
Joined: 22nd Oct 2012
Location:
Posted: 3rd Mar 2018 16:30
BTW, AppGameKit can't handle large 3D models like the one attached?
www.alexmatei.com

Attachments

Login to view attachments
MateiSoft
11
Years of Service
User Offline
Joined: 22nd Oct 2012
Location:
Posted: 3rd Mar 2018 16:34
Apparently not large objects but this error:

> Failed to load object "media/Z3.FBX" - FBOM unsupported, old format version, supported are only FBX 2011, FBX 2012 and FBX 2013
www.alexmatei.com
Santman
12
Years of Service
User Offline
Joined: 15th Sep 2011
Location: Inverness
Posted: 3rd Mar 2018 17:39
Not sure, I've tried every format the help files say it can load and only ever got about half of them to work, maybe some formats are too new now. I have had it load a model of an entire city before though, so I think it can handle large objects, it's likely just the format. I stick to .OBJ files and then load them into Milkshake to do the animation. I use Photoshop to do the textures.....could never make head nor tale if substance painter.
MateiSoft
11
Years of Service
User Offline
Joined: 22nd Oct 2012
Location:
Posted: 3rd Mar 2018 20:20
I understand!

A huge thank you! [Handshake]
www.alexmatei.com

Login to post a reply

Server time is: 2024-04-20 02:27:07
Your offset time is: 2024-04-20 02:27:07