3d

Options for Interactive 3D models on web

Could anyone tell me what my practical options are for publishing interactive 3D models on the web? I would think either Flash or Silverlight would be the way to go, but even if this is the case, perhaps there are some frameworks already available based on these that will help. Details: Fairly simple models Must support 'bones' a...

Interactive 3D Model in HTML5

Hi, does anybody know if its possible to get a 3D model of a building made in 3ds Max for example, onto an HTML5 web-page and make it interactive, for example pans and zooms,maybe even use it for navigation through a site? If this is not possible in HTML 5 or with such a detailed model does anyone have any recommendations for achieving ...

Z Value after Perspective Divide is always less than -1.

Hi All, So I'm writing my own custom 3D transformation pipeline in order to gain a better understanding of how it all works. I can get everything rendering to the screen properly and I'm now about to go back and look at clipping. From my understanding, I should be clipping a vertex point if the x or y value after the perspective divid...

What are the technologies behind Quake Live?

What technologies are used to power Quake Live? Specifically, how do you create a web application that makes such extensive use of 3D in the browser? The service requires you to download and install a plug-in in order to play. How do you create such a plug-in, and how does it interact with the web site? ...

How is this 3D rendering on the desktop done

I read a topic on OpenGL.org where a guy made this: http://coreytabaka.com/programming/cube-demo/ He said to release the source code but he never did, does anyone how I could get the same idea? Has to do with clearing the window with alpha but drawing on it as well.. just don't get how to get OpenGL setup like that. From there I can do...

Suggested platform / tool / library for rapid prototyping of graphic design toolset

Looking to prototype a piece of software that works on a three dimensional canvas, with various tools and dialogs that manipulate the model. Looking for a platform with the basic set of user interface tools already available - basic model manipulation (selecting, moving, redimensioning) - dialog boxes, forms, modal windows, etc. On ...

3D coordinates in ASCII stereolithography files (STLA)

Hi all, I read the short description of the STLA Files (ASCII stereolithography files) but , Im sorry, I don't get how the facets/triangles are defined. For Example in the example for the cube: solid cube_corner facet normal 0.0 -1.0 0.0 outer loop vertex 0.0 0.0 0.0 vertex 1.0 0.0 0.0 vertex 0.0 0.0 1.0 en...

draw 3d faces as 2d

I have 3d mesh and I would like to draw each face a 2d shape. What I have in mind is this: for each face 1. access the face normal 2. get a rotation matrix from the normal vector 3. multiply each vertex to the rotation matrix to get the vertices in a '2d like ' plane 4. get 2 coordinates from the transformed vertices I don't know if th...

Using 3D designs in java

I am currently trying to practice 3D program designs in java, but unfortunately when I try to import the following packages, it gives says that the package does not exist. import com.sun.j3d.utils.geometry.ColorCube; import javax.media.j3d.BranchGroup; import com.sun.j3d.utils.universe.SimpleUniverse; Could anyone help me to resolv...

How to stop camera from moving through walls?

I'm making a game using JigLib and GLGE. The camera follows the player the way I want it to, but when the player is close to a wall, the camera moves to the other side of the wall, which is annoying when there is something that needs quick reflexes. I tried using picking to move the camera when it can't see the player, but it only moves...

Fisheye projection matrix in Xna/OpenGL - 3D

Hi, I'm looking for a projection matrix I can use in 3D that will give me the effect of a fisheye. I'm not looking for a pixelshader or anything like that, that will manipulate pixels - but the actual projection matrix used in projecting from 3D space onto 2D. Thanks. ...

How do I set a world background texture in Blender 2.49 using Python ?

Hello, I'm trying to set a background World Texture in Blender 2.49. I've made a texture: import Blender from Blender import * import bpy world = World.GetCurrent() worldTex = Texture.New('worldTex') worldTex.setType('Image') worldIm = Image.Load('//blender_scene/tex/bg 001.jpg') worldIm.source = Image.Sources.SEQUENCE worldT...

Creating a walk-through using Virtools

I,m doing a virtual walk-through in a museum environment. i have constructed the 3D virtual environment in 3D's Max and i need to create the walking part in Virtools. I have found some tutorials in youtube that shows how to do a simple character movement. but it shows only using keyboard navigations to move around. I want to know how to...

How to plot a set of densities in 3D using R?

Hi! I need to plot, in 3D, a set of densities associated to a time series. More precisely, I would like to be able in R to build an image close to this example This image is taken from [1]. The transparency plays an important role as let us see the trajectory of the "measures" in the x-y plane. Any help will be greatly appreciated...

Should I use the WPF or SlimDX?

Here's what I want to do: I want to draw geometric primitives and maybe some form of 3D graphs and charts. I also want to be able to freely move the camera around. I want to do all this in a WPF or Windows Forms Window or maybe even render to an image. And finally, I want to be able to achieve this in a fairly straightforward manner. So,...

Is there any algorithm for generating 3d clouds?

So Id love to see an algorithm for generating 3d cloud objects. as realistic as possible. I know that there are different cloud types But I am moust interested in such cloud tupes like so can any one point to algorithm or just a C\C++\C#\AS3 or any other language lib that can do such thing? ...

How can I combine texture and color in COLLADA diffuse element?

I need to composite texture with alpha channel, and a color, and put the result into COLLADA's diffuse element. How can I do this in profile_COMMON? ...

I am trying to draw a 3d cube, but it does not work. Code inside.

EDIT: Fixed Hello everybody, I have got the following eventhandler in my Window: private void buttonView_Click(object sender, RoutedEventArgs e) { //Camera PerspectiveCamera camera = new PerspectiveCamera(); camera.LookDirection = new Vector3D(5, -2, -3); camera.Position = new Point3D(-5, 2, 3); camera.UpDirection =...

Any benefits of learning 3d software rasterization & theory before jumping into OpenGL/Direct3D?

I came across a very interesting book. I have done some 2d games but 3D is a whole new ballpark for me. I just need to know if there any benefits of learning 3d software rasterization & theory before jumping into OpenGL/Direct3D? Any reason why to either approach? Thanks in advanced! ...

How to always rotate from a particular orientation

(Apologies in advance. My math skills and powers of description seem to have left me for the moment) Imagine a cube on screen with a two sets of controls. One set of controls to rotate the cube side to side (aka yaw or Y or even Z depending on one's mathematical leanings) and another set of controls to rotate up and down (aka pitch or X)...