3d

Is it possible to run C++ binded with SDL+OpenGL code on a web browser?

My client wants her website to have an application that renders 3D (light 3D stuff, we are drawing only flat squares in 3D world) but web programming is not my thing. So I am looking for something that can run a C++ program from a web browser. But I think, if this is the case, then the client side must download the program first, and tha...

Having trouble with Interactive Plane

I am having some trouble getting an interactive, animated plane created from a MovieClip in the Library to show any kind of animation or receive any mouse events. Specifically, I am having issues with the different states of Button instances in the MovieClip. Here's the basic code that I am testing with: private function init3D():voi...

Adding ToolTip to ViewPort3D child elements

Hi i would like to add Tool Tip to ViewPort3D child elements when i put my mouse over on it, Only viewPort3D has a tooltip property but not for their childs. Any way to work around it? ...

WPF 3D algorithm question: what model does it use?

Please refer to Wiki definitions about 3d modeling, what modeling algorithm WPF 3d use? Polygon or NURBS? Thanks Mike ...

Java 3D Arrow problem

I have the following Java class that draws a 3D arrow in space, but there are two problems,I don't quite know how to fix them. import javax.swing.*; import java.awt.Frame; import com.sun.j3d.utils.applet.MainFrame; import com.sun.j3d.utils.universe.*; import com.sun.j3d.utils.geometry.*; import javax.media.j3d.*; import javax.vecmath.*;...

How to quickly (easy to script) preview 3D vectors / lines?

I am busy reading 3D building models from a tool and thus generating a bunch of Line(p1, p2) objects, each consisting of two Point(x, y, z) objects. I would like to display these things in a simple 3D viewer, kind of like SVG (which, as I understand, only supports 2D). The reading is done in Python, specifically IronPython. I could use ...

Why does my off screen rendering Canvas3D not work?

I've been trying to make off screen rendering to work, using Java3D 1.5.2. In my source code I've been trying to attach an extended Canvas3D that will do off-screen rendering to SimpleUniverse, but doing so will break the render: 62. // FOR SOME REASON THIS BREAKS RENDERING 63. universe.getViewer().getView().addCanvas3D(canvas); The...

Recommended books for Direct3D programming

What good books are there for learning 3D graphics programming (DirectX 9) ? I'm also interested in a book about pixel/vertex shaders. I've done some 3D graphics about two years ago using WPF, but I don't think this would help much. I'm pretty good at C++ and optimization (assembler, SSE, metaprogramming), so I don't think this would be ...

How can I draw 3D model outlines on the iPhone? (OpenGL ES)

I've got a pretty simple situation that calls for something I don't know how to do without a stencil buffer (which is not supported on the iPhone). Basically, I've got a 3D model that gets drawn behind an image. I want an outline of that model to be drawn on top of it at all times. So when it's behind the image, you can see its outline,...

Connecting two planes in 3d

Hi, Given two planes positioned and rotated arbitrary to each other, I'm trying to determine which vertices should be connected. The image below (planes in black, connecting edges in red) illustrates two examples on how the planes might look: Comparing the distances between vertices won't work as the planes are not (necessarily) posi...

Is there a good interactive 3D graph library out there?

I'm looking for a library that will layout and display graphs (i.e. network diagrams, not charts) in 3D, with some interactivity like selecting and dragging nodes, rotating the display etc. I would like to do this in a web page so Javascript or Flash are preferable, I'd also consider Java. Having looked myself I realise the options are ...

3d widget in XULRunner application

Hi all, Does anyone have any experiences trying to include a 3d widget in a XULRunner application? One direction I've been trying is embedding a Java3d applet, but there seem to be a host of problems controlling that applet from the JS of the main application. Another possibility would be if there was some sort of javascript library usi...

two sets of 3d points

Hi everybody, I´ve got a question concerning two sets of points in a 3d space. I defined a volume by 40 coordinates in one cartesian coordinate system, in another coordinate system with different (0,0,0) i have s slightly different volume also defined by 40 coordinates. I know the matching pairs of the point sets and I want to measure t...

Looking for a book or website recommendation concerning radiosity rendering.

Looking for a book or website recommendation concerning radiosity rendering. I need something that a beginner can digest but is detailed enough that the reader could then actually implement something. ...

cp2tform for 3D point sets?

Hi everybody the matlab function cp2tform infers the transformation needed to match two point sets in a 2D space. Refering to my former question (Two sets of 3d points) does anyone know a similar function to infer the transformation for two points sets in 3(n) dimensional space????? Manually it would be an aproach like that http://www....

How to detect height of iPhone (for use in augmented reality game)?

I'm working on locating an iPhone device in 3D space. I can use lat/long to detect physical location, I can use the magnetometer to figure out the direction they're facing, and I might be able to use the accelerometer to figure out how their device is oriented, but I can't figure out a way to get height of the device off the floor. Spe...

What lightweight python library for simple scientific visualization in 3D

I am writing a program in python to experiment an academic idea. Look at a resultant image the program generates: The thick skeleton lines in the middle of the leaf is what need to be visualized. Every segment of the skeleton lines has a value associated with it, in the above image (drawn by pycairo), different shades of gray are us...

3d Realtime Software Renderer Open Source

Is there a good 3d realtime software renderer with features similar to OpenGL/DirectX? Something similar of what cairo or anti-grain do for 2d, but in 3d. I actually just know Mesa witch has a software OpenGL implementation , and Coco3d. It should be open source :) ...

Info for build the API for render in 3D Max/Maya/Blender, etc

I'm recollecting info for build a render farm manager. I have almost everything except the info about how actually render the image, in the best possible way. The project will be for use inside a gov agency and need, at least, support for 3D Max, maya, Blender. Will manage several dozens of 8 Cores/8 GIb of render nodes. This will be u...

XNA 3d physics engine

Hello, I am looking for a 3D physics engine for XNA. I heard of some options, but what I need is: free for commercial purposes (preferable open-source) support for rigid body dynamics support for per-polygon collision (this is very important) managed code - has to work on XBOX360 Have you used something like this? Can you recommend...