0

以下を使用して、イメージ ファイルをメッシュ タイプの stl ファイルに追加しようとしています。

<script>
   <name>Logo/R2S</name> 
   <uri>model://r2s_cupcar/materials/scripts/logo.material</uri>
   <uri>model://r2s_cupcar/materials/logo/r2s.png</uri>
</script>

.materialファイルに加えた変更:

{
    technique
    {
        pass
        {
            texture_unit
            {
                texture r2s.png
                scale 150.0  1.0
            }
        }
    }
}

私の設定ファイル:

<model>
  <name>R2S Cup Car</name>
  <version>1.0</version>
  <sdf version="1.5">r2s_cupcar.sdf</sdf>
  <author>
    <name>Benjamin Perseghetti</name>
    <email>bperseghetti@rudislabs.com</email>
  </author>
  <description>A model of the R2S Cup Car.</description>
</model>

.sdf.jinjaロゴ画像を適切に含めるために、ファイルにどのような変更を加えることができますか。今、モデルの画像ファイルから異なる色を取得しています。

4

0 に答える 0