<?xml version="1.0" encoding="UTF-8" standalone="yes"?><rss version="2.0"><channel><title>Java, PHP, MySQL, Ruby, and more at Sagewire.org</title><link>http://www.sagewire.org/</link><description>Blogs and forums for Java, PHP, MySQL, and more.</description><language>en</language><item><title>Questions 10/15/07</title><link>http://www.sagewire.org/3d-java/Questions-101507-1979483.aspx</link><description>My view disappears into the blackness when I translate more than a
certain number of meters away from it.
My bounds is 3000 meters, the thing is about 20 meters wide, 5 meters
high.  I have four point lights.
Is it that the lights need to have more distance, the bounds, or
what?  The view seems to disappear when I get about 20 or 30 meters
away from it.

Also, how do I control the brightness of directional light and ambient
light?

Aaron Hirshberg</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/Questions-101507-1979483.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 19 Oct 2007 23:42:59 GMT</pubDate></item><item><title>Other J3D communities?</title><link>http://www.sagewire.org/3d-java/Other-J3D-communities-1853606.aspx</link><description>I'm having trouble with a couple of bugs in my J3D app and have not been 
able to find the answers here or elsewhere.  Are there other, more 
active, J3D communities?

Thanks!

-- 
Please take off your pants or I won't read your e-mail.
I won't, no matter how &amp;quot;good&amp;quot; the deal, patronise any business which sends
unsolicited commercial e-mail or that advertises in discussion newsgroups.</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/Other-J3D-communities-1853606.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 24 Aug 2007 10:22:25 GMT</pubDate></item><item><title>To smooth  the movements of the mouse</title><link>http://www.sagewire.org/3d-java/To-smooth-the-movements-of-the-mouse-1855727.aspx</link><description>Hi!!

In my program, when I want to rotate or translate, movements abrupt.

How'd you smooth the movements of the mouse?

Regards!</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/To-smooth-the-movements-of-the-mouse-1855727.aspx</guid><author>rss@sagewire.org</author><pubDate>Wed, 01 Aug 2007 11:33:47 GMT</pubDate></item><item><title>flicker in scene3D</title><link>http://www.sagewire.org/3d-java/flicker-in-scene3D-1609966.aspx</link><description>Hi! I have got a program that it shows some scenes (I draw the scene,
I erase it, and I draw another scene...).

The problem is the flicker. I know that I must use the method of
double buffer.

How'd you do this method? (implementation)--&amp;gt;An example code,
please!!!

Regards!!!</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/flicker-in-scene3D-1609966.aspx</guid><author>rss@sagewire.org</author><pubDate>Tue, 05 Jun 2007 17:47:00 GMT</pubDate></item><item><title>Basic questions about valid 3D models</title><link>http://www.sagewire.org/3d-java/Basic-questions-about-valid-3D-models-1609965.aspx</link><description>Hello group,

This is my first posting to the group so please forgive me if this is
the wrong place to ask this question.  I am developing a JAVA-based
simulator and at some point am going to want to incorporate 3D vehicle
models into my displays and am wondering what wireframes or 3D
geometry formats JAVA could accept to properly render the vehicle
models.  I am assuming that you can not really &amp;quot;build&amp;quot; 3D models in JAVA
but that if you've an outside CAD program of some sort, you could
...</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/Basic-questions-about-valid-3D-models-1609965.aspx</guid><author>rss@sagewire.org</author><pubDate>Tue, 29 May 2007 13:47:05 GMT</pubDate></item><item><title>File import and mathematics</title><link>http://www.sagewire.org/3d-java/File-import-and-mathematics-1609964.aspx</link><description>Hi

I am using JAVA1.4 and I develop on a mac 10.4 OS Tiger with Eclipse
3.1. I have an ascii-file with four column-values x  y  z  rho. That
means coordinates x,y,z and the density. They are arranged in steps.
I want to import the file and to make the density in the x,y,z-space
visible in JAVA3D with canvas3d etc. Then I want to mark a part of the
density with the mouse and use the marked area for mathematical
operations (for example integration).
I have absolutely no idea how this can...</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/File-import-and-mathematics-1609964.aspx</guid><author>rss@sagewire.org</author><pubDate>Wed, 23 May 2007 05:41:45 GMT</pubDate></item><item><title>JAVA3D for 3D Glasses</title><link>http://www.sagewire.org/3d-java/JAVA3D-for-3D-Glasses-1609963.aspx</link><description>Hi!

Has anybody experience with JAVA3D and cyan/magenta glasses? I'd like to 
make some applications with that kind of stereo-support. How can I use 
JAVA3D to create such applications?

Regards
- Thomas</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/JAVA3D-for-3D-Glasses-1609963.aspx</guid><author>rss@sagewire.org</author><pubDate>Wed, 16 May 2007 16:35:03 GMT</pubDate></item><item><title>to erase points cloud and to draw it.</title><link>http://www.sagewire.org/3d-java/to-erase-points-cloud-and-to-draw-it-693354.aspx</link><description>Hi!! I want to draw a points cloud. Then, I want to erase this points
cloud and to draw another cloud (to draw, to erase, to draw, to
erase...and so on) How'd you do this?

Would you make multiple scenes or only one?

Regards!!</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/to-erase-points-cloud-and-to-draw-it-693354.aspx</guid><author>rss@sagewire.org</author><pubDate>Tue, 24 Apr 2007 22:12:50 GMT</pubDate></item><item><title>Scene inside of JFrame</title><link>http://www.sagewire.org/3d-java/Scene-inside-of-JFrame-696620.aspx</link><description>Hi all!! I have got a JAVA3D application that I show it in a JFrame.
So, everything is correct.

---&amp;gt;This schem is correct:

class program3D extends JFrame{

public program3D(){   }

public BranchGroup createSceneGraph(){  }

public static void main ( String arg[] )
{
 new program3D();
}
}

_______________________________________________________________________
The problem is when I want to draw the scene inside of JPanel, and
then, this JPanel put inside of JFrame.

---&amp;gt;THE...</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/Scene-inside-of-JFrame-696620.aspx</guid><author>rss@sagewire.org</author><pubDate>Tue, 24 Apr 2007 11:05:15 GMT</pubDate></item><item><title>Points to intervale [-1,1]</title><link>http://www.sagewire.org/3d-java/Points-to-intervale-11-691221.aspx</link><description>Hi!! I have got points like this (in a file): X=2,923, Y=-0,232,
Z=7,890.

In JAVA 3D, points must be between -1 and 1 (in a intervalo [-1,1]).
How do you change this points to intervale [-1,1] ????

Regards!</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/Points-to-intervale-11-691221.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 12 Apr 2007 10:56:26 GMT</pubDate></item><item><title>I Only Want To Rotate Around One Axis</title><link>http://www.sagewire.org/3d-java/Only-Want-To-Rotate-Around-One-Axis-557962.aspx</link><description>The Deitel book with the JAVA 3D chapter has a good example of how to
use the mouse to implement translation and rotation.  If I only want
to rotate around one axis, is there some way to take this Deitel mouse
rotation control and turn off the X and Z axes?

Aaron Hirshberg</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/Only-Want-To-Rotate-Around-One-Axis-557962.aspx</guid><author>rss@sagewire.org</author><pubDate>Sat, 07 Apr 2007 03:45:43 GMT</pubDate></item><item><title>any help</title><link>http://www.sagewire.org/3d-java/any-help-688353.aspx</link><description>... I have bought and read LEARNING JAVA by niemeyer I loved it but find I need some hands on experience.
any help?

kevin

-- 
Sometimes I'm in a good mood.
Sometimes I'm in a bad mood.
When all my moods have cum to pass I hope they bury me upside down
so the world can kiss me porcelain,
white, Irish bottom.

-- 
Sometimes I'm in a good mood.
Sometimes I'm in a bad mood.
When all my moods have cum to pass I hope they bury me upside down
so the world can kiss me porcelain,
wh...</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/any-help-688353.aspx</guid><author>rss@sagewire.org</author><pubDate>Mon, 02 Apr 2007 19:40:18 GMT</pubDate></item><item><title>Connect to JAVA application from JAVA login form</title><link>http://www.sagewire.org/3d-java/Connect-to-JAVA-application-from-JAVA-login-form-388794.aspx</link><description>Good Day!

Would be appreciate to know any suggestion on the following coding
problem:

Originally, I've a JAVA application.

Now, I've developed a JAVA login form which is name as Login.JAVA

Would be appreciate to know how to compose the code to link to the
JAVA application after the user successful login.

Both JAVA source files (including the JAVA application) are stored at
http://tech.groups.yahoo.com/group/JAVAlogin/

Please refer the source file and suggest.

Thanks for a...</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/Connect-to-JAVA-application-from-JAVA-login-form-388794.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 16 Mar 2007 01:52:20 GMT</pubDate></item><item><title>Positioning and Transforming</title><link>http://www.sagewire.org/3d-java/Positioning-and-Transforming-385478.aspx</link><description>Is there anyway to add more than one Shape3D object to a
TransformGroup and Position them.
I am building a molecule viewer and I need to add 3 spheres to one
TransformGroup so I can make use of the MouseRotation
class(com.sun.j3d.utils.behaviour.mouse.MouseRotation).
If not what are my other options?</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/Positioning-and-Transforming-385478.aspx</guid><author>rss@sagewire.org</author><pubDate>Sun, 04 Mar 2007 20:34:30 GMT</pubDate></item><item><title>JAVA 3D running on Applet</title><link>http://www.sagewire.org/3d-java/JAVA-3D-running-on-Applet-381940.aspx</link><description>Hi folks!

I was looking at some Java API (application programming interface)to implement a JAVA 3D application
running as an Applet on the user's web browser.
I've seen JOGL (https://jogl.dev.JAVA.net/) and it seems to be a
good choice but I am not sure
if this is going to be too heavy for an Applet...

Has someone experience about 3D Applets?
Is JOGL currently the best choice?

Thanks in advance

Mh</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/JAVA-3D-running-on-Applet-381940.aspx</guid><author>rss@sagewire.org</author><pubDate>Mon, 19 Feb 2007 22:36:48 GMT</pubDate></item><item><title>Questions about using JAVA 3D</title><link>http://www.sagewire.org/3d-java/Questions-about-using-JAVA-3D-374916.aspx</link><description>Hi everyone (newbie here),

I'd like to develop my skills to become a professional JAVA developer.

I was wondering about your opinion regarding the JAVA 3d API.  Is it
popular?
[quote]From my google searches it looks like JAVA3d is most popular in the
mobile
[/quote]device realm.  Everywhere else it appears quiet.  So for instance I
wanted to
build a 3d applet for my website (to build my portfolio).  Do you think
this is
wise?  Or are there better alternatives?

Thanks for any adv...</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/Questions-about-using-JAVA-3D-374916.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 26 Jan 2007 21:49:21 GMT</pubDate></item><item><title>how to follow a point</title><link>http://www.sagewire.org/3d-java/how-to-follow-point-369468.aspx</link><description>Hi,

I looking for a possibility to track pointsin my 3D Enviroment.
My first idea was to do something like:
        OrbitBehaviour.setRotationCenter(point);
This basically works, but the user has to click into the canvas (this seems
to redraw/relocate everything correctly). Any idea how to achive that
behaviour without an extra click?

regards
Alex
-- 
Some operating systems are called `user friendly',
        Linux however is `expert friendly'.
Encrypted Mails welcome. Send spam ...</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/how-to-follow-point-369468.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 25 Jan 2007 10:13:32 GMT</pubDate></item><item><title>Physics Engines comparisons and benchmarks</title><link>http://www.sagewire.org/3d-java/Physics-Engines-comparisons-and-benchmarks-366292.aspx</link><description>Where can I find some docs on physical engines and some benchmark
suite?
I was trying some by my self.. I must write a simulator for an
anthropomorphic learning robot...
but other then the API (application programming interface)I do not know how to compare speed and accuracy
is there any benchmark suite or a standard set of test?
Or is someone interested in building one?
let me know.
I will post this message in every forum I know related to physical
engines
C u
Dimitri Ognibene</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/Physics-Engines-comparisons-and-benchmarks-366292.aspx</guid><author>rss@sagewire.org</author><pubDate>Tue, 16 Jan 2007 18:20:43 GMT</pubDate></item><item><title>Converting float/double to hires coords.</title><link>http://www.sagewire.org/3d-java/Converting-floatdouble-to-hires-coords-371688.aspx</link><description>Hi,

Does anyone know of any way of easily converting floats or doubles into
hires coords? My plan is to use a locale for each planet in the solar
system, and write a custom rotationinterpolator that will rotate the
locales around the sun locale. My plan was to store and manipulate the
coordinates of the planets in an easier-to-use form than hires coords,
and then scale the doubles up to hi-res coords once the new planet
position has been calculated.

Any help in this matter'd be great...</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/Converting-floatdouble-to-hires-coords-371688.aspx</guid><author>rss@sagewire.org</author><pubDate>Sat, 13 Jan 2007 22:06:46 GMT</pubDate></item><item><title>multiple behaviors on multiple objects / move everything and if picked only one object</title><link>http://www.sagewire.org/3d-java/multiple-behaviors-on-multiple-objects-move-everyt-367282.aspx</link><description>Hello everyone,

I`m having great trouble by programming the following:

We are programming a miniature golf-game at university.
We want to enable the user to rotate, zoom and translate everything he
sees at once. We did this with an OrbitBehavior. As far as I know an
OrbitBehavior cannot be limited to angles and zoomfactor, is that
right? Because later we want to limit the zoom and the user shoudn`t be
able to look beneath the ground.

The other thing is an arrow, which we want to us...</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/multiple-behaviors-on-multiple-objects-move-everyt-367282.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 12 Jan 2007 13:35:46 GMT</pubDate></item><item><title>Trouble Picking with my own VirtualUniverse on Ortho Projection</title><link>http://www.sagewire.org/3d-java/Trouble-Picking-with-my-own-VirtualUniverse-on-Ort-370053.aspx</link><description>Hello,

I made a simple app with a simpleUniverse. After testing it and using
picking (worked fine).

I decided to implement the real app. The real app has to be in Ortho
projection and have tranformations on the viewbranch.

So, I implemented the a class extending virtualuniverse. I did
everything &amp;quot;by the book&amp;quot; I think and everything worked fine as for the
visual aspect, object showed up in the right place and the view was
right.

Now, I'm trying to use pickcanvas but it does not w...</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/Trouble-Picking-with-my-own-VirtualUniverse-on-Ort-370053.aspx</guid><author>rss@sagewire.org</author><pubDate>Sun, 07 Jan 2007 17:50:02 GMT</pubDate></item><item><title>Scheduling Bounds of a Behavior</title><link>http://www.sagewire.org/3d-java/Scheduling-Bounds-of-Behavior-366420.aspx</link><description>Hi there!

In Daniel Selmans book &amp;quot;JAVA 3D Programming&amp;quot; (ISBN 1930110359) there is
an example given for scheduling bounds for a behavior (page 165):

There is a behavior that rotates a wheel only if the car is within 20
meters of the viewer. That is, if the Bounds for the Behavior intersect
the ViewPlatform's activation region.

My question is now: What are the parameters for the Bounds? Radius is 20
meters, of course, but where is the origin of that BoundingSphere
(considering it'd b...</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/Scheduling-Bounds-of-Behavior-366420.aspx</guid><author>rss@sagewire.org</author><pubDate>Wed, 20 Dec 2006 13:08:29 GMT</pubDate></item><item><title>Pick a Shape on MOUSE_ENTERED event</title><link>http://www.sagewire.org/3d-java/Pick-Shape-on-MOUSEENTERED-event-360595.aspx</link><description>I am using PickCanvas class in my application and it is correct to pick a
shape on MOUSE_PRESSED or MOUSE_CLICKED event in MyBehaviour object. Though I
could receive MOUSE_ENTERED or MOUSE_EXITED in MyBehaviour object, the
PickCanvas couldn't pick a shape (it always returns a null PickResult object
in this case).

My scene graph tree:
BG
|-&amp;gt; TG -&amp;gt; S
|-&amp;gt; TG -&amp;gt; S
|-&amp;gt; Behaviour

I am very appreciate if you could give me some advices. Thanks in advance.</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/Pick-Shape-on-MOUSEENTERED-event-360595.aspx</guid><author>rss@sagewire.org</author><pubDate>Tue, 28 Nov 2006 09:45:33 GMT</pubDate></item><item><title>Graphics applet blinks on fast processors</title><link>http://www.sagewire.org/3d-java/Graphics-applet-blinks-on-fast-processors-354181.aspx</link><description>I've made a graphics JAVA applet that shows a moving fractal.  I made
it in a computer with a 1GHz processor.  In this processor the applet
runs smoothly without any blinking.

The problem is that in new machines with faster processors the moving
object blinks in a slightly annoying way.

How could I make it not blink at any processor speed?

(I intend also to preserve the motion speed of the object to be always
the same on any processor.)

You can find the applet (source included) a...</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/Graphics-applet-blinks-on-fast-processors-354181.aspx</guid><author>rss@sagewire.org</author><pubDate>Tue, 21 Nov 2006 15:33:24 GMT</pubDate></item><item><title>Newbie Question: How do I get a surface to look different on itssides?</title><link>http://www.sagewire.org/3d-java/Newbie-Question-How-do-get-surface-to-look-differe-355756.aspx</link><description>I have recently started playing with JAVA3d; I teach JAVA in HS and am 
eventually hoping to incorporate some game design into my course. 
Anyway, I'm running into a bit of a problem which I have not been able to 
solve using the Sun tutorial or the API (application programming interface)documentation.

I'm displaying a shape called a Mobius strip, and I want to display it 
in such a way that you can tell which side you're looking at 
(technically it has just one side,  but the concept re...</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/Newbie-Question-How-do-get-surface-to-look-differe-355756.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 09 Nov 2006 10:04:57 GMT</pubDate></item><item><title>Using RotationInterpolator to rotate about multiple axis?</title><link>http://www.sagewire.org/3d-java/Using-RotationInterpolator-to-rotate-about-multipl-354623.aspx</link><description>Given a cube I'd like to spin it in space by rotating it about its
y-axis once every 4 seconds, about its x-axis once every 3 seconds and
about its z-axis once every 5 seconds.

Do not know how to proceed from following code which rotates it about
y-axis

	objTrans.addChild(new ColorCube(0.4));

	Transform3D yAxis = new Transform3D();
	Alpha yAlpha = new Alpha(-1, 4000);

	RotationInterpolator yRotator =
	    new RotationInterpolator(yAlpha, objTrans, yAxis,
				     0.0f, (float) ...</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/Using-RotationInterpolator-to-rotate-about-multipl-354623.aspx</guid><author>rss@sagewire.org</author><pubDate>Sun, 05 Nov 2006 11:29:21 GMT</pubDate></item><item><title>SimpleUniverse VS VirtualUniverse</title><link>http://www.sagewire.org/3d-java/SimpleUniverse-VS-VirtualUniverse-349723.aspx</link><description>Hi!

In my current project I am using the VirtualUniverse class instead of 
the SimpleUniverse, because I need two views that are displayed 
simultaneously (for a stereoscopic view). So the views are working fine, 
but I obviously got a problem with PickBehaviors.

With SimpleUniverse the PickBehaviors are working fine (picking and 
rotating, translating and scaling of two boxes). But in my 
VirtualUniverse the PickBehaviors do not work fine at all: You've to 
pick the box somewhere el...</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/SimpleUniverse-VS-VirtualUniverse-349723.aspx</guid><author>rss@sagewire.org</author><pubDate>Sun, 22 Oct 2006 16:41:06 GMT</pubDate></item><item><title>3D Points</title><link>http://www.sagewire.org/3d-java/3D-Points-343454.aspx</link><description>I'm looking to create a simple JAVA app that outputs a bunch of 3D points 
(X, Y, Z) into a window. Possibly being able to rotate the image of the dots 
to appreciate the 3D. What'd be my best way to do this in JAVA? The JAVA 
3D API (application programming interface)seems like overkill since you *need* OpenGL and a 3D card, but I'm 
sure my app'd run fine on any system without 3D hardware.

- Brian</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/3D-Points-343454.aspx</guid><author>rss@sagewire.org</author><pubDate>Mon, 25 Sep 2006 18:06:41 GMT</pubDate></item><item><title>Help with Transform3D.rotY()</title><link>http://www.sagewire.org/3d-java/Help-with-Transform3DrotY-339040.aspx</link><description>Can anyone please explain what is going on here? I am trying to
manipulate a ViewPlatform. The sample code below hopefully should
illustrate what is going wrong. I first set up the position of the
platform, with the user placed at (9, 0, 0) on the X-axis, with the
user looking down the X-axis, away from the origin. When I print its
position it prints (9, 0, 0). Sometime later, I choose to rotate the
transform.

However after the call to tg.rotY() the position is reset to (0, 0, 0).

Wh...</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/Help-with-Transform3DrotY-339040.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 08 Sep 2006 12:06:35 GMT</pubDate></item><item><title>Reflections on good and evil</title><link>http://www.sagewire.org/3d-java/Reflections-on-good-and-evil-238589.aspx</link><description>My name is Lorenzo Crescini  and I'm Italian. These &amp;quot;Flashes on
Good and evil&amp;quot; reflect the same mood characterizing the Flashes on
wrote in message in Africa: making
myself useful to our Lord Jesus Christ.
I'll start by quoting the best Prayer to Jesus I have ever read.
At the very beginning some reflections concern the devil one.
I thank all those who will read me, write to me, will ask for an
explanation and those who will be able and willing to advertise what
they read by Web, the pre...</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/Reflections-on-good-and-evil-238589.aspx</guid><author>rss@sagewire.org</author><pubDate>Wed, 16 Aug 2006 17:41:59 GMT</pubDate></item><item><title>Convert mouse position to Texture position on ball</title><link>http://www.sagewire.org/3d-java/Convert-mouse-position-to-Texture-position-on-ball-236481.aspx</link><description>Hi All,

I am an experienced JAVA developer and since a few weeks I joined a project
which involved real time rendering of 3D objects and interaction with those
objects. I've a problem for which I hope that an experienced 3D programmer
can help me. 

Usage:
* I’ve rendered an 3D Sphere object which in this case is a perfect ball (not
eggs shape) using Spherical Texture mapping. 
* The idea is that a user can interact with this ball and rotate the ball.
The user clicks a location on th...</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/Convert-mouse-position-to-Texture-position-on-ball-236481.aspx</guid><author>rss@sagewire.org</author><pubDate>Sun, 06 Aug 2006 03:15:25 GMT</pubDate></item><item><title>rotX,totY,rotZ to transform a Cylinder</title><link>http://www.sagewire.org/3d-java/rotXtotYrotZ-to-transform-Cylinder-236482.aspx</link><description>Hello,
for an expert in JAVA3D this might be an easy question. For me, novice,
it's driving me nuts...

Problem:

I've a StartPoint (sx,sy,sz) and a EndPoint (ex,ey,ez).
- I have created a Clylinder with some standard radius and the distance
between the two points as lenght.
- I have translated the Cylinder with Transform3D.setTranslation to the
right position.
- Now I want to rotate the Cylinder around the X,Y,Z axis to 'connect'
the two points withe the Cylinder.
For this rotation...</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/rotXtotYrotZ-to-transform-Cylinder-236482.aspx</guid><author>rss@sagewire.org</author><pubDate>Wed, 02 Aug 2006 18:13:33 GMT</pubDate></item><item><title>Newbie Question</title><link>http://www.sagewire.org/3d-java/Newbie-Question-234451.aspx</link><description>I've been through the Dietel chapter on JAVA 3D, and been to some
on-line courses on JAVA-3D, and have done some interesting stuff with
it, but I want to know the following:

Can I make an applet with the current version of the JAVA Plug In for
IE, or is that never going to happen?  If this is the #1 question in
the Intergalactic FAQ, I apologize in advance.

Aaron Hirshberg</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/Newbie-Question-234451.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 13 Jul 2006 21:59:53 GMT</pubDate></item><item><title>The Factory Design Pattern</title><link>http://www.sagewire.org/3d-java/The-Factory-Design-Pattern-53720.aspx</link><description>Hi Friends,

Do not missout on these articles on design techniques:

The Factory Design Pattern:
http://JAVAlive.com/modules/articles/article.php?id=18

Effective use of Interfaces and Abstract Classes:
http://JAVAlive.com/modules/articles/article.php?id=17

Why ORM Tools aren't Recommended:
http://JAVAlive.com/modules/articles/article.php?id=16

Interfaces and Abstract Classes - the pillars of software design:
http://JAVAlive.com/modules/articles/article.php?id=15

How to Estima...</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/The-Factory-Design-Pattern-53720.aspx</guid><author>rss@sagewire.org</author><pubDate>Sun, 04 Jun 2006 17:01:20 GMT</pubDate></item><item><title>Replace Shape3D in scene graph</title><link>http://www.sagewire.org/3d-java/Replace-Shape3D-in-scene-graph-53690.aspx</link><description>I've a method that generates a Shape3D. I want to regenerate that shape 
and replace the Shape3D originally added to the scene graph with the newly 
generated one. How do I do this?

tg = new TransformGroup();
tg.addChild(generateShape());
rootBranchGroup.addChild(tg);

I want to replace the Shape3D added to tg with a new one created by 
generateShape().</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/Replace-Shape3D-in-scene-graph-53690.aspx</guid><author>rss@sagewire.org</author><pubDate>Wed, 17 May 2006 23:52:29 GMT</pubDate></item><item><title>Problem with MainFrame class in JApplet</title><link>http://www.sagewire.org/3d-java/Problem-with-MainFrame-class-in-JApplet-53706.aspx</link><description>Hi all!
I'm new to this NG so I will try to explain my problem.
I'm using JAVA3D into a JApplet. This is the code

[CODE]
import JAVA.util.*;
import JAVA.net.*;

import JAVA.awt.*;

import JAVAx.swing.*;

import com.sun.j3d.utils.applet.MainFrame; 
import com.sun.j3d.utils.universe.*;

import JAVAx.media.j3d.*;
import JAVAx.vecmath.*;

...

public class OSESKeyNav extends JApplet
{
        private static final int WINDOW_WIDTH = 800;
        private static final int WINDOW...</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/Problem-with-MainFrame-class-in-JApplet-53706.aspx</guid><author>rss@sagewire.org</author><pubDate>Sat, 13 May 2006 10:31:43 GMT</pubDate></item><item><title>I am REALLY new to this-need to slow down 3d cube</title><link>http://www.sagewire.org/3d-java/am-REALLY-new-to-thisneed-to-slow-down-3d-53713.aspx</link><description>I've created a 3d cube that spins. My problem is that it spins
extremely fast! Can I add anything or do anything to make this slow
down??? PLease help
THanks[code]&amp;lt;APPLET CODE=&amp;quot;image3dcube.class&amp;quot; WIDTH=350 HEIGHT=400&amp;gt;[/code]
[code]&amp;lt;PARAM name=&amp;quot;speedvalue&amp;quot;=&amp;quot;1&amp;quot;&amp;gt;[/code]
[code]&amp;lt;PARAM name=&amp;quot;POVvalue&amp;quot;=&amp;quot;2&amp;quot;&amp;gt;[/code]
[code]&amp;lt;PARAM name=&amp;quot;Thetavalue&amp;quot;=&amp;quot;.01&amp;quot;&amp;gt;[/code]
[code]&amp;lt;PARAM name=&amp;quot;background&amp;quot; value=&amp;quot;FFFFFF&amp;quot;&amp;gt;[/code]
[code]&amp;lt;PARAM name=&amp;quot;shadowcolor&amp;quot; value=&amp;quot;FFFFFF&amp;quot;&amp;gt;[/code]
[code]&amp;lt;PARAM name=&amp;quot;textcolor...</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/am-REALLY-new-to-thisneed-to-slow-down-3d-53713.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 11 May 2006 20:38:49 GMT</pubDate></item><item><title>add shape3D to scene</title><link>http://www.sagewire.org/3d-java/add-shape3D-to-scene-53699.aspx</link><description>Hi,

I'm trying to add a Shape 3d to an object, but I get a
nullpointerexception.
 I have a class displaypoints and a class simplebehavior. When
simplebehavior is called upon I'd like to see the new shape appear.the code for displaypoints is like this

public class DisplayPoints extends Applet {

    private  SimpleUniverse u;
    private Canvas3D c;
    private BranchGroup objRoot;

    public BranchGroup createSceneGraph() {

        objRoot = new BranchGroup();        Transfor...</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/add-shape3D-to-scene-53699.aspx</guid><author>rss@sagewire.org</author><pubDate>Tue, 02 May 2006 09:10:04 GMT</pubDate></item><item><title>Shapes with unique surfaces</title><link>http://www.sagewire.org/3d-java/Shapes-with-unique-surfaces-53703.aspx</link><description>As with most newbie's, I am having problems with lighting effects. To
be more precise I only wish to differentiate between each side of a box
so that the surfaces don't blend. As I am repeating the same box in
different dimensions many times in different locations, I thought I
might attempt to create a different colour for each surface of the box,
therefore faking a lighting effect. However, I can not find any example
of this, can any body provide me with a link to an exmaple of such a
sh...</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/Shapes-with-unique-surfaces-53703.aspx</guid><author>rss@sagewire.org</author><pubDate>Mon, 01 May 2006 11:58:27 GMT</pubDate></item><item><title>How to close one window without exitting the program?</title><link>http://www.sagewire.org/3d-java/How-to-close-one-window-without-exitting-the-progr-43616.aspx</link><description>Dear friends, 

I am making a program which uses several windows at the same time. The
problem is, When I close one window, the whole program will exit. How
to close just one window without exitting the whole program?

Many thanks.
tony</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/How-to-close-one-window-without-exitting-the-progr-43616.aspx</guid><author>rss@sagewire.org</author><pubDate>Tue, 25 Apr 2006 00:08:27 GMT</pubDate></item><item><title>How to grip and move the object with mouse</title><link>http://www.sagewire.org/3d-java/How-to-grip-and-move-the-object-with-mouse-53696.aspx</link><description>hi all,
 I need help (as everyone else) :))

I'm trying to do the following.
whan i'm over some object and I press mouse button, after which i'm
doing the drag, I want that when mouse is moved the object also moves
but in such manner that the gripped point(on object)i s laways under
mouse pointer.

thanks</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/How-to-grip-and-move-the-object-with-mouse-53696.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 21 Apr 2006 11:19:57 GMT</pubDate></item><item><title>Lighting having no effect</title><link>http://www.sagewire.org/3d-java/Lighting-having-no-effect-53688.aspx</link><description>I am trying to add lighting to a simple 4x4 QuadArray terrain mesh.

However all that seems to happen is that the color I've specified for the 
Shape3D object is displayed purely i.e. no shading at all just 100% the same 
color all over the object. The only effect the light seems to be having is 
direction i.e. you can only see the shape at all when one surface is 
pointing down the way.

I've tried both AmbientLight and DirectionalLight and they are both having 
no effect. My addLight ...</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/Lighting-having-no-effect-53688.aspx</guid><author>rss@sagewire.org</author><pubDate>Sat, 15 Apr 2006 13:53:21 GMT</pubDate></item><item><title>3D Terrain</title><link>http://www.sagewire.org/3d-java/3D-Terrain-53685.aspx</link><description>I want to create a 3d map so that you can see roads and elevation (i.e. 
terrain... so you can see hills).  What objects should I use in the JAVA3d 
hierarchy to achieve this?

My terrain will obviously consist of a bunch of triangles. How do I 
implement such a triangle using JAVA3d?

Any advice'd be appreciated.</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/3D-Terrain-53685.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 13 Apr 2006 18:27:10 GMT</pubDate></item><item><title>JAVA3D on Linux RH Enterprise 2.4</title><link>http://www.sagewire.org/3d-java/JAVA3D-on-Linux-RH-Enterprise-24-53681.aspx</link><description>I haven't done any JAVA3D for 4/3 years now but I am starting to get back to it.  
Since then our sys administrators have placed JDK 1.6 (used to be 1.4.2) on our 
Linux RH Enterprise 2.4 and I think JAVA3D 1.4.  I can translate HelloUniverse.JAVA 
just fine, but when I go to execute it I get the following 

------------------------------------------------------------------------------------------------------------------------------------------------

$JAVA HelloUniverse

JAVA 3D WARNIN...</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/JAVA3D-on-Linux-RH-Enterprise-24-53681.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 06 Apr 2006 23:32:41 GMT</pubDate></item><item><title>add object in runtime</title><link>http://www.sagewire.org/3d-java/add-object-in-runtime-53680.aspx</link><description>Hi,
 I can't add an object in runtime to a JAVA 3D environment.

I'm trying to construct a kind of hollow cube, and when you click
somewhere along the axis of the cube, a square appears inside the cube.See screenshot : http://www.seo-web-hosting.be/hypercube/screenshot.jpg

Now i'm trying to make a square appear by adding a behavior to the
branchgroup and telling it to add a square at runtime, when any key is
pressed.

The results so far have been discouraging :-(.
Sometimes I get an...</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/add-object-in-runtime-53680.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 31 Mar 2006 13:46:17 GMT</pubDate></item><item><title>Change view?</title><link>http://www.sagewire.org/3d-java/Change-view-53675.aspx</link><description>if it possible to click a button and be able to view a specific object
in your scene? I have the buttons set up and they are opening new
windows to just show just screen shots of the object, is there a way to
change the view so that it is at the object?</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/Change-view-53675.aspx</guid><author>rss@sagewire.org</author><pubDate>Tue, 28 Mar 2006 09:08:26 GMT</pubDate></item><item><title>Encode the image of a texture with Base64</title><link>http://www.sagewire.org/3d-java/Encode-the-image-of-texture-with-Base64-53672.aspx</link><description>Hello NG,
as you can see in the topic I want to encode the image of a texture with
Base64. Any idea how I can realize it? I'm asking because the
Base64-class I found on sourceforge needs a serializable-Object to
encode it - or an array of byte. But Texture isn't serializable -
BufferedImage neither. And how can I get an Array of byte of the image?
I appreciate any answer.

greets
Gilbert</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/Encode-the-image-of-texture-with-Base64-53672.aspx</guid><author>rss@sagewire.org</author><pubDate>Mon, 20 Mar 2006 21:01:02 GMT</pubDate></item><item><title>how to stop a interpolator</title><link>http://www.sagewire.org/3d-java/how-to-stop-interpolator-53669.aspx</link><description>i created a Interpolator like this:PositionInterpolator moveDuck = new
PositionInterpolator(duckAlpha,duckMovXfmGrp,axis,-30.0f,30.0f); it is
a duck moving from -30.0f to 30.0f. But I want to make the duck stop
moving(not pausing) after some circumstance. Which method should I 
invoke? thanks a lot!</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/how-to-stop-interpolator-53669.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 17 Mar 2006 07:11:25 GMT</pubDate></item><item><title>Rotations</title><link>http://www.sagewire.org/3d-java/Rotations-53659.aspx</link><description>I'm making a 3d solar system and need my planets (spheres) to spin on
there own axis and around the sun, getting very confused with
transformgroups, (do I need a new transformgroup for each rotation?)
all that seems to happen is all my planets spin around the sun, at the
same speed etc, how do I just concentrate on one planet at a time! I
know this is probably a stupid question and the answer is probably
obvious but i have been staring at it so long that none of it makes sense
and all the...</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/Rotations-53659.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 09 Mar 2006 00:14:56 GMT</pubDate></item><item><title>JAVA fullscreen 3D graphics</title><link>http://www.sagewire.org/3d-java/JAVA-fullscreen-3D-graphics-53660.aspx</link><description>Hello all!

What are the options to develop graphical applications in fullscreen?

1. JAVA3D, obviously slow in further development and relatively low 
rendering quality/options
2. OpenGL via JAVA bindings, like Jogl, currently under development...
3. Any way to integrate C++ written game engines which are a little more 
professional? -&amp;gt; like free OGRE3D etc.

A relatively high level approach is preferred, JAVA3D seems outdated 
from what I've seen. OpenGL is too low level for me.

...</description><guid isPermaLink="true">http://www.sagewire.org/3d-java/JAVA-fullscreen-3D-graphics-53660.aspx</guid><author>rss@sagewire.org</author><pubDate>Wed, 08 Mar 2006 16:39:10 GMT</pubDate></item></channel></rss>