Opened 15 years ago
Closed 12 years ago
#243 closed enhancement (fixed)
"Non boned" Collada meshes should support multiple prop/attachment points
Reported by: | Michael D. Hafer | Owned by: | historic_bruno |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 8 |
Component: | Core engine | Keywords: | simple |
Cc: | Patch: |
Description
It is imperative to the game as designed that the game engine supports "static" "non-boned" Collada files, such as those created for ships and buildings, that include multiple prop-points. This is mainly for unit garrisoning purposes (units garrisoned on walls, battlements, towers, and on the decks of ships).
I am slating this for Beta, because for Alpha we could conceivably get by with just simple garrisoning capability without the propping. But for any public beta this feature should be implemented, as it is a major stated feature of the project.
Attachments (1)
Change History (10)
comment:1 by , 15 years ago
comment:2 by , 14 years ago
Keywords: | simple added |
---|
See source/collada/PMDConvert.cpp
(the FCDEntity::GEOMETRY
case) for the relevant code. Currently it just adds a prop point called "root" at (0,0,0), which is sufficient for basic uses, but it should still be extended to handle user-defined prop points.
comment:3 by , 14 years ago
Where could I find an example of static non-boned collada file with user-defined prop points ? Yet it's not possible to copy the "controller case" code since it looks for a skeleton.
comment:4 by , 14 years ago
Hmm, I think I actually did most of this yesterday (while wasting time importing models from Spring) - I'll attach my current patch. But I haven't tested it with any real models and I don't know if it works exactly like it should.
I don't remember any existing example files, but it seems fairly easy to create one in Blender: create two objects, then select one and use the Object panel -> Relations -> Parent and set it to other object then export. It would be good to have an example of a real game model to test this on.
by , 14 years ago
Attachment: | static-prop.patch added |
---|
comment:5 by , 14 years ago
comment:6 by , 13 years ago
Milestone: | Beta → Backlog |
---|
comment:7 by , 12 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:8 by , 12 years ago
Milestone: | Backlog → Alpha 8 |
---|
comment:9 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Copying description from #191: