Skip to content

navossoc/vrmleditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VRML Editor

Description

The goal of the activity proposed by our teacher was to create a simple 2D editor to exercise our expertise in VRML (Virtual Reality Modeling Language).

So everything that was drawn in the editor could be converted to VRML and rendered by compatible viewers.

We went a little further however, deciding instead to make a 3D editor, but nothing too advanced.

The result can be seen through some pictures below:

VRML Editor: Transparency (sample) Transparency rendered in wireframe mode
Transparency Transparency rendered in wireframe mode

Supported Nodes/Fields

  • Box (Width, Height, Depth)
  • Cylinder (Radius, Height)
  • Cone (Radius, Height)
  • Sphere (Radius)

Scale, Rotation, Translation fields are common for all nodes.

Source code

This source was written in Java language using NetBeans 7.x as IDE and the Libgdx framework to render the scene.

Additional libraries such as l2fprod-common were used to create the property editor.

This code was co-authored in collaboration with my classmate Guilherme Maganha Moreira.

License:

We decided to release our source code under the MIT License.

The Libgdx framework is licensed under the Apache License, Version 2.0 and is included in binary form.

The l2fprod-common is also licensed under Apache License, Version 2.0 and is included in binary and source form with a few modifications.

The jcalendar and nachocalendar are dependencies of l2fprod-common and are licensed under the LGPLv2.1 and are include in binary form.

For more details, you can find the readme files and a copy of the licenses in the repository.