How to get names of 3D Nodes for PDF?
Hi!
I was trying to make some nodes of my 3D model (PRC stream) turned off by using 3D Nodes dictionary as described in PDF format specification PDF 32000-1:2008 in article 13.6.4.7 but it doesn't seem to be working.
My 3D Node dictionary looks as follows:
/Type /3DNode
/M [1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 ]
/O 1.000000
/N (test PO.3D PMI)
/V false
this entry was supposed to turn off all markups attached to object test PO when 3D view holding this dictionary is activated.
I generated .pdf file by Adobe Acrobat and it generated the following dictionary:
/M [
1.0
0.0
0.0
0.0
1.0
0.0
0.0
0.0
1.0
0.0
0.0
0.0
]
/N (test PO.3D PMI.894ae29fd62a2f37c8a93fee17295bbae0eaa9b4050100)
/O 1.0
/RM 36 0 R
/Type /3DNode
/V false
Notice the different name of the 3D object: "test PO.3D PMI.894ae29fd62a2f37c8a93fee17295bbae0eaa9b4050100" in the file generated by the Adobe and "test PO.3D PMI" that I used.
When I copied that name to my .pdf file the node was turned off as expected.
In the .prc stream that contains my 3D model the node I wanted to be turned off is called "test PO".
No .894ae29fd62a2f37c8a93fee17295bbae0eaa9b4050100 code can be found anywhere.
So the question is, how to generate/get this code?
There is no information in PDF 32000-1:2008 about the subject, there they simply suggest using the name of the node from .prc file just as I did.
Regards,
Dmitrii
