XML:ONLV: Difference between revisions

1,652 bytes added ,  21 July 2014
m
Import of object groups: use groups in Sketchup, use hierarchies in Mod Tool
m (OBJC means "Objects", not "Object Collection")
m (Import of object groups: use groups in Sketchup, use hierarchies in Mod Tool)
Line 450: Line 450:
  }
  }
-->
-->
=====Import of object groups=====
'''Mod Tool versus Sketchup'''
The meaning and behavior of "groups" greatly differs in these two programs.
:'''In Sketchup you can group objects which enables you to easily duplicate all objects inside a group''' and to scale/rotate/translate all together.'''
:'''In Mod Tool''' grouped objects are still lose and duplicating a group won't duplicate the objects. To achieve the same effect as in Sketchup, '''you have to create a hierarchy whereby any object can be the "parent" and all others the "children".'''
'''Google Sketchup'''
To create a group select two or more objects, right-click on the selection, "make group".
[[Image:ModTool_can_import_objs_in_hierarchies.jpg|right|thumb|obj hierarchies]]
'''Mod Tool'''
Either use the Explorer (A) or the Schematics(B) to create a hierarchy.
:(A) In Explorer window, drag and drop one or more objects onto another one.
:(B) Open the constrain tab at the right side. Select parent object, click "Parent", click the child object(s). Check the result in the Schematics window.
:'''Mod Tool: caution when saving to dae!'''
:A normal selection won't do. You have to select the object tree to successfully save a hierarchy. This is same way you do with Oni characters.
<!--
=====Import of smart object groups=====
Let's say there are two groups. If an edit is made to one mesh the clone in the other group is instantly edited the same way.
So that's a smart group.
:In Sketchup it is named "component".
:In Mod Tool it's named ???.
::(Can be imported from Sketchup dae file but cause a crash when re-saving. I guess a script is needed to do the job.)
-->


=====Breakable glass with BSL recognition=====
=====Breakable glass with BSL recognition=====
Line 667: Line 708:


[[Image:Oni_Lightmaps_double_polygon_method.jpg|center]]
[[Image:Oni_Lightmaps_double_polygon_method.jpg|center]]


====<Rooms>====
====<Rooms>====
8,452

edits