• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Design & Development v
1 2 3 4 5 … 11 Next »
X3D / VRML import plugin

 
  • 0 Vote(s) - 0 Average
X3D / VRML import plugin

edb
Offline

Member

Posts: 135
Threads: 16
Joined: Nov 2022
#5
03-09-2023, 12:56 PM
It took a bit of time but I think this importer is now generally usable.

Apart from IndexedFaceSet, it also implements many of the other geometry nodes, making it useful not only to import meshes from other programs, but also to create geometries from VRML code to import directly into wings. Basic geometries like Box, Cylinder, Cone, Sphere are available, as well as the Extrusion and ElevationGrid node. Transforms (translate, rotation, scale) that the shapes are in, are also applied to the shapes.

beam file available:
wpc_wrl.tar

This installs over the stock wpc_wrl plugin to provide X3D export support.

Example ElevationGrid:

[Image: u5Qor2bE_o.png]
Code:
#VRML V2.0 utf8
DEF elevation2x2 Transform {
  children [
    Shape {
      appearance Appearance {
        material DEF default Material { }
      }
      geometry ElevationGrid {
        xDimension 3
        zDimension 3
        colorPerVertex FALSE
        height [ 0.0 0.2 0.4  0.2 0.4 0.6  0.4 0.6 0.8  ]
        color Color { color [ 1 0 0  0 1 0  0 0 1  1 1 0  1 0 1  0 1 1 ] }
      }
    }

  ]
}
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Messages In This Thread
X3D / VRML import plugin - by edb - 12-01-2022, 02:30 PM
RE: X3D / VRML import plugin [WIP] - by micheus - 12-01-2022, 07:09 PM
RE: X3D / VRML import plugin [WIP] - by edb - 12-02-2022, 02:28 PM
RE: X3D / VRML import plugin [WIP] - by edb - 03-08-2023, 01:26 PM
RE: X3D / VRML import plugin [WIP] - by edb - 03-09-2023, 12:56 PM
RE: X3D / VRML import plugin [WIP] - by edb - 04-10-2023, 12:39 PM
RE: X3D / VRML import plugin [WIP] - by tkbd - 05-22-2023, 12:14 PM
RE: X3D / VRML import plugin [WIP] - by edb - 05-23-2023, 12:44 PM
RE: X3D / VRML import plugin [WIP] - by edb - 05-28-2023, 03:20 AM
RE: X3D / VRML import plugin - by tkbd - 05-28-2023, 04:39 AM
RE: X3D / VRML import plugin - by edb - 05-28-2023, 05:05 PM
RE: X3D / VRML import plugin - by Xavier - 10-12-2023, 06:43 PM
RE: X3D / VRML import plugin - by edb - 10-12-2023, 10:36 PM
RE: X3D / VRML import plugin - by edb - 10-18-2023, 09:11 PM
RE: X3D / VRML import plugin - by micheus - 01-20-2025, 06:20 PM
RE: X3D / VRML import plugin - by edb - 01-24-2025, 02:32 AM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode