View Issue Details

IDProjectCategoryView StatusLast Update
0000113Medieval EngineersFeature Requestpublic2022-11-16 17:54
Reporterpeaceman Assigned To 
PriorityhighSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Target Version0.8 (unreleased) 
Summary0000113: Allow multiple rope materials
Description

Rope material is hardcoded in MyRenderMessageEnum.CreateLineBasedObject
__ROPE_MATERIAL

Use texture name as material like __ROPE_MATERIAL_rope_cm
add this name to MyRenderMessageUpdateLineBasedObject.
The texture name then needs to be saved where rope object id's are saved (RopeConstraint, rope tool, ...)

Even easier fix would be to use the object id to make materials unique, but I assume this would cost too much performance.

Bonus feature: add a float to MyRenderMessageUpdateLineBasedObject for the rope width set in MyLineHelpers.GenerateVertexData

TagsNo tags attached.

Relationships

child of 0000080 assignedequinox Rope Instancing  

Activities

peaceman

2021-09-21 13:57

reporter   #~0000051

Adding description here because can't see it anywhere.

Rope material is hardcoded in MyRenderMessageEnum.CreateLineBasedObject
__ROPE_MATERIAL

Use texture name as material like __ROPE_MATERIAL_rope_cm
add this name to MyRenderMessageUpdateLineBasedObject.
The texture name then needs to be saved where rope object id's are saved (RopeConstraint, rope tool, ...)

Even easier fix would be to use the object id to make materials unique, but I assume this would cost too much performance.

Bonus feature: add a float to MyRenderMessageUpdateLineBasedObject for the rope width set in MyLineHelpers.GenerateVertexData

Issue History

Date Modified Username Field Change
2021-09-21 13:53 peaceman New Issue
2021-09-21 13:57 peaceman Note Added: 0000051
2022-01-29 21:32 equinox Target Version => 0.7.4 (unreleased)
2022-11-16 17:54 equinox Relationship added child of 0000080
2022-11-16 17:54 equinox Target Version 0.7.4 (unreleased) => 0.8 (unreleased)