MantisBT - VTK
View Issue Details
0015039VTK(No Category)public2014-10-08 09:022016-08-12 09:55
Patrick Snape 
Joachim Pouderoux 
lowminorhave not tried
closedmoved 
6.0.0 
 
TBD
incorrect functionality
0015039: vtkVrmlImporter does not parse Appearance nodes properly
L5481

The appearance node is consumed but is not actually processed in any way. Likely it needs to read the texture and material from within and update the actor accordingly.
No tags attached.
Issue History
2014-10-08 09:02Patrick SnapeNew Issue
2014-10-16 08:03Joachim PouderouxNote Added: 0033652
2014-10-16 08:04Joachim PouderouxNote Added: 0033653
2014-10-16 08:04Joachim PouderouxNote Edited: 0033653bug_revision_view_page.php?bugnote_id=33653#r880
2014-10-16 08:04Joachim PouderouxNote Edited: 0033653bug_revision_view_page.php?bugnote_id=33653#r881
2014-10-16 08:04Joachim PouderouxAssigned To => Joachim Pouderoux
2014-10-16 08:04Joachim PouderouxStatusbacklog => active development
2014-10-16 08:49Patrick SnapeNote Added: 0033654
2014-10-27 11:16Joachim PouderouxNote Added: 0033670
2014-11-05 07:34Patrick SnapeNote Added: 0033719
2016-07-06 16:48Berk GeveciStatusactive development => expired
2016-07-06 16:48Berk GeveciNote Added: 0036241
2016-08-12 09:55Kitware RobotNote Added: 0037346
2016-08-12 09:55Kitware RobotStatusexpired => closed
2016-08-12 09:55Kitware RobotResolutionopen => moved

Notes
(0033652)
Joachim Pouderoux   
2014-10-16 08:03   
I tested with last VTK git version and it seems like the importer DO parse and process appearance nodes. But only Material nodes are supported, textures are not.
Do you have a simple example where it fails?
(0033653)
Joachim Pouderoux   
2014-10-16 08:04   
By the way I just cleaned and fixed some crashes and bugs in the importer code. They will be commited soon.

(0033654)
Patrick Snape   
2014-10-16 08:49   
Ah OK, fair enough. I obviously misread the source. However, it definitely doesn't handle textures, as you said. An example VRML2.0 file with a texture is here:

https://gist.github.com/patricksnape/62dd69595880a3e6acdc [^]

I haven't provided the texture, but I could always email it on request.
(0033670)
Joachim Pouderoux   
2014-10-27 11:16   
Change Ica830d9d: Fix and clean VRML importer code.

Whole code has been cleaned and "modernized".
Several crashes were fixed and an exception mechanism has been
setup to avoid some crashes on file read error - but a lot of other
check should be perform to make it reliable!
Some VRML files do not print the face end marker (-1) for the last
face. This behaviour was not supported before. It is now.
Another fix is that Material properties are more inherited from
previously read nodes.
Add a parameter to specify the resolution for Cone, Sphere
and Cylinder shape sources - default value is 12.

Change-Id: Ica830d9dad9cb707389a6a679b382b32e01bc270

Merged.

Texture are still not supported by the way. Could you send me the texture associated with your example file?
(0033719)
Patrick Snape   
2014-11-05 07:34   
The texture file for that mesh is available here:

https://www.dropbox.com/s/qwvlqm7izuj1rjy/F0001_AN01WH_F3D.bmp?dl=0 [^]
(0036241)
Berk Geveci   
2016-07-06 16:48   
Setting to status of bugs that have not been updated in the last year to expired. Please re-open if still important.
(0037346)
Kitware Robot   
2016-08-12 09:55   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.