3d

javascript library to display / animate 3d objects?

Hi, I have saw some time ago library where you can import your 3d objects and it will draw those out. You could also animate the objects. The webpage itself was back and there were rotating gear at the corner... Can anyone recall the name of the library? Also you can mention if you know some other neat js libraries. Thanks! ...

Fastest way to compute point to triangle distance in 3D?

One obvious method for computing the minimum distance from a point to a 3D triangle is to project the point onto the plane of the triangle, determine the barycentric coordinates of the resulting point, and use them to determine whether the projected point lies within the triangle. If not, clamp its the barycentric coordinates to be in t...

Tips for begining 3D Application Development

hey, guys I want to create an application that has a 3D display. I want all the planets in it. Then the next step is I want to have satellites in it as well. I want to provide an interface to add satellites etc. Off course this will include 3D designing and it will be more like a game. I want to know what are the things I need to know...

Spinning a 3D model in C#

How do I take a 3D model that I created in 3D Studio Max and put it into my Winform C# program and make it spin? I'd prefer not to use DirectX if possible. I don't want anything complex. I simply want my model to rotate along the X axis. Thats it. Thanks ...

Store 3d models in game, the best way

What is the best method to store 3d models in game ? I store in vectors: vector triangles (each triangle contain number of texcords, numer of vertex and number of normal), vector points; vector normals; vector texCords; ...

Open source 3D render engine for Java

Which are the Open source 3D render engines for Java? ...

Euler rotation of direction vector

I have defined an object in 3D space with position, rotation and scale values (all defined as 3D vectors). It also has upwards and forwards direction vectors. When I rotate the object, I need these direction vectors to rotate with it. Assuming my up vector is (0, 1, 0) and my forwards vector is (0, 0, 1) at zero rotation, how might I ac...

Matlab 3d volume visualization and 3d overlay

Hi, so the question ist pretty much the title. I have a 3d volume loaded as raw data [256, 256, 256] = size(A). It contains only values of zero's and ones, where the 1's represent the structure and 0's the "air". I want to visualize the structure in matlab and then run an algorithm on it and put an overlay on it, let's say in the color ...

WPF - Render text in Viewport3D

I want to present up to 300 strings (just a few words) in a Viewport3D - fast! I want to render them on different Z positions and zoom in and out fluently. The ways I have found so far to render text in a Viewport3D: Put a TextBlock in a Viewport2DVisual3D. This guy's PlanarText class. The same guy's SolidText class. Create my own 2D ...

Easiest way to position camera in XNA?

Everytime I load my model into XNA, I can usually see it far off in the distance. When I change some parameters and make it zoom up close, 10/10 times it's rotated funny and I'm set with the task of rotating it. Is there any easy way to do it except by experimenting? Or am I exporting it wrong (using Blender)? Is there any value I should...

Is it possible to convert text to shape in VML /canvas/SVG ?

Hello, I need to display a text in 3D using vml/canvas/svg and do some transformation to the shape of the text like the effect of Ctrl+T in photoshop, even align a line of text to a curve. For example, transform a normal text to a rotated, trapezoid/quadrilateral shape. So, is there a way to convert text to shape first? The only thi...

What language to use for developing a tiled map editor?

Hello. I'm working on a 2D tiles-based games mixing 3D models, which I achieved using OpenGL and C++. I would like to know what language should I use for creating a map editor, it needs to be easy-to-use and with a form designer or something alike, and with an easily embedded rendering engine. If you would say I should use a language, I ...

Determining if and where a photon will collide with a polygon in 3D space.

The problem is straight forward: 1) We have a photon traveling from Point 1 (x,y,z) to Point 2 (x,y,z), both of which could be located anywhere in 3D space. 2) We have a polygon that is both rotated randomly on the x-axis and/or y-axis and also located anywhere in 3D space. 3) We want to find: a) if the photon will collide with the p...

Shape object in Processing, translate individual shapes.

I am relatively new to Processing but have been working in Java for about 2 years now. I am facing difficulty though with the translate() function for objects as well as objects in general in processing. I went through the examples and tried to replicate the manners by which they instantiated the objects but cannot seem to even get the s...

Is it impossible to embed Java3D in a way that I don't need to install it?

I'm running a big application and a small part of it includes Java 3D, the problem is many users need to use the code, but it isn't practical for everyone to install Java 3D just to run the application if they aren't even going to use that section of the application. Is it possible through compiling an extra jar, or changing some paths,...

jQuery 3D carousel?

Has anyone seen a tutorial for a jQuery 3D carousel like this one? http://web.enavu.com/demos/3dcarouselwip/ No source is given, but was wondering if anyone had tips on how to continuously circle the DIVs and resize them. It doesn't appear to be true 3D, but resizes the DIVs based on position? Thanks, Juan ...

Applying a 2d mesh to a 3d surface

I have a very complex 3d surface I need to apply a 2d mesh to. What I need is something like the Solidworks Wrap tool : http://www.rickyjordan.com/2009/01/the-solidworks-secret-weapon-the-wrap-tool.html Due to the complexity of the 3d surface normal texture UV unwrapping won't work. For instance, if I want to map a O and the 3d surface ...

3D in HTML5 vs Silverlight

I'm wondering about the 3D capabilities of HTML5 versus those of Silverlight. Someone was telling me that Internet Explorer 9 and the next version of Chrome will both feature GPU acceleration. How will this compare to say, the capabilities of Silverlight? I know Unity is a great 3D engine, but would it be possible to render reasonably c...

Optimal rotation of 3D model for 2D projection

I'm looking for a way to determine the optimal X/Y/Z rotation of a set of vertices for rendering (using the X/Y coordinates, ignoring Z) on a 2D canvas. I've had a couple of ideas, one being pure brute-force involving performing a 3-dimensional loop ranging from 0..359 (either in steps of 1 or more, depending on results/speed requiremen...

WPF 3D - Positioning Visual3D elements in a 3D scene using nested Model3DGroup transforms?

I have a 3D scene where my 3D models are being loaded in the code behind from XAML files. Each model is comprised of a tree of nested Model3DGroups each of which has various transformations applied to it to position and orient the next subcomponent of the model in the tree. This model is then used as the content of a ModelVisual3D so t...