I been working on a space sim for sometime now.
At first I was using my own 3d engine with software rasterizer.
But I gave up when the time for implementing textures was due.
Now I started again after sometime and now I'm using Opengl (with SDL) instead to render the 3d models.
But now I hit another brick wall.
I can't figure out how ...
Hi all,
I'm looking for the mathematical expression converting a 3D coordinate (x0,y0,z0) to a 2D (x1,y1) coordinate in a curvilinear perspective of radius R where the values of x1 and y1 are the angles of views {-90° .. +90°} of the original point.
(image via http://www.ntua.gr/arch/geometry/mbk/histor.htm )
Thanks !
...
I making a very simple 3d scene, having 5 points in world coordinates. I'd like to navigate across the scene so I'm defining a camera with both an UP and OUT vector. With this information I generate a rotation matrix in every frame, which I'll apply to the vectors in order to get the camera coordinates.
The question is: I've read about ...
The recent SIGGRAPH 2009 saw the announcement of WebGL - a port of OpenGL ES to javascript.
The application that immediately came to my mind is web-based 3D first person shooters with AJAX as basis for communication.
I think this has the potential to answer the long awaited promise set forth by VRML a long long time ago...
Can you thi...
One thing I always shy away from is 3d graphics programming, so I've decided to take on a project working with 3d graphics for a learning experience. I would like to do this project in Linux.
I want to write a simple 3d CAD type program. Something that will allow the user to manipulate objects in 3d space. What is the best environment ...
How do I find the side length of a cross-section (as illustrated in
the drawing below - cross-section in
red) of a pyramid frustum/truncated pyramid?
I know the side-lengths of the top and bottom base, the height of the
frustum and the distance to the cross-section. Furthermore I know the
top and bottom base are parallel and that the ...
I need to calculate the 2 angles (yaw and pitch) for a 3D object to face an arbitrary 3D point. These rotations are known as "Euler" rotations simply because after the first rotation, (lets say Z, based on the picture below) the Y axis also rotates with the object.
This is the code I'm using but its not working fully. When on the groun...
I am looking for a way to convert a .obj file of Lightwave 3D to a .h file for iPhone. I looked around and has seen several scripts that can generate .h files for you, but all of them cannot understand Lightwave 3D .obj format. If anyone appears to know some sort of methods that can translate lightwave 3d .obj files to .h file, please sh...
I want to draw a normal graph with some vertexes and edges in 3D WPF.
That means vertexes are going to be a Spheres and edges are going to be a Cylinders.
I want to draw some of the Spheres first and then connect those with Cylinders. I am able to draw the Spheres and Cylinders separately in a free space using the examples in Practical ...
I have a set of 3 dimensional points. I want a quick query of the k nearest neighbours of any of these points. I know that a usual way of doing this is oct-tree, however I think that with the below described data structure the query would be much faster.
I want a minimal graph on the points as vertices, which have the following proper...
I create fullscreen interactive demos in Flash and have recently been looking to migrate to a new language. My Flash demos are basically software prototypes and operate in a projector EXE, outside of the browser. I want to leave Flash for a variety of reasons, including:
Poor quality control in the Flash player
Hardware acceleration is...
Hi ..
I draw two spheres in 3d WPF which has points like
Point3D(0,0,0) and Point3D(-1.0,1.0,2.0) with the radius is 0.10
Now i want to draw a Cylinder joining these spheres, the only thing i have for this is radius 0.02. I want to know how to calculate the 3d point, height, direction etc for this cylinder.
I tried by finding the ...
I'd like to create a Photosynth like experience that allows a user to navigate around a virtual environment from a collection of many pictures. For this project I'm limited to using WPF / .NET to create the application. Ideally I'd like a Photosynth component that I could drop in my application - is anything like that available?
...
In flash10 I can easly rotate an image around its center in 3D space.
The flash10 example I have is at http://jsc.sourceforge.net/examples/web/MatrixStuffExample/Application.htm
I want to port this example to WPF.
Is there an example how to do such 3D transformation in WPF within C# without XAML?
In silverlight 3 you'd be using Matr...
For a level generator for a computer game, I need a way to programmatically render a 3D scene. To be more precise, I don't mean 3D-APIs like OpenGL or Direct3D, the scene shouldn't be rendered at runtime of the game, but rather the scene should be rendered off-line for later use.
I know of RenderMan, but I'd be interested if there are o...
I am looking to implement a 3D model viewer in my application. The application uses a series of interlinked plug-in objects, with user attributes, to contribute to the 3D form. (Basically a parametric design tool).
The plug-ins must communicate via a common, simple, protocol as they may also be user contributed and so I am looking for ...
I wrote a very simple newbie app with a 6-sided polyhedron (a "box") which rotates 180 degrees when I click a button. and then rotates back again on the next click. Every rotation grabs another 90MB and it doesn't let go until I close the app. The box is defined in the XAML. The Storyboard, DoubleAnimation and PropertyPath, etc, ar...
I'm trying to export animation from blender, here's what I've done so far:
--- This is just to give you an idea of what I'm doing and I've left out a lot to keep it short.
--- If it's too confusing or if it's needed I could post the whole source.
# Get the armature
arm = ob.getData()
# Start at the root bone
for bone in bones:
...
How do I begin developing J2ME games for mobile phones?
Are any libraries available that can render pixel fonts for text? - for text games
Are 2D graphic libraries available that can draw animated bitmaps? - for isometric and tiled games
Any are 3D engines available with texture mapping & lighting? -- for racing and flying simulators
...
I draw two spheres in 3d WPF which has points like Point3D(0,0,0) and Point3D(-1.0,1.0,2.0) with the radius is 0.10
Now i want to draw a Cylinder joining these spheres, the only thing i have for this is radius 0.02. I want to know how to calculate the 3d point, height, direction etc for this cylinder.
I tried by finding the midpoint bt...