» 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

~2h ago

u7angel: twitch livestream vvvv gamma

~24h ago

u7angel: @domj, sure

~24h ago

domj: @u7angel: nice! How about the talk later at 7?

~1d ago

u7angel: vvvv-gamma-presentation will be streamed on twitch, starts 2pm, channel name is vvvv gamma

~1d ago

joreg: vvvv heads in #hamburg #kiel: if you're bored this thursday, please come join us for a workshop and/or talk: vvvv-gamma-presentation

~2d ago

sebescudie: @teckor: maybe ui-plugin ?

~2d ago

tekcor: wasn't there a contribution for making native windows GUIs?

~3d ago

joreg: Looking for a #vvvv job in #berlin? don't miss this one: https://discourse.vvvv.org/t/looking-for-vvvv-artists-permanent-in-berlin/17448

~3d ago

domj: vvvv gamma audio input with Naudio https://youtu.be/iBRZ3tsc_BI