» HowTo prepare X Files
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

HowTo prepare X Files

Russian | Italian

Export from 3D Modelling Software

Maya

See How to Export X Files from Maya

Cinema 4d

Cinema 4d offers built-in export for x-files, however vvvv had problems reading them (the mesh-output-pin said "nil"). Joreg mentioned XPORT (free), which offers an advanced dialogue and worked for me.
V10+ seems to export fine however the scale is wrong, if you scale to 100 in the export dialogue things seems a bit closer to the right range.
Collada files also work fine

note from u7angel: cinema4D 11.5 direct3D export does not save UV coordinates. only XPORT works

Blender

See elektromeier TutorialBlender

Probably the most complete free software for 3D modeling, Blender claims to have native X-File export. Anyone who's had experiences with that: please post it here.

blender web site

  • A blender plugin for .xporting, DirectX Exporter Mod - claims that it produces "well formated and accurate DirectX-Files"
  • official DirectX Exporter - personally i got better results with official directx exporter, especially since the above mentioned mod seems to be of an older date."
  • And the new blender version (2.40) offers "improved x-file export".

3dsMax

There is a plugin for max Panda xfile exporter
I usually find scaling the mesh to between 1% and 5% brings its scale in line with vvvv, otherwise its too big to see! Sometimes I have also had the nil pin as mentioned above, although I think it might be to do with mesh size!

Another alternative exporter is kW X-port. I highly recommend this one to people having problems with Panda xfile exporter.

Google Sketchup

There is also a plugin for exporting Google sketchup foiles into x.files. You will find x.exporter for Sketchup here. Just donwload and copy into plugin folder and it will be found in plugin tab.
Other link: link

TIP: This exporter is great for an easy and consistent way to get subsets in your X-Files. Just group whatever geometry you want as each subset and export. Sketchup orders the groups the order you created them or alphabetically. The exporter orders the subsets based on the group order so it's quite easy to manage what group end up as subset.

More useful tools:

Google Sketchup Warehouse has a huge library with free models.

Please also see the 3D Modelling section on the Graphics Links page

X-file in general

If you have trouble to open your x-file - mesh output pin of xfile.node shows NIL - then best you check your x-file manually. Open it with Wordpad and look if you have (in this order):

  • Material { ... } data,
  • Mesh { ... } data, (you'll probably have)
  • MeshMaterialList { ... } data,
  • MeshTextureCoords { ... } data,

One very rare problem could be, that your Frame name has a number in the beginning, in the end it isn't a problem.

You can very easy combine your x-file into a nested x-file containing several modells with own world-origins by copying all data inside the Frame { ... } tag and adding it in your destination x-file. So, you can add Frame under Frame there.
In VVVV you can switch between these modells by GetSlice.node or see all without former.
(I just did this with one texture for all modells)

Textures and UV Mapping

  • When in need of proper UV mapping, be sure to place a texture on the Object in your 3d Tool before you export as X File. As long as there is no texture attached, the UV maps won't work properly in VVVV.

anonymous user login

Shoutbox

~4h ago

joreg: vvvvTv S02E01 is out: Buttons & Sliders with Dear ImGui: https://www.youtube.com/live/PuuTilbqd9w

~6d ago

joreg: vvvvTv S02E00 is out: Sensors & Servos with Arduino: https://visualprogramming.net/blog/2024/vvvvtv-is-back-with-season-2/

~7d ago

fleg: hey there! What's the best tool for remote work? Teamviewer feels terrible. Thanks!

~20d ago

joreg: Last call: 6-session vvvv beginner course starting November 4: https://thenodeinstitute.org/courses/ws24-5-vvvv-beginners-part-i/

~1mth ago

joreg: Missed the last meetup? You can rewatch it here: https://www.youtube.com/live/MdvTa58uxB0?si=Fwi-9hHoCmo794Ag

~1mth ago

theurbankind: When is the next big event, like node festival ?

~1mth ago

~1mth ago

joreg: Join us for the next vvvv meetup on Oktober 17th: https://visualprogramming.net/blog/2024/25.-vvvv-worldwide-meetup/

~1mth ago

joreg: 6 session beginner course part 2 "Deep Dive" starts January 13th: https://thenodeinstitute.org/courses/ws24-5-vvvv-beginners-part-ii/