Two modules are available now: language and files support for X3DV, and a palette of code for x3dv. Continue reading to see what they are.
I have already explained what X3D is briefly, in a previous post.
While I was working in my projects, I thought that it would be good to be able to deal with X3D files from inside Netbeans, so I don't need any other program opened for that.
It may also be great that all people writing X3D worlds would be able to take advantage of the many features for editing that Netbeans has and other editors lack.
The Netbeans X3DV Module Suite is for editing X3D inside Netbeans, in classic VRML encoding (with .x3dv extension). The classic VRML encoding is very easy to read, I think that easier than the XML way to describe X3D files, and that's the reason for many people to choose it.
Not all the module features are implemented yet. In the future I plan to add many code templates and more code snippets, and also a syntax checker and maybe toolbars, etc.
But just now you have these:
- You can create new X3DV files inside Netbeans.
- Brackets and quotes completion.
- Icons for X3DV files.
- Syntax coloring that makes editing easier.
- A practical palette of x3dv code that will make you build worlds faster.
- A button to show the palette.
First Module: X3DV Encoding
You can create new X3DV files:
It is ready to make your custom code templates:
In the code editor, you can see the X3D icon in x3dv files, and how syntax coloring is applied. As you see, the header has special colors so you can quickly recognize x3d files. Words like PROTO, ROUTE, TO, etc. are in red to easy locating them. Nodes are in blue and fields in green.
As you write, in Netbeans, words are colored. So if you make a spelling mistake, you will know instantly because the node or field is not colored. Comments are in light grey, and the rest in black.
Here's one example more. As you see, DEF and USE words have a different and bright color because when one codes in X3D needs to find these very often, and this allows you to make it quickly.
Here's how are colored inputs and outputs in Script nodes. As you see, types have a bold black color, it helps to see if you typed them well. I used blue for inputs, red for outputs, and green for inputOutput. The reason is psychological, it allows to distinguish them easily. It's easy to think in this like it was a kitchen, the input enters cold (blue) and exits hot (red), being green something neuter that can be used for both.
The initializeOnly fields are in black, as they are just fields that are used later, and don't take a direct play in the output.
Here you can see how strings are colored:
And routes can be easily read because both ROUTE and TO are highlighted in red:
Second Module: X3DV Palette
The X3DV Palette can help you to write code faster. It places a new palette on the right, similar to the Palette that Netbeans has, and when you press one of the icons, a piece of code is copied to the clipboard.
Then, you can paste it everywhere you like. This was done this way because you may want to paste it several times. To copy another code piece, just click another button.
It is based on the practical x3d worldbuilding, so you will find the most used text, without having to remove useless fields. It saves you from typing the same things over and over.
You know which button you have pressed because the icon shows a spark when you click it.
The X3DV Palette has not only code snippets of X3D nodes, it also has a material palette, to create good material, shine, and color properties for objects quickly.
You can minimize the X3DV Palette to the right. To show it, just click its icon again.
For quickly opening the palette you have an icon for your toolbar and also a menu option in the Windows menu, both with the same icon.
Keep informed, and install what you want
You can install all the modules, or just those that you like, as they are independent.
More features will be added to these modules, and more modules will be added. If you like these software, I suggest you to subscribe to keep informed about this.
Watch the video
You can download it here:
© 2008 by Jordi R. Cardona. Link to this post without copying the text.If you liked this post, get updates of Hiperia3D News for FREE