![]() Home Overview FAQ Documentation Download Mailing List Geomview For Windows? Support Users Development Bug Reporting Contributing Contact Us Sponsors
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [ REQ 5627]:
Dear Sir,
I'am a PHD student in Lab. de Robotique de Paris. Now I use Geomview system to display an object in the workstation of SUN. But I encounter several problems. I wish that you can help me to resolve them.
I have a disc which is discretized into elements and I need to add a round point at some nodes and then print out the object,including the point. I save the graphic by "PS snapshot" and print it . But the result is that only the discretized disc appears and the round point is lost.
The following file is saved by Geomview and it contains the data of the graphic.
/*************************************************/
(progn
(merge-baseap appearance {
face
-edge
vect
-transparent
evert
shading flat
-normal
normscale 1
linewidth 1
material {
shininess 15.000000
ka 0.300000
kd 1.000000
ks 0.300000
alpha 1.000000
ambient 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000
specular 1.000000 1.000000 1.000000
edgecolor 0.000000 0.000000 0.000000
normalcolor 1.000000 1.000000 1.000000
}
lighting {
ambient 0.2 0.2 0.2
localviewer 1
attenconst 0
attenmult 0
replacelights
light {
ambient 0.000000 0.000000 0.000000
color 0.750000 0.750000 0.750000
position 0.000000 0.000000 10.000000 0.000000
}
light {
ambient 0.000000 0.000000 0.000000
color 0.600000 0.600000 0.600000
position 0.000000 1.000000 -1.000000 0.000000
}
light {
ambient 0.000000 0.000000 0.000000
color 0.400000 0.400000 0.400000
position 1.000000 -2.000000 -1.000000 0.000000
}
}
}
) # end base appearance
(merge-ap "worldgeom" appearance {
* -face
* edge
}
) # end appearance "worldgeom"
(new-geometry "[g1]" # DisqueRotation
{ = LIST
{ = NMESH
13 4
0.589926 0.091859 0.01 0 0 -1
0.46495 0.374466 0.01 0 0 -1
0.215319 0.556936 0.01 0 0 -1
-0.091934 0.590457 0.01 -0 0 -1
-0.374442 0.465518 0.01 -0 0 -1
-0.555904 0.215684 0.01 -0 0 -1
-0.587981 -0.09131 0.01 0 -0 -1
-0.463759 -0.373912 0.01 0 -0 -1
-0.215137 -0.55717 0.01 0 -0 -1
0.092116 -0.590651 0.01 0 0 -1
0.374437 -0.464989 0.01 0 0 -1
0.556199 -0.215228 0.01 0 0 -1
0.589926 0.091859 0.01 0 0 -1
0.720221 0.11194 0.01 0 0 -1
0.567724 0.457019 0.01 0 0 -1
0.263168 0.679828 0.01 0 0 -1
-0.111973 0.721055 0.01 -0 0 -1
-0.457227 0.568413 0.01 -0 0 -1
-0.678601 0.262961 0.01 -0 0 -1
-0.717266 -0.111545 0.01 0 -0 -1
-0.566136 -0.45596 0.01 0 -0 -1
-0.263207 -0.68006 0.01 0 -0 -1
0.112158 -0.721337 0.01 0 0 -1
0.45708 -0.567705 0.01 0 0 -1
0.678839 -0.262806 0.01 0 0 -1
0.720221 0.11194 0.01 0 0 -1
0.85119 0.132136 0.01 0 0 -1
0.67121 0.539865 0.01 0 0 -1
0.311436 0.80332 0.01 0 0 -1
-0.131978 0.852259 0.01 -0 0 -1
-0.540202 0.671951 0.01 -0 0 -1
-0.801973 0.310983 0.01 -0 0 -1
-0.847826 -0.131514 0.01 0 -0 -1
-0.669454 -0.538538 0.01 0 -0 -1
-0.311557 -0.803567 0.01 0 -0 -1
0.132133 -0.85257 0.01 0 0 -1
0.539921 -0.67119 0.01 0 0 -1
0.802221 -0.310954 0.01 0 0 -1
0.85119 0.132136 0.01 0 0 -1
0.982556 0.152146 0.01 0 0 -1
0.775019 0.62292 0.01 0 0 -1
0.359849 0.927142 0.01 0 0 -1
-0.15201 0.98376 0.01 -0 0 -1
-0.623325 0.775773 0.01 -0 0 -1
-0.925726 0.35928 0.01 -0 0 -1
-0.979007 -0.151479 0.01 0 -0 -1
-0.773189 -0.621446 0.01 0 -0 -1
-0.359994 -0.927408 0.01 0 -0 -1
0.152139 -0.984076 0.01 0 0 -1
0.622938 -0.77501 0.01 0 0 -1
0.925995 -0.359299 0.01 0 0 -1
0.982556 0.152146 0.01 0 0 -1
}
{ = SPHERE
0.02 0.982556 0.152146 0.01}
}
) # end geometry "[g1]" DisqueRotation
(bbox-draw "[g1]" off)
(bbox-color "[g1]" 0.000000 0.000000 0.000000)
(normalization "[g1]" each)
(name-object "[g1]" "DisqueRotation")
(new-geometry "[g2]" # DisqueRotation_Geom.list
{ }
) # end geometry "[g2]" DisqueRotation_Geom.list
(bbox-draw "[g2]" off)
(bbox-color "[g2]" 0.000000 0.000000 0.000000)
(normalization "[g2]" each)
(name-object "[g2]" "DisqueRotation_Geom.list")
(new-geometry "[g3]" # DisqueRotation_Geom.list<3>
{ }
) # end geometry "[g3]" DisqueRotation_Geom.list<3>
(bbox-draw "[g3]" off)
(bbox-color "[g3]" 0.000000 0.000000 0.000000)
(normalization "[g3]" each)
(name-object "[g3]" "DisqueRotation_Geom.list<3>")
(window default { position 551 1000 289 738 })
(camera "Camera" camera {
camtoworld transform {
1 0 0 0
0 1 0 0
0 0 1 0
0 0 3 1
}
perspective 1 stereo 0
fov 40
frameaspect 1
focus 3
near 0.07
far 100
}
) # camera "Camera" ...
(backcolor "Camera" 0.330000 0.330000 0.330000)
(window "Camera" window { size 450 450 position 551 1000 289 738 resize curpos 551 1000 289 738 viewport 0 449 0 449 }
)
# end camera Camera
(ui-target "DisqueRotation")
)
/*************************************************/
Would you please tell me what the problems may be and your early reply will be much appreciated !
Thank you in advance
Best regards
TSENG Shih-En
|
||
|
Home | Overview | FAQ | Documentation | Support | Download | Mailing List Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors |
|||
|
site hosted by |
|||