Mod Tool/Scripting: Difference between revisions

m
using Image: consistently to make it easier to find all image refs on a page
m (link fixes)
m (using Image: consistently to make it easier to find all image refs on a page)
 
(4 intermediate revisions by 2 users not shown)
Line 375: Line 375:




===dealing with different decimal marks===
===Dealing with different decimal marks===
Decimal sign is either period or comma.
Decimal sign is either period or comma.


Line 1,052: Line 1,052:
===Byte array -> string===
===Byte array -> string===
  Function ByteArrayToString(Binary)
  Function ByteArrayToString(Binary)
   'Antonin Foller, http://www.motobit.com
   'Antonin Foller, https://www.motobit.com/
   'Optimized version of a simple BinaryToString algorithm.
   'Optimized version of a simple BinaryToString algorithm.
    
    
Line 1,443: Line 1,443:


====Bounding box values====
====Bounding box values====
  ' this could be useful to create a bounding box for [[OBD_talk:OFGA#XML|OFGA files]]
  ' this could be useful to create a bounding box for [[XML:OFGA|OFGA files]]
   
   
  ' let's get the bounding box of a simple cylinder
  ' let's get the bounding box of a simple cylinder
Line 1,736: Line 1,736:
==Softimage ICE==
==Softimage ICE==
===Show a simple value in the viewport===
===Show a simple value in the viewport===
[[File:XSI_ModTool_ICE_workaround_displaying_a_flag.png|thumb|400px]]
[[Image:XSI_ModTool_ICE_workaround_displaying_a_flag.png|thumb|400px]]


  CreatePrim "Cube", "MeshSurface"
  CreatePrim "Cube", "MeshSurface"
2,112

edits