3d

Data display with 3d graphs in Java?

Can you please recommend a library that can draw a simple (see the image) 3D graph in Java? The library should comply with the following requests: it has to be freely available for non-commercial use it should be simple to use (given a set of data, it should draw a 3D graph) when drawn, users should be able to do basic control over...

Rotating a model in 3D: Suggestions for center of rotation

I need to allow the user to pan, rotate, zoom in/out of my scene in 3D which uses a parallel projection. Panning and zooming in/out has been pretty straight forward. However, when using the mouse for rotation, I am not sure what to use as the center of rotation. In particular, I am not sure at what depth inside the screen the center of r...

javax.media.j3d.RestrictedAccessExceptioning

Hi I have a scene in one frame which has 9 white spheres(3d graphics)(center).and also this frame has a panel in the north of itself which has 2d graphics . I put some check boxes on that panel and the user by clicking on them can change the color of the 3d balls .the panel also have a "reset button" button and by clicking on that ,the g...

changing the color of one ball at the run time

Hi I have a scene that has a white ball(3d graphics) and the scene is on my frame also the north of my frame there is a panel which has a button and by clicking on the button the ball will be red.how can I do that?please help me thanks this is the code that creates a white sphere: protected void floatingWhiteSphere() { Color3f b...

use core-image in 3d

hello, i have a working Core Video setup (a frame captured from a USB camera via QTKit) and the current frame is rendered as a texture on an arbitary plane in 3d space in a subclassed NSOpenGLView. so far so good but i would like to use some Core Image filter on this frame. i now have the basic code setup and it renders my unprocessed v...

How to implement 3D carousel ?

Hii, I want to implement floating 3D carousel with images, similar to UltimateFaves imeplementation. Please give me some idea how to proceed Regards, Kishore ...

camera translation vector - relation to rotation matrix

I am working with some code which outputs a 3x3 rotation matrix and a translation vector representing a cameras orientation and location. However, the documentation states that to get the location of the camera one must multiply the transposed and inverted rotation matrix by the translation vector. Does that mean that the original vect...

How does one plot a 3D stacked histogram in R?

I want to plot stacked histograms in R; i.e. stack individual histograms in the third dimension. Here's an example: http://www.denovosoftware.com/images/3d_fill_histo1.gif ...

Anim8or to Cinema 4D

Is it possible to convert Anim8or to Cinema 4D? Thanks in advance! ...

How do you determine when an object is drawn on-screen in OpenGL?

I'm extremely new to OpenGL. I'm writing a program that displays flying 3D text on screen. I need to know when certain text string appears (drawn) onto the screen and are visible to the user. The program needs to identify which text strings are displayed. (Note: although my problem deals with text, it could be generalized to any OpenGL o...

How do you dynamically allocate a contiguous 3D array in C?

In C, I want to loop through an array in this order for(int z = 0; z < NZ; z++) for(int x = 0; x < NX; x++) for(int y = 0; y < NY; y++) 3Darray[x][y][z] = 100; How do I create this array in such a way that 3Darray[0][1][0] comes right before 3Darray[0][2][0] in memory? I can get an initialization to work that g...

Any update to WPF 3DTools?

I've been making heavy use of the interactive 3D controls, made by some guys on the WPF team, found here http://channel9.msdn.com/posts/Charles/Daniel-Lehenbauer-and-Kurt-Berglund-Interactive-2D-controls-on-WPF-3D-Surfaces/ I've noticed there hasn't been any updates to this lately, and with WPF and .Net 4.0 just around the corner, I wa...

Calculating the perpendicular plane to a triangle in 3D space

This is somewhat hard to describe, so bare with me. Essentially I have a triangle in 3D space defined by its 3 vertices, p0, p1, and p2. I wish to calculate a plane in this 3D space which lies along both p0 and p1 and faces a third point, p2. This plane is to be defined by a position and normalised direction/ In addition to lying al...

Finding the 'foot' of an altitude of a triangle in 3D space

A little backstory, currently I'm working on implementing a triangle rendering system in Expression2 to create .obj models. One of the limitations I'm currently experiencing is that I cannot create polygons the old-fashioned way, rather, I'm having to create Isosceles triangles, and cut part of it off. My current problem is that I'm ...

Problems with 3D WPF

Hi, I started to learn some 3D in WPF today and I copied some simple examples (planes) into my XAML, and they all worked. However, when I adjusted the camera's and the plane's coordinates to meet my needs, I always see nothing. I do not know what I am doing wrong, and I also already sketched the (really simple) 3D scene to verify my da...

Actionscript 3 3D sizing problem

I have an application where I can have an image moving towards the eye. When the image enlarged, I would like to have it resized as 635 px where initial size was 220 px. I have the image with starting position as 0 in z axis. I am wanting to calculate the distance from starting position to the resized image. I have already calculate th...

Actionscript 3 3d with fieldofview

what does the field of view to do with the z axis in flash? I have tried moving object towards the eye with different fieldofview values with same z axis but their size changes. Please help ...

Why enabling transparency can lead to clipping problems ?

Hi, I'm working on a 3D graphical application in Java using the Java 3D API. I noticed that every time I was dealing with transparency, all I got in return were some clipping problems. Some parts of the scene weren't displayed properly. It might seem obvious that this would happen in a certain way but I'm looking for a logical explanati...

Crossing-section-of-a-3d-mesh-object-in-an-arbitrary-coordinate-point

Hi All, (Yesterday, I had a question about cross section. Sorry due to repeating the question. I could not use the "edit" property of the page since it was not available on the screen.) Could one explain me how to have the points that are on the intersection curve of a 3d mesh object and a plane. Regards J.Jack ...

3D line plane intersection, with simple plane

hello, i have two points in 3D space which have X-coordinates with different signum. so one of them lies definitely on one side of the X-plane and one on the other. now i want to find the intersection of this plane and the line made up by the two points in the most simple and optimized way. i know how to do general line plane intersect...