Hi Ewald

 

Thanks for that - sounds like the medication I was looking for. Will now go
"full hog" with the 2D implementation found in the JDK and play around with
the angulations for rotation and different views. And no, I'm not brainy,
just terribly persistent (must be the German background).

 

Will let you know how things progress and, yes, I might take you up on the
offer for some constructive criticism and / or ideas - thanks for that too.
Good luck with the deadlines. If I were more proficient with this new thing
called JAVA and OO I would gladly assist you - I also come from a database
background - D3 (ex PICK) / System Builder - 18 years of it - difficult to
re-align the thought process.

 

Regards, Manfred

 

  _____  

From: [email protected] [mailto:[email protected]] On
Behalf Of Ewald Horn
Sent: 13 July 2009 03:56 PM
To: [email protected]
Subject: [CTJUG Tech] Re: Netbeans and 2D / 3D graphics

 

Hi Manfred.

The good news is of course that you can do all of this in 2D graphics, 3D
only comes into play when you add textures etc and want light sources as
well. Someone else might disagree, but I really do think you can do this in
2D.

Sounds to me like you need a list of objects, all drawn in sequence, one
after the other to create the "layer" effect of drawers inside the cabinet
etc. Lots and lots of math as well, given you want lines to run at a certain
angle and to scale, for that matter.

In all honesty, I'd avoid 3D for now, although rotating the image around
will be quite handy, especially later. You can get this done in 2D as well,
just like AutoCAD etc. They don't use 3D, just simulate it using 2D
graphics. This is pretty much what I've done in the past, although if you
make me do it again I'd just refuse! That's what happens when you make a
database developer do graphics...

The CAD viewer at http://www.johannes-raida.de/index.htm?cadviewer looks
interesting, it does exactly what you want to do.  I don't think it's open
source, but you should be able to learn something from it.

Also, the tutorials at http://www.aroush.net/smfa-java/javatoc.html might be
of interest to you, it's just way too much math for me, but a smart fellow
like you might like it a lot. 

Of course, I'd love to help, send me a reminder on Friday and I'll play
around with a wireframe model over the weekend. The current deadlines at
work makes it a bit hard to play with anything not directly related to work.
Unless you have a nice new job for me, of course :)

Best regards
Ewald



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CTJUG Tech" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/CTJUG-Tech?hl=en
For Cape Town Java User Group home page see http://www.ctjug.org.za/
For jobs see http://gamatamjobs.appspot.com/
-~----------~----~----~----~------~----~------~--~---

Reply via email to