Q) Do you recommend a VRML viewer for the vrml files from Post in CFX-5.7.1? The one recommended in the help does not seem to work. Is there a problem with the VRML output from Post?

A) Yes there seems to be a problem with VRML output on 5.7.1, but it seems to be fixed in CFX 10.0.

Unfortunately the only way to make it work is to tweak the VRML file manually. To get all of the objects to display correctly, you will have to do the following:

1) Open the .wrl file in a text editor.
2) Search for the word: Viewpoint
3) Just below Viewpoint, there is a parameter called 'fieldOfView'. It will probably have some value greater than 5. Replace this value with 0.4. I.e. resulting line: "fieldOfView 0.4" (no quotes)
4) Three lines below fieldOfView is a parameter called 'position'. It will have a value of "0 0 -5", change it to "0 0 5" (no quotation marks) I.e. negate the 5.
5) Save the .wrl file and reload in your VRML browser.

These steps should have made your 3D objects visible.

If you want to make your 2D objects and the CFX toggle buttons visible, follow the following steps:

To make the CFX toggle buttons visible:

1) Open the .wrl file in a text editor.
2) Search for the word: myLineButton
3) Just below this line, there is a parameter called 'translation'. You must negate the Z coordinate of this parameter( i.e. the last number). It will have a value of 0.25, and you must change it to -0.25.
4) Repeat steps 2 & 3, searching for myFaceButton and myBackdropButton.

To make any 2D objects that you defined in post visible (e.g. Legends, Logo, Text Objects, etc):

1) Open the .wrl file in a text editor.
2) Search for: myStaticOverlay This is actually just a part of the word that will exist in the file. You will see object definitions such as: myStaticOverlay0Transform and myStaticOverlay1Transform.
3) Search for: Transform This should exist around 7 lines below the line with myStaticOverlay.
4) Just below the Transform line, you will find th


Q) Do you recommend a VRML viewer for the vrml files from Post in CFX-5.7.1? The one recommended in the help does not seem to work. Is there a problem with the VRML output from Post?

A) Yes there seems to be a problem with VRML output on 5.7.1, but it seems to be fixed in CFX 10.0.

Unfortunately the only way to make it work is to tweak the VRML file manually. To get all of the objects to display correctly, you will have to do the following:

1) Open the .wrl file in a text editor.
2) Search for the word: Viewpoint
3) Just below Viewpoint, there is a parameter called 'fieldOfView'. It will probably have some value greater than 5. Replace this value with 0.4. I.e. resulting line: "fieldOfView 0.4" (no quotes)
4) Three lines below fieldOfView is a parameter called 'position'. It will have a value of "0 0 -5", change it to "0 0 5" (no quotation marks) I.e. negate the 5.
5) Save the .wrl file and reload in your VRML browser.

These steps should have made your 3D objects visible.

If you want to make your 2D objects and the CFX toggle buttons visible, follow the following steps:

To make the CFX toggle buttons visible:

1) Open the .wrl file in a text editor.
2) Search for the word: myLineButton
3) Just below this line, there is a parameter called 'translation'. You must negate the Z coordinate of this parameter( i.e. the last number). It will have a value of 0.25, and you must change it to -0.25.
4) Repeat steps 2 & 3, searching for myFaceButton and myBackdropButton.

To make any 2D objects that you defined in post visible (e.g. Legends, Logo, Text Objects, etc):

1) Open the .wrl file in a text editor.
2) Search for: myStaticOverlay This is actually just a part of the word that will exist in the file. You will see object definitions such as: myStaticOverlay0Transform and myStaticOverlay1Transform.
3) Search for: Transform This should exist around 7 lines below the line with myStaticOverlay.
4) Just below the Transform line, you will find the following line: "translation 0 0 0.25", negate the last coordinate; i.e. change it to: "translation 0 0 -0.25" (no quotes).
5) Repeat steps 2, 3 & 4 for all 'myStaticOverlay' definitions you can find.

It seems to be fixed in CFX 10.





Show Form
No comments yet. Be the first to add a comment!