Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (538)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (600)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Vector graphics tool in Netbeans IDE - converts to Java2D code  (Read 6350 times)
0 Members and 1 Guest are viewing this topic.
Offline CommanderKeith
« Posted 2007-09-18 03:29:19 »

Hi,

There's a new tool that should be released soon as a module in Netbeans which will let us draw vector graphics.  It is said to be a 'mini-photoshop or illustrator'  Cheesy (http://cld.blog-city.com/the_imminent_arrival_of_something_really_javacool.htm)

Apparently the module can turn the SVG (Scalable Vector Graphic) files you make in Netbeans into Java2D code. (http://www.curious-creature.org/2007/09/07/the-secret-behind-nimbus/)

This could be a neat way to create interesting, smooth, antialiased, scalable sprites that can be drawn with Java2D.


Offline trembovetski

Senior Devvie




If only I knew what I'm talking about!


« Reply #1 - Posted 2007-09-18 23:11:38 »

Yep, I've seen it in action, and it's pretty sweet =)

Dmitri
Offline Abuse

JGO Knight


Medals: 14


falling into the abyss of reality


« Reply #2 - Posted 2007-09-19 16:10:52 »

Sounds to me like embedding data within class files - and in a really inefficient manner at that!

Maintenance of such data would be hideous - adjusting what is effectively artwork by tweaking lines of code Huh
If you want to do that sort of crazyness, you should go and port some badly written mobile games.

Make Elite IV:Dangerous happen! Pledge your backing at KICKSTARTER here! https://dl.dropbox.com/u/54785909/EliteIVsmaller.png
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline trembovetski

Senior Devvie




If only I knew what I'm talking about!


« Reply #3 - Posted 2007-09-19 18:20:50 »

You don't tweak the code you tweak the original data, with the editor,
and regenerate the code.

Just like any art in your app - you don't tweak the images produced
by your artists in photoshop by hand, do you? =)

Dmitri
Offline trembovetski

Senior Devvie




If only I knew what I'm talking about!


« Reply #4 - Posted 2007-09-19 18:22:06 »

And having a few lines of code that produce, say, a desired gradient is way more efficient
than having a huge image that does just that, btw.

Dmitri
Offline Abuse

JGO Knight


Medals: 14


falling into the abyss of reality


« Reply #5 - Posted 2007-09-19 20:39:45 »

Then you store the data in a standardized vector format,
use an already established editing tool to manipulate the data,
and use an already written Java api through which the vector data can be rendered.

The process proposed above is repellant for so many reasons:-

1) They've created a custom editor which does an inferior job of already well established tools (reinventing an inferior wheel)
2) They export to java source code which allows, perhaps even encourages post-export modifications - atleast output java bytecode, so manual tweaking is more obviously discouraged.
3) They generate code that targets a specific api - java2d - restricting the usefulness of the entire tool chain for other applications.

Modularity does not appear to have been considered at all.

Make Elite IV:Dangerous happen! Pledge your backing at KICKSTARTER here! https://dl.dropbox.com/u/54785909/EliteIVsmaller.png
Offline trembovetski

Senior Devvie




If only I knew what I'm talking about!


« Reply #6 - Posted 2007-09-19 23:43:56 »

Those are good points.
Offline trembovetski

Senior Devvie




If only I knew what I'm talking about!


« Reply #7 - Posted 2007-09-20 17:24:49 »

Meaning that such tool will not be applicable to all situations. But it turned out
to be pretty useful for the folks working on Nimbus..

Dmitri
Offline emzic

Senior Devvie





« Reply #8 - Posted 2008-09-24 12:00:36 »

i know this is an old thread, but does anyone know what the state of this tool is?

also, what about nimbus on MacOS. will it be available anytime soon?

thanks!

www.embege.com - personal website
webstart blendinspect - OpenGL BlendingModes visualization.
Online princec

« JGO Spiffy Duke »


Medals: 429
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #9 - Posted 2008-09-24 12:20:15 »

Nimbus is absolutely hideous. I hope they get an actual GUI expert guy to design the next one.

Cas Smiley

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline emzic

Senior Devvie





« Reply #10 - Posted 2008-09-24 12:39:00 »

Nimbus is absolutely hideous. I hope they get an actual GUI expert guy to design the next one.

why do you think so. i actually like it more than metal, ocean, etc.

and now that it is so easily skinnable, there is lots of potential in swing!

www.embege.com - personal website
webstart blendinspect - OpenGL BlendingModes visualization.
Offline CommanderKeith
« Reply #11 - Posted 2008-09-24 13:48:06 »

Good question, I'm not sure. If you really want svg to java2D code though, Kirill Grouchnikov made one in his flamingo project (http://www.pushing-pixels.org/?p=424)

Offline trembovetski

Senior Devvie




If only I knew what I'm talking about!


« Reply #12 - Posted 2008-09-28 05:40:48 »

Nimbus is absolutely hideous. I hope they get an actual GUI expert guy to design the next one.

Cas Smiley

They actually did... It was designed by contracted UI company for  Solaris.

Dmitri
Offline Riven
« League of Dukes »

« JGO Overlord »


Medals: 840
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #13 - Posted 2008-09-28 09:44:35 »

Nimbus is pretty nice, EXCEPT the scrollbars. How could anybody in their right mind change an aspect of the userinterface that is widely agreed upon to have a certain shape.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #14 - Posted 2008-09-28 22:52:02 »

Nimbus is pretty nice, EXCEPT the scrollbars. How could anybody in their right mind change an aspect of the userinterface that is widely agreed upon to have a certain shape.

+10
Those scrollbars could actually make me avoid an otherwise quite nice LAF.

By the way, although hideous out of the box, Metal can look really nice when you twiddle a bit with it (making the fonts not bold, use it together with swingx, and remove as many borders as you can) and it's fast too.

Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #15 - Posted 2008-09-28 23:18:01 »

Is it just me or is L&F much less of an issue these days? A few years ago and the Swing/Metal L&F made a java app look very out of place. Now we've got much more apps using non-standard L&F (firefox, opera, iTunes, windows media player, Word, etc.) that users have got much more used to seeing different controls in each app.

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline CommanderKeith
« Reply #16 - Posted 2008-10-21 02:03:30 »

Hi Dmitri,

Any news on what's happening with this Netbeans vector graphics to Java2D code tool?!

It'd sure come in handy to me right now, drawing stuff in Inkscape and trying to convert to Java2D code is pretty painful.

Thanks,
Keith

Online princec

« JGO Spiffy Duke »


Medals: 429
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #17 - Posted 2008-10-21 11:34:29 »

It's still nowhere near as nice and clean as the Alloy L&F. Why they didn't just buy that off of the Alloy developers I've no idea.

Cas Smiley

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

rwatson462 (29 views)
2014-12-15 09:26:44

Mr.CodeIt (20 views)
2014-12-14 19:50:38

BurntPizza (40 views)
2014-12-09 22:41:13

BurntPizza (76 views)
2014-12-08 04:46:31

JscottyBieshaar (37 views)
2014-12-05 12:39:02

SHC (50 views)
2014-12-03 16:27:13

CopyableCougar4 (47 views)
2014-11-29 21:32:03

toopeicgaming1999 (114 views)
2014-11-26 15:22:04

toopeicgaming1999 (102 views)
2014-11-26 15:20:36

toopeicgaming1999 (30 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!