» 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

~3d ago

cznickesz: @tonfilm thanks for the info. Can´t wait to give it a try!

~4d ago

tonfilm: @cznickesz #vvvv #vl #xenko integration is not ready for the public yet, it's still under heavy development... more updates soon.

~4d ago

cznickesz: Possibly dumb question: is there any release containing xenko-integration right now?

~5d ago

~5d ago

~6d ago

joreg: looking for latest #vvvv gamma preview? it is here: vvvv-gamma-2019.1-preview

~7d ago

udo2013: I just want to know why the camera does not work. should be easy to be answered.

~7d ago

udo2013: an answer, please. also there was a 4d julia set in dx9. that must have programmed one. haalllooo!!

~7d ago

udo2013: where are the people who have translated shadertoy's mandelbulb in hlsl ?? for vvvv