hi everybody...

I hope to have a really basic question (so the answer is as basic as the question :-)

 

exporting a visualisation to a VRML file.

 

So far:

 

I assume the way is using export or exportVRML.

I successfully export the grids, vectors, labels... a lot of stuff.

The only thing I cannot export are ‘dx’ files.

Typically the 3d model of the simulation environment.

 

The funny thing is that when I do ‘export’ I got an error: connection missing.

but I can definitely display connections....  (showconnection module + dx file)

 

what’s going on?

any ideas/experience about this?

how to fix/solve this issue

 

thanks a lot,

Giulio

 

I enclose a file just as a record:

may be this is the key...

it’s just a polygon 2 x 2 centred in the origin:

 

-----------------------------------------------------------

object "position list" class array type float rank 1 shape 3 items 4 data follows

-1.000000 -1.000000 0.000000

-1.000000 1.000000 0.000000

1.000000 1.000000 0.000000

1.000000 -1.000000 0.000000

 

object "edge list" class array type int rank 0 items 4 data follows

0

1

2

3

attribute "ref" string "positions"

 

object "loop list" class array type int rank 0 items 1 data follows

0

attribute "ref" string "edges"

 

object "face list" class array type int rank 0 items 1 data follows

0

attribute "ref" string "loops"

 

object "color list" class array type float rank 1 shape 3 items 1 data follows

0.500000 0.500000 0.500000

attribute "dep" string "faces"

 

object "normal list" class array type float rank 1 shape 3 items 1 data follows

0.000000 0.000000 -1.000000

attribute "dep" string "faces"

 

object 1 class array type float rank 0 items 1 data follows

1.000000

attribute "dep" string "faces"

 

object "solid" class field

component "positions" "position list"

component "edges" "edge list"

component "loops" "loop list"

component "faces" "face list"

component "colors" "color list"

component "normals" "normal list"

component "opacities" value 1

 

------------------------------------------------------------------------------------------------------------------

 

 

 

 

 

 

Reply via email to