Hi Everybody,
I wonder how to access a file in VEX in order to read/parse a text file, or to write it
thanks in advance,
Julien
Accessing a File in Vex
4650 2 1- Undertaker
- Member
- 113 posts
- Joined: July 2005
- Offline
- xiondebra
- Member
- 543 posts
- Joined: July 2005
- Offline
Hi Julien,
You can't really read or write a file directly in VEX, I'm sure you're aware of the File SOP/CHOP/POP, etc. to read in various types of data.
Are you wanting to read/write data in the SOP context? CHOP's? POP's?
I don't know if this would help you:
http://www.digitalcinemaarts.com/dev/file_out/index.html [digitalcinemaarts.com]
When I first approached this problem, I wanted to do it as a VEX DSO, but found out quickly that the DSO would be run as an SIMD type of process which created a bunch of problems.
So I wrote this plugin with the HDK and it works well but I'm thinking I should write a version of it as a command or expression instead of an OP.
–Mark
You can't really read or write a file directly in VEX, I'm sure you're aware of the File SOP/CHOP/POP, etc. to read in various types of data.
Are you wanting to read/write data in the SOP context? CHOP's? POP's?
I don't know if this would help you:
http://www.digitalcinemaarts.com/dev/file_out/index.html [digitalcinemaarts.com]
When I first approached this problem, I wanted to do it as a VEX DSO, but found out quickly that the DSO would be run as an SIMD type of process which created a bunch of problems.
So I wrote this plugin with the HDK and it works well but I'm thinking I should write a version of it as a command or expression instead of an OP.
–Mark
========================================================
You are no age between space
You are no age between space
- Undertaker
- Member
- 113 posts
- Joined: July 2005
- Offline
-
- Quick Links