Area :: Header
Autodesk University
The future of making things
Discussion Groups

General Discussion

Reply
Distinguished Contributor
rawalanche
Posts: 232
Registered: ‎01-08-2009

PXL Presets Syntax Error: Invalid statement block at line 1

106 Views, 4 Replies
12-26-2012 07:47 AM
Hi, I recently needed to generated some sort of fractal noise map and i was really disappointed to find out that Composite does not have any such procedural texture tool at it's disposal. Luckily i found that there are at least some PXL presets that could do the job, but no matter which one i try, all of them return same error:

PXL Presets Syntax Error: Invalid statement block at line 1

I would really appreciate any help as without such a basic feature i cannot continue my project in Composite.
Core i7 870 @3,2Ghz
16GB RAM
GeForce GTX460
3ds Max 2012 SP2
OCZ Vertex 2 SSD
Please use plain text.
Moderator
Steve_Curley
Posts: 19,148
Registered: ‎08-07-2007

Re: PXL Presets Syntax Error: Invalid statement block at line 1

12-26-2012 08:38 AM in reply to: rawalanche
Bearing in mind I know next to nothing about PXL expressions...
I just added one and Blend&Comp'd it with the existing stream (just before the Output node) and it worked fine (AFAICT anyway). Tried several of the presets with no issues.

Have you applied the latest SP? (SP2)

Try un-muting the Develop section and see if the text looks sensible - could be a corruption of the expression files. They're in \resources\toolPresets\PXL\* if you want to check them outside of Composite.

Max 4.2 through 2015 (SP2+EXT1), Composite 2014.
Win7Pro x64 (SP1). i5-3570K @ 4.4GHz, 8Gb Ram, DX11.
nVidia GTX760 (2GB) (Driver 335.23).

Please use plain text.
Distinguished Contributor
rawalanche
Posts: 232
Registered: ‎01-08-2009

Re: PXL Presets Syntax Error: Invalid statement block at line 1

12-26-2012 11:51 AM in reply to: Steve_Curley
Oh, sorry, i totally messed up :smileyhappy:

Instead of loading the preset in right controls panel where presets dialog is, i was loading manually files via the file function in the development functionality settings.

UI of the Composite still confuses me from time to time as i expect all the relevant node settings to be located in the middle of the properties panel rather than in the right section :smileyhappy:

Thank you very much!
Core i7 870 @3,2Ghz
16GB RAM
GeForce GTX460
3ds Max 2012 SP2
OCZ Vertex 2 SSD
Please use plain text.
Moderator
Steve_Curley
Posts: 19,148
Registered: ‎08-07-2007

Re: PXL Presets Syntax Error: Invalid statement block at line 1

12-27-2012 02:41 AM in reply to: Steve_Curley
That might explain the problem then :smileywink:

I think that one of Ken LaRue's blog videos refers to loading Presets (not necessarily for PXL expressions) - I must have remembered the general principle of how to access them. If you haven't watched them (and want to escape the crud on TV over xmas) they're well worth a watch :smileywink:

Max 4.2 through 2015 (SP2+EXT1), Composite 2014.
Win7Pro x64 (SP1). i5-3570K @ 4.4GHz, 8Gb Ram, DX11.
nVidia GTX760 (2GB) (Driver 335.23).

Please use plain text.
Distinguished Contributor
rawalanche
Posts: 232
Registered: ‎01-08-2009

Re: PXL Presets Syntax Error: Invalid statement block at line 1

12-27-2012 03:30 AM in reply to: rawalanche
Thank you. Gonna check them out :smileyhappy:
Core i7 870 @3,2Ghz
16GB RAM
GeForce GTX460
3ds Max 2012 SP2
OCZ Vertex 2 SSD
Please use plain text.