3d

Applying in-place tranformations to 3D Model in WPF

I have a simple 3D cube that I can rotate using the following code: void mui3D_MouseDown(object sender, System.Windows.Input.MouseButtonEventArgs e) { RotateTransform3D rotation = new RotateTransform3D(new AxisAngleRotation3D(new Vector3D(0, 1, 0), 0), mui.Model.Bounds.Location); DoubleAnimation rotateAnim = ne...

Getting flash.geom.Matrix3D rawData without requiring a Vector.<Number> allocation

Getting the "rawData" property from an instance of flash.geom.Matrix3D (a new class in Flash 10 for high-level 3D matrix math) causes a Vector. (also specific to Flash 10) object allocation to occur. Is there any way to access the raw data without incurring this object allocation overhead? Since I must access this data multiple times pe...

Projecting a 3D point to a 2D screen coordinate

Based on information in Chapter 7 of 3D Programming For Windows (Charles Petzold), I've attempted to write as helper function that projects a Point3D to a standard 2D Point that contains the corresponding screen coordinates (x,y): public Point Point3DToScreen2D(Point3D point3D,Viewport3D viewPort ) { double screenX = 0d, screenY = 0...

Beginner's guide to 3D graphics programming

What are the best guides / tutorials / books / websites for someone with minimal experience (or none) in the world of 3D graphics programming? I realize that the fundamentals of 3D graphics and mathematics apply across platform specific 3D library implementations such as OpenGL, DirectX, WPF etc.. Therefore it would be useful if answer...

Any recommendations for a PDF 3D SDK with C++ interface

I'm on the look out for a Cor C++ library / SDK that will allow me to either write a 3d PDF directly, or convert a DXF or DWG into a 3D PDF. So far I have come up with the PDF3d library which fits the bill, but is reasonably costly and has an expensive per user run time license. I don't mind a reasonable SDK cost, but the per seat cost...

Use fov and center pan and tilt values to calculate boundary's pan and tilt?

I have the current fov and the center pan and tilt values. How would I calculate what the pan and tilt values are of the edges(i.e. min pan value and max tilt) with this information? ...

Slicing a NURBS surface

I have a NURBS surface which has 4 curved edges. (I have the 4 bezier points for the curves) I'd like to slice the NURBS surface with a slicing-plane thats on-axis (not as advanced as 3DSMAX!), and calculate a curve where the slicing-plane and NURBS surface intersects. ...

3D scene-graph library for Java?

I'm looking for a reliable 3D scenegraph API for Java with good documentation, an active community and a license that allows for commercial use. I ruled out com.sun.scenegraph because it's GPL (and seemingly dead), Java3D because of this post and JMonkeyEngine because of this post. Any ideas? ...

Loading a model into a half-edge data structure from a .PLY file

I am attempting to build a .PLY parser to load 3d models stored as .ply files into a half edge data structure mesh. Sorry for the huge question, I'm very verbose and I wanted to make sure I laid out all the details. Because of this, I'll restate my ultimate goals immediately, just so users can see can get an idea of what i want before ...

Open source software for building/designing a house?

Are there any open source tools for building or designing houses? Does it have many features, like calculating costs or simulating extreme weather conditions/aging, etc? I had the idea to start up a project like this, or join it; I think it would be really neat, but I couldn't find anything on it. ...

Which 3D Model format should I be using?

Im writing a game engine and I'm wondering what 3D model format should I use/load/export? Obj seems universal and easy but it also appears to be unreliable in that most models out there contain errors and it doesn't store anywhere near as much as other formats. There appear to be formats specifically for games such as MD2/3/5 but Im not...

Calculate the horizon of a curved face?

I need to find the 2 points of the visual horizon, of a curved face. I have: XYZ of the 4 corner points XYZ of the 2 curved edge bezier points And I need to calculate either: XY of the horizon points XYZ of the horizon points See the image below. ...

Calculate the horizon of a curved face? - Not extrema

I need to find the 2 points of the visual horizon, of a curved face. I have: XYZ of the 4 corner points XYZ of the 2 curved edge bezier points And I need to calculate either: XY of the 2 horizon points XYZ of the 2 horizon points Note: I got a solution the last time I asked this question, but it only found the extrema of the c...

The good 3D GUI engine

I know WPF is one of good 3D GUI engine, but I want to know other good 3D GUI engines? ...

What do I have to learn to get done with a 3D racing game for the iPhone? What Tools do I need?

I know Java pretty well. I know now most of the Basics in Objective-C. I know nothing about Photoshop. I know how to use TurboCAD 10 Professional, so I do have some experience in 3D object modelling. Although not much. What do I have to learn step-by-step, to come to 3D game Development for iPhone? What Tools do I need? Which Books help...

Using 3d transformation matrices

In an AI class we have a robot that has an arm with 7 joints. Each joint can rotate a different direction. I need to know where the very end is going to be. I've been trying to do 3d matrix multiplication and it works for one joint but once I add in another it doesn't line up with a model I made using the Java3D api. This is how I'm ...

What does matrix*vector mean in contrast to vector*matrix

if I do positionVector*worldMatrix the position is transformed into world space. But what happens if I do it the other way around (worldMatrix*positionVector) in terms of 3d space? I noticed the result is different to the first one. I already googled about matrix, math they explain a lot but not this one, at least I couldn't find it. ...

3 dimension GiS data with django and postgis

I could use a third dimension in my current project, which strongly involves google-maps and django. How do I deal with this? class Waypoint(models.Model): latlng = models.PointField() >>> p = Point( 5, 10, 20) <Point object at Ox...> >>> p.kml '<Point><coordinates>5.0,10.0,20.0</coordinates></Point>' >>> w = Waypoint.objects.all(...

Recommended 3D model type for in-game character model, loaded manually?

I'm writing a game in JOGL and need to represent the in-game character. I plan to use skeletal animation for the character movements, and of course the character will be skinned. I can't seem to find any good model loaders for JOGL so I plan to load the filetype myself, based on specs or something. I also plan to use Blender as my 3D mod...

About 3D effect in WPF

I'm developing WPF SW, and I see the 3D effect is very slow if we did it in XAML file, I want to know if there is a book which introduce how to do 3D effect in WPF? Thanks in advace. ...