Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Outerra Tech Demo download. Help with graphics driver issues

Author Topic: Grouping of several objects  (Read 9006 times)

Bob425

  • Jr. Member
  • *
  • Posts: 45
Grouping of several objects
« on: December 24, 2017, 12:31:57 pm »

Can anyone explain how to group several models, so that they appear in the Asset Menu under a single folder?
Logged

patmarrnc

  • Full Member
  • ***
  • Posts: 136
Re: Grouping of several objects
« Reply #1 on: January 05, 2018, 11:07:43 pm »

Hi Bob425,
First of all, I want to thank you for making your Mersey available. I downloaded it and have been enjoying it.

I'm a newbie here, so I don't have many answers... but here is my understanding of the question you have asked:

any time there is more than one OBJDEF file in a packages directory, the subject of the OBJDEF will show up as an item within a folder.  Looking at the folders in Levi's World2XPlane series, I see that he has many OBJDEF files but only one PKG file.  I'm guessing that the original model that was uploaded had many submeshes that are referenced by the various OBJDEF files in the folder.  I believe this to be true because even with only one PKG file, the models in the folder are frequently different shapes and sizes.

It is also possible to have multiple OBJDEF files in a folder for the purpose of sending different parameters to a script or when using more than one script with the same geometry.

Logged

pedropp222

  • Member
  • **
  • Posts: 82
  • 255.82 hours played since August 17, 2014
Re: Grouping of several objects
« Reply #2 on: January 29, 2018, 11:56:39 am »

I would like to know this as well! I created 3 different cubes and tried to import to outerra.



Does not matter what I do, it always joins the meshes into 1 thing. I tried everything.



If anyone could explain how to somehow make them a separate mesh, as they should be, I would appreciate it. This is impacting my desire do make assets.
Logged

KW71

  • Outerra Developer
  • Hero Member
  • *****
  • Posts: 760
  • Love OT!
Re: Grouping of several objects
« Reply #3 on: January 31, 2018, 08:22:15 am »

Hi, pedropp222!

Is not possible with .fbx (for now; probably soon). You need to use collada (.dae) instead (I guess the collada importer is F7, click on "assets", click on "import dae".

Every different object in your 3d app will be imported into a single .pkg, but you'll see a different .objdef and .mtl for each.
Usually, if all of them use the same material and texture, you edit their .objdef files so all of them "point" to a single .mtl file, and you delete the others.
Logged
"A man who is contented with what he has done, will never become famous for what he will do".

pedropp222

  • Member
  • **
  • Posts: 82
  • 255.82 hours played since August 17, 2014
Re: Grouping of several objects
« Reply #4 on: February 02, 2018, 07:07:19 am »

Thank you very much, that's exactly what I wanted! Now I can make assets :)
Logged

KW71

  • Outerra Developer
  • Hero Member
  • *****
  • Posts: 760
  • Love OT!
Re: Grouping of several objects
« Reply #5 on: February 02, 2018, 08:17:41 am »

 
Thank you very much, that's exactly what I wanted! Now I can make assets :)

Glad to help!  :)
Logged
"A man who is contented with what he has done, will never become famous for what he will do".

Bob425

  • Jr. Member
  • *
  • Posts: 45
Re: Grouping of several objects
« Reply #6 on: February 04, 2018, 03:30:10 am »

I'm sorry, I must be thick, but I still don't get it.

I have made 4 different traffic lights, 1way, 2way, 3way & 4way
They are in a folder called traffic lights on my desktop with the four respective .dae files and their texture folders.
I open the dae importer, and I can only select each one at a time, resulting in individual entry's in the assets.
What am I missing????
Logged

pedropp222

  • Member
  • **
  • Posts: 82
  • 255.82 hours played since August 17, 2014
Re: Grouping of several objects
« Reply #7 on: February 04, 2018, 07:24:59 am »

You just need to have the different variations of the traffic lights in the same file, like what I did with the sign pack.



Every sign is a separate object. It does not matter if they overlap like that.

When you export as collada file, the dialog will say something like this:



That's correct.

Then, import the collada file in outerra and in the packages folder every object will be separate.



Logged

Bob425

  • Jr. Member
  • *
  • Posts: 45
Re: Grouping of several objects
« Reply #8 on: February 04, 2018, 09:32:50 am »

Got it at last!!!!

Thank you very much!
Logged

patmarrnc

  • Full Member
  • ***
  • Posts: 136
Re: Grouping of several objects
« Reply #9 on: February 04, 2018, 12:42:14 pm »

You just need to have the different variations of the traffic lights in the same file, like what I did with the sign pack.

Hey Pedropp222...  I installed your signs, but on my system they showed up as separate entries in my asset list, not as a folder (which is a much more efficient presentation)
(Maybe I downloaded an early version?)

Can you direct me to a link for an installer that will put all of your signs in a folder? Then I can clean up my asset area by removing all of the individual signs
( never mind.  I found a link for your updated signs but my virus program throws all kinds of red flags on that site so I'm not willing to DL anything from there)

Thanks to everybody who helped to explain this topic.   I actually got similar results with FBX, but in a different way:

I created one generic sign, then copied the MTL and OBJDEF files for that first sign and edited them to add new sign textures.  For each OBJDEF file I got a new entry in my folder.  In my case, the signs all have the same shape (rectangular)

Naming convention for the files was as follows:
park_signs.objdef, park_signs.mtl
park_signs1.objdef, park_signs1.mtl
park_signs2.objdef, park_signs2.mtl
etc

when I named them differently than the original, it didn't work.

Just 1 PKG file, from the original sign.
« Last Edit: February 04, 2018, 01:01:08 pm by patmarrnc »
Logged

pedropp222

  • Member
  • **
  • Posts: 82
  • 255.82 hours played since August 17, 2014
Re: Grouping of several objects
« Reply #10 on: February 05, 2018, 05:20:35 am »

Sorry for that, I will change the download link then (changed :) ).
« Last Edit: February 05, 2018, 05:31:33 am by pedropp222 »
Logged

patmarrnc

  • Full Member
  • ***
  • Posts: 136
Re: Grouping of several objects
« Reply #11 on: February 05, 2018, 12:29:45 pm »

Sorry for that, I will change the download link then (changed :) ).

Thanks!  I'm guessing this is the new link?
http://www.mediafire.com/file/iwnc2zw2fqbjw9y/AmericanSignPack.pedropp222.otx

I DL and installed it... looks great! I appreciate your willingness to share your work with others
« Last Edit: February 05, 2018, 01:58:02 pm by patmarrnc »
Logged

pedropp222

  • Member
  • **
  • Posts: 82
  • 255.82 hours played since August 17, 2014
Logged

patmarrnc

  • Full Member
  • ***
  • Posts: 136
Re: Grouping of several objects
« Reply #13 on: February 05, 2018, 04:02:38 pm »

Inspired by the fact that Outerra's natural grandeur is like spending time in a national park, I've been developing assets for creating my own parks. Since we're on the topic of many objects in one folder, and of signs in particular, here's a link to my Park Signs folder:

https://www.dropbox.com/s/h4340nb4zd6ekyf/PARK_SIGNS.patmarrnc.otx?dl=0

Standard disclaimers apply. I'm a novice at all this.
Logged

Bob425

  • Jr. Member
  • *
  • Posts: 45
Re: Grouping of several objects
« Reply #14 on: February 05, 2018, 04:43:21 pm »

Thanks for the link, patmarrnc.
I can see why this collection needed t go into a folder !!!!!!
Logged