Wings 3D Development Forum
X3D / VRML import plugin - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Design & Development (https://www.wings3d.com/forum/forumdisplay.php?fid=6)
+--- Thread: X3D / VRML import plugin (/showthread.php?tid=3084)

Pages: 1 2


RE: X3D / VRML import plugin - edb - 05-28-2023

Hello tkbd,

Thanks for letting me know it works. I agree .wrl/.x3d import and export is pretty useful to have, especially as it is a iso standard format.


RE: X3D / VRML import plugin - Xavier - 10-12-2023

Hi,
Many thanks for this work.

I ever target a Litle particularity in WRL files in the import plugin...

(Wings 2.3 ; Windows64)
(WRL files from Kicad project)

It call "opacity", "transparency" (don't why!).

"transparency 0.0" = "opacity 0"

The imported WRL objects are all  transparent in Wings 3D!

Quote:DEF Tube18 Transform {
  children [
    Shape {
      appearance Appearance {
        material DEF default Material {
          diffuseColor 0.7898538076923077 0.8133333333333334 0.6940444444444445
          emissiveColor 0.0 0.0 0.0
          specularColor 0.1689853807692308 0.17133333333333334 0.15940444444444446
          ambientIntensity 1.0
          transparency 0.0
          shininess 0.19999999999999996
        }
      }



In this case,  "transparency 0.0" = "opacity 1- transparency value"

 
The import plugin is correct.

Many thanks again edb and Micheus.


RE: X3D / VRML import plugin - edb - 10-12-2023

Thank you Xavier for the bug report. I'll look into it very soon.


RE: X3D / VRML import plugin - edb - 10-18-2023

I've fixed the transparency bug, and now gzipped (wrz, wrl.gz) files can also be read.

Newest build:
wpc_wrl.tar