3d

how do I set a value for a ShapeKey in Blender Python ?

I've managed to insert Shape Keys from Python using: ob = Scene.GetCurrent().object.active; if(ob.activeShape == 0): ob.insertShapeKey() ob.insertShapeKey() Now how do I change a key value ? ...

Intersection of line segment with axis-aligned box in C#

I'm looking for an algorithm that determines the near and far intersection points between a line segment and an axis-aligned box. Here is my method definition: public static Point3D[] IntersectionOfLineSegmentWithAxisAlignedBox( Point3D rayBegin, Point3D rayEnd, Point3D boxCenter, Size3D boxSize) If the line segment doesn't inter...

Creating VR buildings

Hi - can anyone recommend a good framework/IDE for designing indoor spaces (e.g. shopping mall) and then adding moving objects to this VR space. I need a) A good GUI for designing the building (e.g. entering floor dimensions, wall structure types, stairs etc). I would be working from building architecture floor plans. b) An API that ...

Cross-platform graphics 3D with .NET

I'd like to program a .NET app that provides a 3D render of an animated world. I'm coding on a Windows PC, but many of my target audience will be on Linux. There are a bunch of frameworks out there that look useful, categorised into high and low level as best I can: Low Level Graphics OpenTK Tao Framework seems to have been supersed...

Away3D vs Sandy 3D and other Flash 3D Engines for Mobile

What are the pros and cons of various Flash 3D engines with regards to performance on mobile devices? Which do you prefer -- which have you tried (examples of apps developed) implementing on mobile devices? ...

How to create a windows 3D desktop application manager?

I want to create a 3d application desktop manager in C++. How do I go about making application render to a 3D surface, like OpenGL or DirectX, for example? Any API, information or links would be helpful since I've scoured the net and can't find any information on this. ...

How to render Mandelbulb-style 3D fractals

I'm interested in experimenting with equations for 3D fractals (a la Mandelbulb). Does anyone know of a framework that will allow me to supply a 3-coordinate, Mandelbrot-style function, identifying a point as being contained or not contained within a set, and render the surface form of the resulting set in 3D? Obviously, a solution tha...

How to begin creating 3D (Game-) GUIs for Android Applications (e.g. with OpenGL)?

I am new to Android Development. What I want is to know how I have to begin thinking to program a neat, sexy GUI. I guess the android.opengl API is a good starting point. Let's say we wanna create something like a simplified 3D-Pool-Billard-Game: You see the table from the top and you have on the table the balls. You want to make them r...

OpenGL Newbie - Best way to move objects about in a scene

I'm new to OpenGL and graphics programming in general, though I've always been interested in the topic so have a grounding in the theory. What I'd like to do is create a scene in which a set of objects move about. Specifically, they're robotic soccer players on a field. The objects are: The lighting, field and goals, which don't cha...

displaying 3d models in WPF

I would like to display a 3d model in a WPF application (the model is prepared in an external tool such as blender). What is the best practice? Are there any tools to facilitate this? How about rotation/transform performance? ...

Display Browsable 3D models in Browser

Statement: I have a 3D model ready in Google SketchUp Pro. Problem Statement: I need to display the model in a webpage. I need the model to be browsable (The user can navigate his way through it like on Google Earth) I need the model to be update-able (If I update something in SketchUp, I should be able to easily port changes till the...

WPF FlowDocument, Viewport3D, Adobe 3D PDF

Hello everybody, In my little test application i created a FlowDocument instance and added a simple Paragraph containing some text. In the second step i added a BlockUIContainer containing a Viewport3D to the FlowDocument and some more text. It all displays well. I can display the FlowDocument inside a FlowDocumentReader and see the t...

Recommend a good book for learning 3d graphics programming/maths?

Hi there, I'd like to start delving into 3d graphical coding but don't really have the requisite mathematical background, I was wondering if anyone might be able to recommend a good book that teaches the maths in a manner that's designed for someone new to the topic. I'd appreciate any suggestions, thanks in advance. ...

What are the open source software that i can use to develop interior design software?

I need to develop an interior designing software :) Much like a virtual room designing software. There will be pre-designed 3D objects and they can dragged on to the room. You can change the room size etc... Much like a conventional home designing software :) After the room is designed i should be able to to make the user walk through...

EAGLContext not work on openGLES 1 iphone os

Hello, i have a 3D project based on the EAGLView exemple from Apple. I have a very stange bug with the context ( i think ), my context is create by using : [context renderbufferStorage:GL_RENDERBUFFER_OES fromDrawable:(CAEAGLLayer*)self.layer]; on init the 3D view it's work, and on layout subview, my frameBuffer is destroy an crea...

Color Remapping - Matching target palette using a 3D grid?

Let's say I have color 'FOO', and it is stored in RGB format. I need to recolor 'FOO' so it matches the closest color in a list of colors. Doing this on the fly, couldn't I view the RGB values from each color as points on a 3D grid (r=x, g=y, b=z) and compute the distance between point 'FOO' vs the points from each color in the list? ...

Calculating 3d plane for two 3d vectors

If I have two vector coordinates representing positions on the surface of the earth where the center of the earth is (0,0,0) and the Up vector is (0,0,1); What is the best way to calculate a 3d plane that is running along the two vectors (the direction v2 - v1) but back by a set number of meters (just imagine a virtual clip plane that i...

library for representing 3D polyhedra

Are there any libraries that provide 3D polyhedra, and support calculating the intersection of two polyhedra? If it makes a difference, the polyhedra I want to model do not have 'holes' in them. The focus would be on correctness first and speed a close second! Ideally this library would: have existing tidy python bindings be free-st...

Binding a slider to a non UI transform3DGroup

Hi, i have created a viewer that generates a mesh from a separate file. In this viewer I would like to be able to scale the mesh with a transform based on three sliders (x,y,z). If i have the transform in the window-class everything goes well, the bindings in that case are as followed (slideX being the slider in XAML, width/height = sc...

How to calculate the direction the screen is facing

How do you calculate the direction that your camera is pointing towards in Android? Azimuth works only if the device is vertical. How do you account for the pitch and roll? If R is the rotation matrix, I want to find something like: getRotationMatrix(R, I, grav, mag); float[] rotated = R {0, 0, -1} ; //not sure how to do matrix multip...