View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015039VTK(No Category)public2014-10-08 09:022016-08-12 09:55
ReporterPatrick Snape 
Assigned ToJoachim Pouderoux 
PrioritylowSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version6.0.0 
Target VersionFixed in Version 
Summary0015039: vtkVrmlImporter does not parse Appearance nodes properly
DescriptionL5481

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.
TagsNo tags attached.
ProjectTBD
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0033652)
Joachim Pouderoux (developer)
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 (developer)
2014-10-16 08:04
edited on: 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 (reporter)
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 (developer)
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 (reporter)
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 (administrator)
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 (administrator)
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.

 Issue History
Date Modified Username Field Change
2014-10-08 09:02 Patrick Snape New Issue
2014-10-16 08:03 Joachim Pouderoux Note Added: 0033652
2014-10-16 08:04 Joachim Pouderoux Note Added: 0033653
2014-10-16 08:04 Joachim Pouderoux Note Edited: 0033653
2014-10-16 08:04 Joachim Pouderoux Note Edited: 0033653
2014-10-16 08:04 Joachim Pouderoux Assigned To => Joachim Pouderoux
2014-10-16 08:04 Joachim Pouderoux Status backlog => active development
2014-10-16 08:49 Patrick Snape Note Added: 0033654
2014-10-27 11:16 Joachim Pouderoux Note Added: 0033670
2014-11-05 07:34 Patrick Snape Note Added: 0033719
2016-07-06 16:48 Berk Geveci Status active development => expired
2016-07-06 16:48 Berk Geveci Note Added: 0036241
2016-08-12 09:55 Kitware Robot Note Added: 0037346
2016-08-12 09:55 Kitware Robot Status expired => closed
2016-08-12 09:55 Kitware Robot Resolution open => moved


Copyright © 2000 - 2018 MantisBT Team