pmndrs / react-three-csg

🚧 Constructive solid geometry for React
https://csg.pmnd.rs
MIT License
289 stars 12 forks source link

Struggling with MorphTargets #18

Open marcofiletto opened 1 year ago

marcofiletto commented 1 year ago

Hi! the library doesn't support morphTarget updates on property? I need to update my morphs influences but seems that the library does not support this..

<Base 
      position={[0, 0, 0]} 
      geometry={geo.nodes.Main.geometry} 
      morphTargetDictionary={geo.nodes.Main.morphTargetDictionary}
      morphTargetInfluences={geo.nodes.Main.morphTargetInfluences}
>
    <meshStandardMaterial transparent />
  </Base>
fika00 commented 1 year ago

Yeah, I am struggling with this aswell... Trying to find a way to consolidate the geometry after the morph has been applied. I'll let you know if I find something.

marcofiletto commented 1 year ago

We exported and worked with the updated model from Blender to an OBJ. It's not the best way but it works at the moment.